Class Github\Api\Enterprise\ManagementConsole

InheritanceGithub\Api\Enterprise\ManagementConsole » Github\Api\AbstractApi
ImplementsGithub\Api\ApiInterface

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() Github\Api\AbstractApi
configcheck() Checks the status of your installation’s most recent configuration process. Github\Api\Enterprise\ManagementConsole
configure() Github\Api\AbstractApi
getPerPage() Github\Api\AbstractApi
keys() Retrieves your installation’s authorized SSH keys. Github\Api\Enterprise\ManagementConsole
maintenance() Checks your installation’s maintenance status. Github\Api\Enterprise\ManagementConsole
setPerPage() Github\Api\AbstractApi
settings() Retrieves your installation’s settings. Github\Api\Enterprise\ManagementConsole

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
getWithLicenseHash() Sends an authenticated GET request. Github\Api\Enterprise\ManagementConsole
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

configcheck() public method

Checks the status of your installation’s most recent configuration process.

public array configcheck ( $hash )
$hash string

Md5 hash of your license

return array

Array of configuration status information

getWithLicenseHash() protected method

Sends an authenticated GET request.

protected Guzzle\Http\EntityBodyInterface|mixed|string getWithLicenseHash ( $uri, $hash )
$uri string

The request URI

$hash string

Md5 hash of your license

keys() public method

Retrieves your installation’s authorized SSH keys.

public array keys ( $hash )
$hash string

Md5 hash of your license

return array

Array of authorized keys

maintenance() public method

Checks your installation’s maintenance status.

public array maintenance ( $hash )
$hash string

Md5 hash of your license

return array

Array of maintenance status information

settings() public method

Retrieves your installation’s settings.

public array settings ( $hash )
$hash string

Md5 hash of your license

return array

Array of settings