Class Github\Api\Organization

InheritanceGithub\Api\Organization » Github\Api\AbstractApi
ImplementsGithub\Api\ApiInterface

Getting organization information and managing authenticated organization account information.

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
createJsonBody() Create a JSON encoded version of an array of parameters. Github\Api\AbstractApi
delete() Send a DELETE request with JSON-encoded parameters. Github\Api\AbstractApi
get() Send a GET request with query parameters. Github\Api\AbstractApi
head() Send a HEAD request with query parameters. Github\Api\AbstractApi
patch() Send a PATCH request with JSON-encoded parameters. Github\Api\AbstractApi
post() Send a POST request with JSON-encoded parameters. Github\Api\AbstractApi
postRaw() Send a POST request with raw data. Github\Api\AbstractApi
put() Send a PUT request with JSON-encoded parameters. Github\Api\AbstractApi

Method Details

hooks() public method

public Github\Api\Organization\Hooks hooks ( )
issues() public method

public array issues ( $organization, array $params = [], $page 1 )
$organization
$params array
$page int
members() public method

public Github\Api\Organization\Members members ( )
repositories() public method

List all repositories across all the organizations that you can access.

public array repositories ( $organization, $type 'all' )
$organization string

The user name

$type string

The type of repositories

return array

The repositories

show() public method

Get extended information about an organization by its name.

public array show ( $organization )
$organization string

The organization to show

return array

Informations about the organization

teams() public method

public Github\Api\Organization\Teams teams ( )
update() public method

public void update ( $organization, array $params )
$organization
$params