Non-Blocking first GitHub AE client, this is a read only sub split, see github-root
for the root package.
use React\Http\Browser;
use ApiClients\Client\GitHubAE\BearerToken;
use ApiClients\Client\GitHubAE\Client;
use function React\Async\async;
$client = new Client(new BearerToken('YOUR_TOKEN_HERE'), new Browser());
// The client is using react/async internally to provide a non-promise API.
// As such you're expected to use it inside a fiber, the async call here is
// added to demonstrate and documented that requirement. The rest of the
// examples assume you have already wrapped in a fiber 0 or more levels up
// in your code such as a command bus executer or your HTTP server.
async(static function () {
// Make API calls using the call method
$client->call('METHOD /path/to/{the}/operation', ['array' => 'with', 'paramters' => 'for', 'the' => 'operation']);
// Make API calls using the operations objects
$client->operations()->group()->operation(array: 'with', paramters: 'for', the: 'operation');
})();
GitHub API Root
Using the call
method:
$client->call('GET /');
Operations method:
$client->operations()->meta()->root();
You can find more about this operation over at the API method documentation.
List global webhooks
Using the call
method:
$client->call('GET /admin/hooks', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->enterpriseAdmin()->listGlobalWebhooks( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List global webhooks
Using the call
method:
$client->call('LIST /admin/hooks', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->enterpriseAdmin()->listGlobalWebhooksListing( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a global webhook
Using the call
method:
$client->call('POST /admin/hooks');
Operations method:
$client->operations()->enterpriseAdmin()->createGlobalWebhook();
You can find more about this operation over at the API method documentation.
Get a global webhook
Using the call
method:
$client->call('GET /admin/hooks/{hook_id}', [
'hook_id' => 7,
]);
Operations method:
$client->operations()->enterpriseAdmin()->getGlobalWebhook( hook_id: 7,
);
You can find more about this operation over at the API method documentation.
Delete a global webhook
Using the call
method:
$client->call('DELETE /admin/hooks/{hook_id}', [
'hook_id' => 7,
]);
Operations method:
$client->operations()->enterpriseAdmin()->deleteGlobalWebhook( hook_id: 7,
);
You can find more about this operation over at the API method documentation.
Update a global webhook
Using the call
method:
$client->call('PATCH /admin/hooks/{hook_id}', [
'hook_id' => 7,
]);
Operations method:
$client->operations()->enterpriseAdmin()->updateGlobalWebhook( hook_id: 7,
);
You can find more about this operation over at the API method documentation.
Ping a global webhook
Using the call
method:
$client->call('POST /admin/hooks/{hook_id}/pings', [
'hook_id' => 7,
]);
Operations method:
$client->operations()->enterpriseAdmin()->pingGlobalWebhook( hook_id: 7,
);
You can find more about this operation over at the API method documentation.
List public keys
Using the call
method:
$client->call('GET /admin/keys', [
'since' => 'generated',
'per_page' => 8,
'page' => 1,
'direction' => 'generated',
'sort' => 'generated',
]);
Operations method:
$client->operations()->enterpriseAdmin()->listPublicKeys( since: 'generated',
per_page: 8,
page: 1,
direction: 'generated',
sort: 'generated',
);
You can find more about this operation over at the API method documentation.
List public keys
Using the call
method:
$client->call('LIST /admin/keys', [
'since' => 'generated',
'per_page' => 8,
'page' => 1,
'direction' => 'generated',
'sort' => 'generated',
]);
Operations method:
$client->operations()->enterpriseAdmin()->listPublicKeysListing( since: 'generated',
per_page: 8,
page: 1,
direction: 'generated',
sort: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete a public key
Using the call
method:
$client->call('DELETE /admin/keys/{key_ids}', [
'key_ids' => 'generated',
]);
Operations method:
$client->operations()->enterpriseAdmin()->deletePublicKey( key_ids: 'generated',
);
You can find more about this operation over at the API method documentation.
Create an organization
Using the call
method:
$client->call('POST /admin/organizations');
Operations method:
$client->operations()->enterpriseAdmin()->createOrg();
You can find more about this operation over at the API method documentation.
Update an organization name
Using the call
method:
$client->call('PATCH /admin/organizations/{org}', [
'org' => 'generated',
]);
Operations method:
$client->operations()->enterpriseAdmin()->updateOrgName( org: 'generated',
);
You can find more about this operation over at the API method documentation.
List pre-receive environments
Using the call
method:
$client->call('GET /admin/pre-receive-environments', [
'per_page' => 8,
'page' => 1,
'direction' => 'generated',
'sort' => 'generated',
]);
Operations method:
$client->operations()->enterpriseAdmin()->listPreReceiveEnvironments( per_page: 8,
page: 1,
direction: 'generated',
sort: 'generated',
);
You can find more about this operation over at the API method documentation.
List pre-receive environments
Using the call
method:
$client->call('LIST /admin/pre-receive-environments', [
'per_page' => 8,
'page' => 1,
'direction' => 'generated',
'sort' => 'generated',
]);
Operations method:
$client->operations()->enterpriseAdmin()->listPreReceiveEnvironmentsListing( per_page: 8,
page: 1,
direction: 'generated',
sort: 'generated',
);
You can find more about this operation over at the API method documentation.
Create a pre-receive environment
Using the call
method:
$client->call('POST /admin/pre-receive-environments');
Operations method:
$client->operations()->enterpriseAdmin()->createPreReceiveEnvironment();
You can find more about this operation over at the API method documentation.
Get a pre-receive environment
Using the call
method:
$client->call('GET /admin/pre-receive-environments/{pre_receive_environment_id}', [
'pre_receive_environment_id' => 26,
]);
Operations method:
$client->operations()->enterpriseAdmin()->getPreReceiveEnvironment( pre_receive_environment_id: 26,
);
You can find more about this operation over at the API method documentation.
Delete a pre-receive environment
Using the call
method:
$client->call('DELETE /admin/pre-receive-environments/{pre_receive_environment_id}', [
'pre_receive_environment_id' => 26,
]);
Operations method:
$client->operations()->enterpriseAdmin()->deletePreReceiveEnvironment( pre_receive_environment_id: 26,
);
You can find more about this operation over at the API method documentation.
Update a pre-receive environment
Using the call
method:
$client->call('PATCH /admin/pre-receive-environments/{pre_receive_environment_id}', [
'pre_receive_environment_id' => 26,
]);
Operations method:
$client->operations()->enterpriseAdmin()->updatePreReceiveEnvironment( pre_receive_environment_id: 26,
);
You can find more about this operation over at the API method documentation.
Start a pre-receive environment download
Using the call
method:
$client->call('POST /admin/pre-receive-environments/{pre_receive_environment_id}/downloads', [
'pre_receive_environment_id' => 26,
]);
Operations method:
$client->operations()->enterpriseAdmin()->startPreReceiveEnvironmentDownload( pre_receive_environment_id: 26,
);
You can find more about this operation over at the API method documentation.
Start a pre-receive environment download
Using the call
method:
$client->call('STREAM /admin/pre-receive-environments/{pre_receive_environment_id}/downloads', [
'pre_receive_environment_id' => 26,
]);
Operations method:
$client->operations()->enterpriseAdmin()->startPreReceiveEnvironmentDownloadStreaming( pre_receive_environment_id: 26,
);
You can find more about this operation over at the API method documentation.
Get the download status for a pre-receive environment
Using the call
method:
$client->call('GET /admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest', [
'pre_receive_environment_id' => 26,
]);
Operations method:
$client->operations()->enterpriseAdmin()->getDownloadStatusForPreReceiveEnvironment( pre_receive_environment_id: 26,
);
You can find more about this operation over at the API method documentation.
Get the download status for a pre-receive environment
Using the call
method:
$client->call('STREAM /admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest', [
'pre_receive_environment_id' => 26,
]);
Operations method:
$client->operations()->enterpriseAdmin()->getDownloadStatusForPreReceiveEnvironmentStreaming( pre_receive_environment_id: 26,
);
You can find more about this operation over at the API method documentation.
List personal access tokens
Using the call
method:
$client->call('GET /admin/tokens', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->enterpriseAdmin()->listPersonalAccessTokens( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List personal access tokens
Using the call
method:
$client->call('LIST /admin/tokens', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->enterpriseAdmin()->listPersonalAccessTokensListing( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Delete a personal access token
Using the call
method:
$client->call('DELETE /admin/tokens/{token_id}', [
'token_id' => 8,
]);
Operations method:
$client->operations()->enterpriseAdmin()->deletePersonalAccessToken( token_id: 8,
);
You can find more about this operation over at the API method documentation.
Delete a user
Using the call
method:
$client->call('DELETE /admin/users/{username}', [
'username' => 'generated',
]);
Operations method:
$client->operations()->enterpriseAdmin()->deleteUser( username: 'generated',
);
You can find more about this operation over at the API method documentation.
Create an impersonation OAuth token
Using the call
method:
$client->call('POST /admin/users/{username}/authorizations', [
'username' => 'generated',
]);
Operations method:
$client->operations()->enterpriseAdmin()->createImpersonationOAuthToken( username: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete an impersonation OAuth token
Using the call
method:
$client->call('DELETE /admin/users/{username}/authorizations', [
'username' => 'generated',
]);
Operations method:
$client->operations()->enterpriseAdmin()->deleteImpersonationOAuthToken( username: 'generated',
);
You can find more about this operation over at the API method documentation.
Get the authenticated app
Using the call
method:
$client->call('GET /app');
Operations method:
$client->operations()->apps()->getAuthenticated();
You can find more about this operation over at the API method documentation.
Create a GitHub App from a manifest
Using the call
method:
$client->call('POST /app-manifests/{code}/conversions', [
'code' => 'generated',
]);
Operations method:
$client->operations()->apps()->createFromManifest( code: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a webhook configuration for an app
Using the call
method:
$client->call('GET /app/hook/config');
Operations method:
$client->operations()->apps()->getWebhookConfigForApp();
You can find more about this operation over at the API method documentation.
Update a webhook configuration for an app
Using the call
method:
$client->call('PATCH /app/hook/config');
Operations method:
$client->operations()->apps()->updateWebhookConfigForApp();
You can find more about this operation over at the API method documentation.
List deliveries for an app webhook
Using the call
method:
$client->call('GET /app/hook/deliveries', [
'cursor' => 'generated',
'redelivery' => ,
'per_page' => 8,
]);
Operations method:
$client->operations()->apps()->listWebhookDeliveries( cursor: 'generated',
redelivery: ,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
Get a delivery for an app webhook
Using the call
method:
$client->call('GET /app/hook/deliveries/{delivery_id}', [
'delivery_id' => 11,
]);
Operations method:
$client->operations()->apps()->getWebhookDelivery( delivery_id: 11,
);
You can find more about this operation over at the API method documentation.
Redeliver a delivery for an app webhook
Using the call
method:
$client->call('POST /app/hook/deliveries/{delivery_id}/attempts', [
'delivery_id' => 11,
]);
Operations method:
$client->operations()->apps()->redeliverWebhookDelivery( delivery_id: 11,
);
You can find more about this operation over at the API method documentation.
List installation requests for the authenticated app
Using the call
method:
$client->call('GET /app/installation-requests', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->apps()->listInstallationRequestsForAuthenticatedApp( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List installation requests for the authenticated app
Using the call
method:
$client->call('LIST /app/installation-requests', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->apps()->listInstallationRequestsForAuthenticatedAppListing( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List installations for the authenticated app
Using the call
method:
$client->call('GET /app/installations', [
'since' => '1970-01-01T00:00:00+00:00',
'outdated' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->apps()->listInstallations( since: '1970-01-01T00:00:00+00:00',
outdated: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List installations for the authenticated app
Using the call
method:
$client->call('LIST /app/installations', [
'since' => '1970-01-01T00:00:00+00:00',
'outdated' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->apps()->listInstallationsListing( since: '1970-01-01T00:00:00+00:00',
outdated: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get an installation for the authenticated app
Using the call
method:
$client->call('GET /app/installations/{installation_id}', [
'installation_id' => 15,
]);
Operations method:
$client->operations()->apps()->getInstallation( installation_id: 15,
);
You can find more about this operation over at the API method documentation.
Delete an installation for the authenticated app
Using the call
method:
$client->call('DELETE /app/installations/{installation_id}', [
'installation_id' => 15,
]);
Operations method:
$client->operations()->apps()->deleteInstallation( installation_id: 15,
);
You can find more about this operation over at the API method documentation.
Create an installation access token for an app
Using the call
method:
$client->call('POST /app/installations/{installation_id}/access_tokens', [
'installation_id' => 15,
]);
Operations method:
$client->operations()->apps()->createInstallationAccessToken( installation_id: 15,
);
You can find more about this operation over at the API method documentation.
Suspend an app installation
Using the call
method:
$client->call('PUT /app/installations/{installation_id}/suspended', [
'installation_id' => 15,
]);
Operations method:
$client->operations()->apps()->suspendInstallation( installation_id: 15,
);
You can find more about this operation over at the API method documentation.
Unsuspend an app installation
Using the call
method:
$client->call('DELETE /app/installations/{installation_id}/suspended', [
'installation_id' => 15,
]);
Operations method:
$client->operations()->apps()->unsuspendInstallation( installation_id: 15,
);
You can find more about this operation over at the API method documentation.
Delete an app authorization
Using the call
method:
$client->call('DELETE /applications/{client_id}/grant', [
'client_id' => 'generated',
]);
Operations method:
$client->operations()->apps()->deleteAuthorization( client_id: 'generated',
);
You can find more about this operation over at the API method documentation.
Check a token
Using the call
method:
$client->call('POST /applications/{client_id}/token', [
'client_id' => 'generated',
]);
Operations method:
$client->operations()->apps()->checkToken( client_id: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete an app token
Using the call
method:
$client->call('DELETE /applications/{client_id}/token', [
'client_id' => 'generated',
]);
Operations method:
$client->operations()->apps()->deleteToken( client_id: 'generated',
);
You can find more about this operation over at the API method documentation.
Reset a token
Using the call
method:
$client->call('PATCH /applications/{client_id}/token', [
'client_id' => 'generated',
]);
Operations method:
$client->operations()->apps()->resetToken( client_id: 'generated',
);
You can find more about this operation over at the API method documentation.
Reset an authorization
Using the call
method:
$client->call('POST /applications/{client_id}/tokens/{access_token}', [
'client_id' => 'generated',
'access_token' => 'generated',
]);
Operations method:
$client->operations()->apps()->resetAuthorization( client_id: 'generated',
access_token: 'generated',
);
You can find more about this operation over at the API method documentation.
Get an app
Using the call
method:
$client->call('GET /apps/{app_slug}', [
'app_slug' => 'generated',
]);
Operations method:
$client->operations()->apps()->getBySlug( app_slug: 'generated',
);
You can find more about this operation over at the API method documentation.
Get all codes of conduct
Using the call
method:
$client->call('GET /codes_of_conduct');
Operations method:
$client->operations()->codesOfConduct()->getAllCodesOfConduct();
You can find more about this operation over at the API method documentation.
Get a code of conduct
Using the call
method:
$client->call('GET /codes_of_conduct/{key}', [
'key' => 'generated',
]);
Operations method:
$client->operations()->codesOfConduct()->getConductCode( key: 'generated',
);
You can find more about this operation over at the API method documentation.
Get emojis
Using the call
method:
$client->call('GET /emojis');
Operations method:
$client->operations()->emojis()->get();
You can find more about this operation over at the API method documentation.
Get the global announcement banner
Using the call
method:
$client->call('GET /enterprise/announcement');
Operations method:
$client->operations()->enterpriseAdmin()->getAnnouncement();
You can find more about this operation over at the API method documentation.
Remove the global announcement banner
Using the call
method:
$client->call('DELETE /enterprise/announcement');
Operations method:
$client->operations()->enterpriseAdmin()->removeAnnouncement();
You can find more about this operation over at the API method documentation.
Set the global announcement banner
Using the call
method:
$client->call('PATCH /enterprise/announcement');
Operations method:
$client->operations()->enterpriseAdmin()->setAnnouncement();
You can find more about this operation over at the API method documentation.
Get license information
Using the call
method:
$client->call('GET /enterprise/settings/license');
Operations method:
$client->operations()->enterpriseAdmin()->getLicenseInformation();
You can find more about this operation over at the API method documentation.
Get all statistics
Using the call
method:
$client->call('GET /enterprise/stats/all');
Operations method:
$client->operations()->enterpriseAdmin()->getAllStats();
You can find more about this operation over at the API method documentation.
Get comment statistics
Using the call
method:
$client->call('GET /enterprise/stats/comments');
Operations method:
$client->operations()->enterpriseAdmin()->getCommentStats();
You can find more about this operation over at the API method documentation.
Get gist statistics
Using the call
method:
$client->call('GET /enterprise/stats/gists');
Operations method:
$client->operations()->enterpriseAdmin()->getGistStats();
You can find more about this operation over at the API method documentation.
Get hooks statistics
Using the call
method:
$client->call('GET /enterprise/stats/hooks');
Operations method:
$client->operations()->enterpriseAdmin()->getHooksStats();
You can find more about this operation over at the API method documentation.
Get issue statistics
Using the call
method:
$client->call('GET /enterprise/stats/issues');
Operations method:
$client->operations()->enterpriseAdmin()->getIssueStats();
You can find more about this operation over at the API method documentation.
Get milestone statistics
Using the call
method:
$client->call('GET /enterprise/stats/milestones');
Operations method:
$client->operations()->enterpriseAdmin()->getMilestoneStats();
You can find more about this operation over at the API method documentation.
Get organization statistics
Using the call
method:
$client->call('GET /enterprise/stats/orgs');
Operations method:
$client->operations()->enterpriseAdmin()->getOrgStats();
You can find more about this operation over at the API method documentation.
Get pages statistics
Using the call
method:
$client->call('GET /enterprise/stats/pages');
Operations method:
$client->operations()->enterpriseAdmin()->getPagesStats();
You can find more about this operation over at the API method documentation.
Get pull request statistics
Using the call
method:
$client->call('GET /enterprise/stats/pulls');
Operations method:
$client->operations()->enterpriseAdmin()->getPullRequestStats();
You can find more about this operation over at the API method documentation.
Get repository statistics
Using the call
method:
$client->call('GET /enterprise/stats/repos');
Operations method:
$client->operations()->enterpriseAdmin()->getRepoStats();
You can find more about this operation over at the API method documentation.
Get users statistics
Using the call
method:
$client->call('GET /enterprise/stats/users');
Operations method:
$client->operations()->enterpriseAdmin()->getUserStats();
You can find more about this operation over at the API method documentation.
Get GitHub Actions permissions for an enterprise
Using the call
method:
$client->call('GET /enterprises/{enterprise}/actions/permissions', [
'enterprise' => 'generated',
]);
Operations method:
$client->operations()->enterpriseAdmin()->getGithubActionsPermissionsEnterprise( enterprise: 'generated',
);
You can find more about this operation over at the API method documentation.
Set GitHub Actions permissions for an enterprise
Using the call
method:
$client->call('PUT /enterprises/{enterprise}/actions/permissions', [
'enterprise' => 'generated',
]);
Operations method:
$client->operations()->enterpriseAdmin()->setGithubActionsPermissionsEnterprise( enterprise: 'generated',
);
You can find more about this operation over at the API method documentation.
List selected organizations enabled for GitHub Actions in an enterprise
Using the call
method:
$client->call('GET /enterprises/{enterprise}/actions/permissions/organizations', [
'enterprise' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->enterpriseAdmin()->listSelectedOrganizationsEnabledGithubActionsEnterprise( enterprise: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Set selected organizations enabled for GitHub Actions in an enterprise
Using the call
method:
$client->call('PUT /enterprises/{enterprise}/actions/permissions/organizations', [
'enterprise' => 'generated',
]);
Operations method:
$client->operations()->enterpriseAdmin()->setSelectedOrganizationsEnabledGithubActionsEnterprise( enterprise: 'generated',
);
You can find more about this operation over at the API method documentation.
Enable a selected organization for GitHub Actions in an enterprise
Using the call
method:
$client->call('PUT /enterprises/{enterprise}/actions/permissions/organizations/{org_id}', [
'enterprise' => 'generated',
'org_id' => 6,
]);
Operations method:
$client->operations()->enterpriseAdmin()->enableSelectedOrganizationGithubActionsEnterprise( enterprise: 'generated',
org_id: 6,
);
You can find more about this operation over at the API method documentation.
Disable a selected organization for GitHub Actions in an enterprise
Using the call
method:
$client->call('DELETE /enterprises/{enterprise}/actions/permissions/organizations/{org_id}', [
'enterprise' => 'generated',
'org_id' => 6,
]);
Operations method:
$client->operations()->enterpriseAdmin()->disableSelectedOrganizationGithubActionsEnterprise( enterprise: 'generated',
org_id: 6,
);
You can find more about this operation over at the API method documentation.
Get allowed actions for an enterprise
Using the call
method:
$client->call('GET /enterprises/{enterprise}/actions/permissions/selected-actions', [
'enterprise' => 'generated',
]);
Operations method:
$client->operations()->enterpriseAdmin()->getAllowedActionsEnterprise( enterprise: 'generated',
);
You can find more about this operation over at the API method documentation.
Set allowed actions for an enterprise
Using the call
method:
$client->call('PUT /enterprises/{enterprise}/actions/permissions/selected-actions', [
'enterprise' => 'generated',
]);
Operations method:
$client->operations()->enterpriseAdmin()->setAllowedActionsEnterprise( enterprise: 'generated',
);
You can find more about this operation over at the API method documentation.
List self-hosted runner groups for an enterprise
Using the call
method:
$client->call('GET /enterprises/{enterprise}/actions/runner-groups', [
'enterprise' => 'generated',
'visible_to_organization' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->enterpriseAdmin()->listSelfHostedRunnerGroupsForEnterprise( enterprise: 'generated',
visible_to_organization: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a self-hosted runner group for an enterprise
Using the call
method:
$client->call('POST /enterprises/{enterprise}/actions/runner-groups', [
'enterprise' => 'generated',
]);
Operations method:
$client->operations()->enterpriseAdmin()->createSelfHostedRunnerGroupForEnterprise( enterprise: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a self-hosted runner group for an enterprise
Using the call
method:
$client->call('GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}', [
'enterprise' => 'generated',
'runner_group_id' => 15,
]);
Operations method:
$client->operations()->enterpriseAdmin()->getSelfHostedRunnerGroupForEnterprise( enterprise: 'generated',
runner_group_id: 15,
);
You can find more about this operation over at the API method documentation.
Delete a self-hosted runner group from an enterprise
Using the call
method:
$client->call('DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}', [
'enterprise' => 'generated',
'runner_group_id' => 15,
]);
Operations method:
$client->operations()->enterpriseAdmin()->deleteSelfHostedRunnerGroupFromEnterprise( enterprise: 'generated',
runner_group_id: 15,
);
You can find more about this operation over at the API method documentation.
Update a self-hosted runner group for an enterprise
Using the call
method:
$client->call('PATCH /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}', [
'enterprise' => 'generated',
'runner_group_id' => 15,
]);
Operations method:
$client->operations()->enterpriseAdmin()->updateSelfHostedRunnerGroupForEnterprise( enterprise: 'generated',
runner_group_id: 15,
);
You can find more about this operation over at the API method documentation.
List self-hosted runners in a group for an enterprise
Using the call
method:
$client->call('GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners', [
'enterprise' => 'generated',
'runner_group_id' => 15,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->enterpriseAdmin()->listSelfHostedRunnersInGroupForEnterprise( enterprise: 'generated',
runner_group_id: 15,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Set self-hosted runners in a group for an enterprise
Using the call
method:
$client->call('PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners', [
'enterprise' => 'generated',
'runner_group_id' => 15,
]);
Operations method:
$client->operations()->enterpriseAdmin()->setSelfHostedRunnersInGroupForEnterprise( enterprise: 'generated',
runner_group_id: 15,
);
You can find more about this operation over at the API method documentation.
Add a self-hosted runner to a group for an enterprise
Using the call
method:
$client->call('PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}', [
'enterprise' => 'generated',
'runner_group_id' => 15,
'runner_id' => 9,
]);
Operations method:
$client->operations()->enterpriseAdmin()->addSelfHostedRunnerToGroupForEnterprise( enterprise: 'generated',
runner_group_id: 15,
runner_id: 9,
);
You can find more about this operation over at the API method documentation.
Remove a self-hosted runner from a group for an enterprise
Using the call
method:
$client->call('DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}', [
'enterprise' => 'generated',
'runner_group_id' => 15,
'runner_id' => 9,
]);
Operations method:
$client->operations()->enterpriseAdmin()->removeSelfHostedRunnerFromGroupForEnterprise( enterprise: 'generated',
runner_group_id: 15,
runner_id: 9,
);
You can find more about this operation over at the API method documentation.
List self-hosted runners for an enterprise
Using the call
method:
$client->call('GET /enterprises/{enterprise}/actions/runners', [
'enterprise' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->enterpriseAdmin()->listSelfHostedRunnersForEnterprise( enterprise: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List runner applications for an enterprise
Using the call
method:
$client->call('GET /enterprises/{enterprise}/actions/runners/downloads', [
'enterprise' => 'generated',
]);
Operations method:
$client->operations()->enterpriseAdmin()->listRunnerApplicationsForEnterprise( enterprise: 'generated',
);
You can find more about this operation over at the API method documentation.
Create a registration token for an enterprise
Using the call
method:
$client->call('POST /enterprises/{enterprise}/actions/runners/registration-token', [
'enterprise' => 'generated',
]);
Operations method:
$client->operations()->enterpriseAdmin()->createRegistrationTokenForEnterprise( enterprise: 'generated',
);
You can find more about this operation over at the API method documentation.
Create a remove token for an enterprise
Using the call
method:
$client->call('POST /enterprises/{enterprise}/actions/runners/remove-token', [
'enterprise' => 'generated',
]);
Operations method:
$client->operations()->enterpriseAdmin()->createRemoveTokenForEnterprise( enterprise: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a self-hosted runner for an enterprise
Using the call
method:
$client->call('GET /enterprises/{enterprise}/actions/runners/{runner_id}', [
'enterprise' => 'generated',
'runner_id' => 9,
]);
Operations method:
$client->operations()->enterpriseAdmin()->getSelfHostedRunnerForEnterprise( enterprise: 'generated',
runner_id: 9,
);
You can find more about this operation over at the API method documentation.
Delete a self-hosted runner from an enterprise
Using the call
method:
$client->call('DELETE /enterprises/{enterprise}/actions/runners/{runner_id}', [
'enterprise' => 'generated',
'runner_id' => 9,
]);
Operations method:
$client->operations()->enterpriseAdmin()->deleteSelfHostedRunnerFromEnterprise( enterprise: 'generated',
runner_id: 9,
);
You can find more about this operation over at the API method documentation.
Get the audit log for an enterprise
Using the call
method:
$client->call('GET /enterprises/{enterprise}/audit-log', [
'enterprise' => 'generated',
'phrase' => 'generated',
'after' => 'generated',
'before' => 'generated',
'order' => 'generated',
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->enterpriseAdmin()->getAuditLog( enterprise: 'generated',
phrase: 'generated',
after: 'generated',
before: 'generated',
order: 'generated',
page: 1,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
Get the audit log for an enterprise
Using the call
method:
$client->call('LIST /enterprises/{enterprise}/audit-log', [
'enterprise' => 'generated',
'phrase' => 'generated',
'after' => 'generated',
'before' => 'generated',
'order' => 'generated',
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->enterpriseAdmin()->getAuditLogListing( enterprise: 'generated',
phrase: 'generated',
after: 'generated',
before: 'generated',
order: 'generated',
page: 1,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
List secret scanning alerts for an enterprise
Using the call
method:
$client->call('GET /enterprises/{enterprise}/secret-scanning/alerts', [
'enterprise' => 'generated',
'state' => 'generated',
'secret_type' => 'generated',
'resolution' => 'generated',
'before' => 'generated',
'after' => 'generated',
'validity' => 'generated',
'sort' => 'generated',
'direction' => 'generated',
'per_page' => 8,
]);
Operations method:
$client->operations()->secretScanning()->listAlertsForEnterprise( enterprise: 'generated',
state: 'generated',
secret_type: 'generated',
resolution: 'generated',
before: 'generated',
after: 'generated',
validity: 'generated',
sort: 'generated',
direction: 'generated',
per_page: 8,
);
You can find more about this operation over at the API method documentation.
Get feeds
Using the call
method:
$client->call('GET /feeds');
Operations method:
$client->operations()->activity()->getFeeds();
You can find more about this operation over at the API method documentation.
List gists for the authenticated user
Using the call
method:
$client->call('GET /gists', [
'since' => '1970-01-01T00:00:00+00:00',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->gists()->list( since: '1970-01-01T00:00:00+00:00',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List gists for the authenticated user
Using the call
method:
$client->call('LIST /gists', [
'since' => '1970-01-01T00:00:00+00:00',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->gists()->listListing( since: '1970-01-01T00:00:00+00:00',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a gist
Using the call
method:
$client->call('POST /gists');
Operations method:
$client->operations()->gists()->create();
You can find more about this operation over at the API method documentation.
List public gists
Using the call
method:
$client->call('GET /gists/public', [
'since' => '1970-01-01T00:00:00+00:00',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->gists()->listPublic( since: '1970-01-01T00:00:00+00:00',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List public gists
Using the call
method:
$client->call('LIST /gists/public', [
'since' => '1970-01-01T00:00:00+00:00',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->gists()->listPublicListing( since: '1970-01-01T00:00:00+00:00',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List starred gists
Using the call
method:
$client->call('GET /gists/starred', [
'since' => '1970-01-01T00:00:00+00:00',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->gists()->listStarred( since: '1970-01-01T00:00:00+00:00',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List starred gists
Using the call
method:
$client->call('LIST /gists/starred', [
'since' => '1970-01-01T00:00:00+00:00',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->gists()->listStarredListing( since: '1970-01-01T00:00:00+00:00',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get a gist
Using the call
method:
$client->call('GET /gists/{gist_id}', [
'gist_id' => 'generated',
]);
Operations method:
$client->operations()->gists()->get( gist_id: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete a gist
Using the call
method:
$client->call('DELETE /gists/{gist_id}', [
'gist_id' => 'generated',
]);
Operations method:
$client->operations()->gists()->delete( gist_id: 'generated',
);
You can find more about this operation over at the API method documentation.
Update a gist
Using the call
method:
$client->call('PATCH /gists/{gist_id}', [
'gist_id' => 'generated',
]);
Operations method:
$client->operations()->gists()->update( gist_id: 'generated',
);
You can find more about this operation over at the API method documentation.
List gist comments
Using the call
method:
$client->call('GET /gists/{gist_id}/comments', [
'gist_id' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->gists()->listComments( gist_id: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List gist comments
Using the call
method:
$client->call('LIST /gists/{gist_id}/comments', [
'gist_id' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->gists()->listCommentsListing( gist_id: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a gist comment
Using the call
method:
$client->call('POST /gists/{gist_id}/comments', [
'gist_id' => 'generated',
]);
Operations method:
$client->operations()->gists()->createComment( gist_id: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a gist comment
Using the call
method:
$client->call('GET /gists/{gist_id}/comments/{comment_id}', [
'gist_id' => 'generated',
'comment_id' => 10,
]);
Operations method:
$client->operations()->gists()->getComment( gist_id: 'generated',
comment_id: 10,
);
You can find more about this operation over at the API method documentation.
Delete a gist comment
Using the call
method:
$client->call('DELETE /gists/{gist_id}/comments/{comment_id}', [
'gist_id' => 'generated',
'comment_id' => 10,
]);
Operations method:
$client->operations()->gists()->deleteComment( gist_id: 'generated',
comment_id: 10,
);
You can find more about this operation over at the API method documentation.
Update a gist comment
Using the call
method:
$client->call('PATCH /gists/{gist_id}/comments/{comment_id}', [
'gist_id' => 'generated',
'comment_id' => 10,
]);
Operations method:
$client->operations()->gists()->updateComment( gist_id: 'generated',
comment_id: 10,
);
You can find more about this operation over at the API method documentation.
List gist commits
Using the call
method:
$client->call('GET /gists/{gist_id}/commits', [
'gist_id' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->gists()->listCommits( gist_id: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List gist commits
Using the call
method:
$client->call('LIST /gists/{gist_id}/commits', [
'gist_id' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->gists()->listCommitsListing( gist_id: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List gist forks
Using the call
method:
$client->call('GET /gists/{gist_id}/forks', [
'gist_id' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->gists()->listForks( gist_id: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List gist forks
Using the call
method:
$client->call('LIST /gists/{gist_id}/forks', [
'gist_id' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->gists()->listForksListing( gist_id: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Fork a gist
Using the call
method:
$client->call('POST /gists/{gist_id}/forks', [
'gist_id' => 'generated',
]);
Operations method:
$client->operations()->gists()->fork( gist_id: 'generated',
);
You can find more about this operation over at the API method documentation.
Check if a gist is starred
Using the call
method:
$client->call('GET /gists/{gist_id}/star', [
'gist_id' => 'generated',
]);
Operations method:
$client->operations()->gists()->checkIsStarred( gist_id: 'generated',
);
You can find more about this operation over at the API method documentation.
Star a gist
Using the call
method:
$client->call('PUT /gists/{gist_id}/star', [
'gist_id' => 'generated',
]);
Operations method:
$client->operations()->gists()->star( gist_id: 'generated',
);
You can find more about this operation over at the API method documentation.
Unstar a gist
Using the call
method:
$client->call('DELETE /gists/{gist_id}/star', [
'gist_id' => 'generated',
]);
Operations method:
$client->operations()->gists()->unstar( gist_id: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a gist revision
Using the call
method:
$client->call('GET /gists/{gist_id}/{sha}', [
'gist_id' => 'generated',
'sha' => 'generated',
]);
Operations method:
$client->operations()->gists()->getRevision( gist_id: 'generated',
sha: 'generated',
);
You can find more about this operation over at the API method documentation.
Get all gitignore templates
Using the call
method:
$client->call('GET /gitignore/templates');
Operations method:
$client->operations()->gitignore()->getAllTemplates();
You can find more about this operation over at the API method documentation.
Get a gitignore template
Using the call
method:
$client->call('GET /gitignore/templates/{name}', [
'name' => 'generated',
]);
Operations method:
$client->operations()->gitignore()->getTemplate( name: 'generated',
);
You can find more about this operation over at the API method documentation.
List repositories accessible to the app installation
Using the call
method:
$client->call('GET /installation/repositories', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->apps()->listReposAccessibleToInstallation( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Revoke an installation access token
Using the call
method:
$client->call('DELETE /installation/token');
Operations method:
$client->operations()->apps()->revokeInstallationAccessToken();
You can find more about this operation over at the API method documentation.
List issues assigned to the authenticated user
Using the call
method:
$client->call('GET /issues', [
'labels' => 'generated',
'since' => '1970-01-01T00:00:00+00:00',
'collab' => ,
'orgs' => ,
'owned' => ,
'pulls' => ,
'filter' => 'generated',
'state' => 'generated',
'sort' => 'generated',
'direction' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->list( labels: 'generated',
since: '1970-01-01T00:00:00+00:00',
collab: ,
orgs: ,
owned: ,
pulls: ,
filter: 'generated',
state: 'generated',
sort: 'generated',
direction: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List issues assigned to the authenticated user
Using the call
method:
$client->call('LIST /issues', [
'labels' => 'generated',
'since' => '1970-01-01T00:00:00+00:00',
'collab' => ,
'orgs' => ,
'owned' => ,
'pulls' => ,
'filter' => 'generated',
'state' => 'generated',
'sort' => 'generated',
'direction' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listListing( labels: 'generated',
since: '1970-01-01T00:00:00+00:00',
collab: ,
orgs: ,
owned: ,
pulls: ,
filter: 'generated',
state: 'generated',
sort: 'generated',
direction: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get all commonly used licenses
Using the call
method:
$client->call('GET /licenses', [
'featured' => ,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->licenses()->getAllCommonlyUsed( featured: ,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get all commonly used licenses
Using the call
method:
$client->call('LIST /licenses', [
'featured' => ,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->licenses()->getAllCommonlyUsedListing( featured: ,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get a license
Using the call
method:
$client->call('GET /licenses/{license}', [
'license' => 'generated',
]);
Operations method:
$client->operations()->licenses()->get( license: 'generated',
);
You can find more about this operation over at the API method documentation.
Render a Markdown document
Using the call
method:
$client->call('POST /markdown');
Operations method:
$client->operations()->markdown()->render();
You can find more about this operation over at the API method documentation.
Render a Markdown document in raw mode
Using the call
method:
$client->call('POST /markdown/raw');
Operations method:
$client->operations()->markdown()->renderRaw();
You can find more about this operation over at the API method documentation.
Get GitHub AE meta information
Using the call
method:
$client->call('GET /meta');
Operations method:
$client->operations()->meta()->get();
You can find more about this operation over at the API method documentation.
List notifications for the authenticated user
Using the call
method:
$client->call('GET /notifications', [
'since' => '1970-01-01T00:00:00+00:00',
'before' => '1970-01-01T00:00:00+00:00',
'all' => ,
'participating' => ,
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->activity()->listNotificationsForAuthenticatedUser( since: '1970-01-01T00:00:00+00:00',
before: '1970-01-01T00:00:00+00:00',
all: ,
participating: ,
page: 1,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
List notifications for the authenticated user
Using the call
method:
$client->call('LIST /notifications', [
'since' => '1970-01-01T00:00:00+00:00',
'before' => '1970-01-01T00:00:00+00:00',
'all' => ,
'participating' => ,
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->activity()->listNotificationsForAuthenticatedUserListing( since: '1970-01-01T00:00:00+00:00',
before: '1970-01-01T00:00:00+00:00',
all: ,
participating: ,
page: 1,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
Mark notifications as read
Using the call
method:
$client->call('PUT /notifications');
Operations method:
$client->operations()->activity()->markNotificationsAsRead();
You can find more about this operation over at the API method documentation.
Get a thread
Using the call
method:
$client->call('GET /notifications/threads/{thread_id}', [
'thread_id' => 9,
]);
Operations method:
$client->operations()->activity()->getThread( thread_id: 9,
);
You can find more about this operation over at the API method documentation.
Mark a thread as done
Using the call
method:
$client->call('DELETE /notifications/threads/{thread_id}', [
'thread_id' => 9,
]);
Operations method:
$client->operations()->activity()->markThreadAsDone( thread_id: 9,
);
You can find more about this operation over at the API method documentation.
Mark a thread as read
Using the call
method:
$client->call('PATCH /notifications/threads/{thread_id}', [
'thread_id' => 9,
]);
Operations method:
$client->operations()->activity()->markThreadAsRead( thread_id: 9,
);
You can find more about this operation over at the API method documentation.
Get a thread subscription for the authenticated user
Using the call
method:
$client->call('GET /notifications/threads/{thread_id}/subscription', [
'thread_id' => 9,
]);
Operations method:
$client->operations()->activity()->getThreadSubscriptionForAuthenticatedUser( thread_id: 9,
);
You can find more about this operation over at the API method documentation.
Set a thread subscription
Using the call
method:
$client->call('PUT /notifications/threads/{thread_id}/subscription', [
'thread_id' => 9,
]);
Operations method:
$client->operations()->activity()->setThreadSubscription( thread_id: 9,
);
You can find more about this operation over at the API method documentation.
Delete a thread subscription
Using the call
method:
$client->call('DELETE /notifications/threads/{thread_id}/subscription', [
'thread_id' => 9,
]);
Operations method:
$client->operations()->activity()->deleteThreadSubscription( thread_id: 9,
);
You can find more about this operation over at the API method documentation.
Get Octocat
Using the call
method:
$client->call('GET /octocat', [
's' => 'generated',
]);
Operations method:
$client->operations()->meta()->getOctocat( s: 'generated',
);
You can find more about this operation over at the API method documentation.
List organizations
Using the call
method:
$client->call('GET /organizations', [
'since' => 5,
'per_page' => 8,
]);
Operations method:
$client->operations()->orgs()->list( since: 5,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
Get an organization
Using the call
method:
$client->call('GET /orgs/{org}', [
'org' => 'generated',
]);
Operations method:
$client->operations()->orgs()->get( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Update an organization
Using the call
method:
$client->call('PATCH /orgs/{org}', [
'org' => 'generated',
]);
Operations method:
$client->operations()->orgs()->update( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Get GitHub Actions permissions for an organization
Using the call
method:
$client->call('GET /orgs/{org}/actions/permissions', [
'org' => 'generated',
]);
Operations method:
$client->operations()->actions()->getGithubActionsPermissionsOrganization( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Set GitHub Actions permissions for an organization
Using the call
method:
$client->call('PUT /orgs/{org}/actions/permissions', [
'org' => 'generated',
]);
Operations method:
$client->operations()->actions()->setGithubActionsPermissionsOrganization( org: 'generated',
);
You can find more about this operation over at the API method documentation.
List selected repositories enabled for GitHub Actions in an organization
Using the call
method:
$client->call('GET /orgs/{org}/actions/permissions/repositories', [
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->actions()->listSelectedRepositoriesEnabledGithubActionsOrganization( org: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Set selected repositories enabled for GitHub Actions in an organization
Using the call
method:
$client->call('PUT /orgs/{org}/actions/permissions/repositories', [
'org' => 'generated',
]);
Operations method:
$client->operations()->actions()->setSelectedRepositoriesEnabledGithubActionsOrganization( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Enable a selected repository for GitHub Actions in an organization
Using the call
method:
$client->call('PUT /orgs/{org}/actions/permissions/repositories/{repository_id}', [
'org' => 'generated',
'repository_id' => 13,
]);
Operations method:
$client->operations()->actions()->enableSelectedRepositoryGithubActionsOrganization( org: 'generated',
repository_id: 13,
);
You can find more about this operation over at the API method documentation.
Disable a selected repository for GitHub Actions in an organization
Using the call
method:
$client->call('DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}', [
'org' => 'generated',
'repository_id' => 13,
]);
Operations method:
$client->operations()->actions()->disableSelectedRepositoryGithubActionsOrganization( org: 'generated',
repository_id: 13,
);
You can find more about this operation over at the API method documentation.
Get allowed actions for an organization
Using the call
method:
$client->call('GET /orgs/{org}/actions/permissions/selected-actions', [
'org' => 'generated',
]);
Operations method:
$client->operations()->actions()->getAllowedActionsOrganization( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Set allowed actions for an organization
Using the call
method:
$client->call('PUT /orgs/{org}/actions/permissions/selected-actions', [
'org' => 'generated',
]);
Operations method:
$client->operations()->actions()->setAllowedActionsOrganization( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Get default workflow permissions for an organization
Using the call
method:
$client->call('GET /orgs/{org}/actions/permissions/workflow', [
'org' => 'generated',
]);
Operations method:
$client->operations()->actions()->getGithubActionsDefaultWorkflowPermissionsOrganization( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Set default workflow permissions for an organization
Using the call
method:
$client->call('PUT /orgs/{org}/actions/permissions/workflow', [
'org' => 'generated',
]);
Operations method:
$client->operations()->actions()->setGithubActionsDefaultWorkflowPermissionsOrganization( org: 'generated',
);
You can find more about this operation over at the API method documentation.
List self-hosted runner groups for an organization
Using the call
method:
$client->call('GET /orgs/{org}/actions/runner-groups', [
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->actions()->listSelfHostedRunnerGroupsForOrg( org: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a self-hosted runner group for an organization
Using the call
method:
$client->call('POST /orgs/{org}/actions/runner-groups', [
'org' => 'generated',
]);
Operations method:
$client->operations()->actions()->createSelfHostedRunnerGroupForOrg( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a self-hosted runner group for an organization
Using the call
method:
$client->call('GET /orgs/{org}/actions/runner-groups/{runner_group_id}', [
'org' => 'generated',
'runner_group_id' => 15,
]);
Operations method:
$client->operations()->actions()->getSelfHostedRunnerGroupForOrg( org: 'generated',
runner_group_id: 15,
);
You can find more about this operation over at the API method documentation.
Delete a self-hosted runner group from an organization
Using the call
method:
$client->call('DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}', [
'org' => 'generated',
'runner_group_id' => 15,
]);
Operations method:
$client->operations()->actions()->deleteSelfHostedRunnerGroupFromOrg( org: 'generated',
runner_group_id: 15,
);
You can find more about this operation over at the API method documentation.
Update a self-hosted runner group for an organization
Using the call
method:
$client->call('PATCH /orgs/{org}/actions/runner-groups/{runner_group_id}', [
'org' => 'generated',
'runner_group_id' => 15,
]);
Operations method:
$client->operations()->actions()->updateSelfHostedRunnerGroupForOrg( org: 'generated',
runner_group_id: 15,
);
You can find more about this operation over at the API method documentation.
Add a self-hosted runner to a group for an organization
Using the call
method:
$client->call('PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}', [
'org' => 'generated',
'runner_group_id' => 15,
'runner_id' => 9,
]);
Operations method:
$client->operations()->actions()->addSelfHostedRunnerToGroupForOrg( org: 'generated',
runner_group_id: 15,
runner_id: 9,
);
You can find more about this operation over at the API method documentation.
List self-hosted runners for an organization
Using the call
method:
$client->call('GET /orgs/{org}/actions/runners', [
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->actions()->listSelfHostedRunnersForOrg( org: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List runner applications for an organization
Using the call
method:
$client->call('GET /orgs/{org}/actions/runners/downloads', [
'org' => 'generated',
]);
Operations method:
$client->operations()->actions()->listRunnerApplicationsForOrg( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Create a registration token for an organization
Using the call
method:
$client->call('POST /orgs/{org}/actions/runners/registration-token', [
'org' => 'generated',
]);
Operations method:
$client->operations()->actions()->createRegistrationTokenForOrg( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Create a remove token for an organization
Using the call
method:
$client->call('POST /orgs/{org}/actions/runners/remove-token', [
'org' => 'generated',
]);
Operations method:
$client->operations()->actions()->createRemoveTokenForOrg( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a self-hosted runner for an organization
Using the call
method:
$client->call('GET /orgs/{org}/actions/runners/{runner_id}', [
'org' => 'generated',
'runner_id' => 9,
]);
Operations method:
$client->operations()->actions()->getSelfHostedRunnerForOrg( org: 'generated',
runner_id: 9,
);
You can find more about this operation over at the API method documentation.
Delete a self-hosted runner from an organization
Using the call
method:
$client->call('DELETE /orgs/{org}/actions/runners/{runner_id}', [
'org' => 'generated',
'runner_id' => 9,
]);
Operations method:
$client->operations()->actions()->deleteSelfHostedRunnerFromOrg( org: 'generated',
runner_id: 9,
);
You can find more about this operation over at the API method documentation.
List organization secrets
Using the call
method:
$client->call('GET /orgs/{org}/actions/secrets', [
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->actions()->listOrgSecrets( org: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get an organization public key
Using the call
method:
$client->call('GET /orgs/{org}/actions/secrets/public-key', [
'org' => 'generated',
]);
Operations method:
$client->operations()->actions()->getOrgPublicKey( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Get an organization secret
Using the call
method:
$client->call('GET /orgs/{org}/actions/secrets/{secret_name}', [
'org' => 'generated',
'secret_name' => 'generated',
]);
Operations method:
$client->operations()->actions()->getOrgSecret( org: 'generated',
secret_name: 'generated',
);
You can find more about this operation over at the API method documentation.
Create or update an organization secret
Using the call
method:
$client->call('PUT /orgs/{org}/actions/secrets/{secret_name}', [
'org' => 'generated',
'secret_name' => 'generated',
]);
Operations method:
$client->operations()->actions()->createOrUpdateOrgSecret( org: 'generated',
secret_name: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete an organization secret
Using the call
method:
$client->call('DELETE /orgs/{org}/actions/secrets/{secret_name}', [
'org' => 'generated',
'secret_name' => 'generated',
]);
Operations method:
$client->operations()->actions()->deleteOrgSecret( org: 'generated',
secret_name: 'generated',
);
You can find more about this operation over at the API method documentation.
List selected repositories for an organization secret
Using the call
method:
$client->call('GET /orgs/{org}/actions/secrets/{secret_name}/repositories', [
'org' => 'generated',
'secret_name' => 'generated',
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->actions()->listSelectedReposForOrgSecret( org: 'generated',
secret_name: 'generated',
page: 1,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
Set selected repositories for an organization secret
Using the call
method:
$client->call('PUT /orgs/{org}/actions/secrets/{secret_name}/repositories', [
'org' => 'generated',
'secret_name' => 'generated',
]);
Operations method:
$client->operations()->actions()->setSelectedReposForOrgSecret( org: 'generated',
secret_name: 'generated',
);
You can find more about this operation over at the API method documentation.
Add selected repository to an organization secret
Using the call
method:
$client->call('PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}', [
'org' => 'generated',
'secret_name' => 'generated',
'repository_id' => 13,
]);
Operations method:
$client->operations()->actions()->addSelectedRepoToOrgSecret( org: 'generated',
secret_name: 'generated',
repository_id: 13,
);
You can find more about this operation over at the API method documentation.
Remove selected repository from an organization secret
Using the call
method:
$client->call('DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}', [
'org' => 'generated',
'secret_name' => 'generated',
'repository_id' => 13,
]);
Operations method:
$client->operations()->actions()->removeSelectedRepoFromOrgSecret( org: 'generated',
secret_name: 'generated',
repository_id: 13,
);
You can find more about this operation over at the API method documentation.
Get the audit log for an organization
Using the call
method:
$client->call('GET /orgs/{org}/audit-log', [
'org' => 'generated',
'phrase' => 'generated',
'after' => 'generated',
'before' => 'generated',
'order' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->getAuditLog( org: 'generated',
phrase: 'generated',
after: 'generated',
before: 'generated',
order: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get the audit log for an organization
Using the call
method:
$client->call('LIST /orgs/{org}/audit-log', [
'org' => 'generated',
'phrase' => 'generated',
'after' => 'generated',
'before' => 'generated',
'order' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->getAuditLogListing( org: 'generated',
phrase: 'generated',
after: 'generated',
before: 'generated',
order: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List code scanning alerts for an organization
Using the call
method:
$client->call('GET /orgs/{org}/code-scanning/alerts', [
'org' => 'generated',
'tool_name' => 'generated',
'tool_guid' => ,
'before' => 'generated',
'after' => 'generated',
'state' => 'generated',
'severity' => 'generated',
'page' => 1,
'per_page' => 8,
'direction' => 'generated',
'sort' => 'generated',
]);
Operations method:
$client->operations()->codeScanning()->listAlertsForOrg( org: 'generated',
tool_name: 'generated',
tool_guid: ,
before: 'generated',
after: 'generated',
state: 'generated',
severity: 'generated',
page: 1,
per_page: 8,
direction: 'generated',
sort: 'generated',
);
You can find more about this operation over at the API method documentation.
List code scanning alerts for an organization
Using the call
method:
$client->call('LIST /orgs/{org}/code-scanning/alerts', [
'org' => 'generated',
'tool_name' => 'generated',
'tool_guid' => ,
'before' => 'generated',
'after' => 'generated',
'state' => 'generated',
'severity' => 'generated',
'page' => 1,
'per_page' => 8,
'direction' => 'generated',
'sort' => 'generated',
]);
Operations method:
$client->operations()->codeScanning()->listAlertsForOrgListing( org: 'generated',
tool_name: 'generated',
tool_guid: ,
before: 'generated',
after: 'generated',
state: 'generated',
severity: 'generated',
page: 1,
per_page: 8,
direction: 'generated',
sort: 'generated',
);
You can find more about this operation over at the API method documentation.
Get an external group
Using the call
method:
$client->call('GET /orgs/{org}/external-group/{group_id}', [
'org' => 'generated',
'group_id' => 8,
]);
Operations method:
$client->operations()->teams()->externalIdpGroupInfoForOrg( org: 'generated',
group_id: 8,
);
You can find more about this operation over at the API method documentation.
List external groups in an organization
Using the call
method:
$client->call('GET /orgs/{org}/external-groups', [
'org' => 'generated',
'page' => 1,
'display_name' => 'generated',
'per_page' => 8,
]);
Operations method:
$client->operations()->teams()->listExternalIdpGroupsForOrg( org: 'generated',
page: 1,
display_name: 'generated',
per_page: 8,
);
You can find more about this operation over at the API method documentation.
List organization webhooks
Using the call
method:
$client->call('GET /orgs/{org}/hooks', [
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listWebhooks( org: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List organization webhooks
Using the call
method:
$client->call('LIST /orgs/{org}/hooks', [
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listWebhooksListing( org: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create an organization webhook
Using the call
method:
$client->call('POST /orgs/{org}/hooks', [
'org' => 'generated',
]);
Operations method:
$client->operations()->orgs()->createWebhook( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Get an organization webhook
Using the call
method:
$client->call('GET /orgs/{org}/hooks/{hook_id}', [
'org' => 'generated',
'hook_id' => 7,
]);
Operations method:
$client->operations()->orgs()->getWebhook( org: 'generated',
hook_id: 7,
);
You can find more about this operation over at the API method documentation.
Delete an organization webhook
Using the call
method:
$client->call('DELETE /orgs/{org}/hooks/{hook_id}', [
'org' => 'generated',
'hook_id' => 7,
]);
Operations method:
$client->operations()->orgs()->deleteWebhook( org: 'generated',
hook_id: 7,
);
You can find more about this operation over at the API method documentation.
Update an organization webhook
Using the call
method:
$client->call('PATCH /orgs/{org}/hooks/{hook_id}', [
'org' => 'generated',
'hook_id' => 7,
]);
Operations method:
$client->operations()->orgs()->updateWebhook( org: 'generated',
hook_id: 7,
);
You can find more about this operation over at the API method documentation.
Get a webhook configuration for an organization
Using the call
method:
$client->call('GET /orgs/{org}/hooks/{hook_id}/config', [
'org' => 'generated',
'hook_id' => 7,
]);
Operations method:
$client->operations()->orgs()->getWebhookConfigForOrg( org: 'generated',
hook_id: 7,
);
You can find more about this operation over at the API method documentation.
Update a webhook configuration for an organization
Using the call
method:
$client->call('PATCH /orgs/{org}/hooks/{hook_id}/config', [
'org' => 'generated',
'hook_id' => 7,
]);
Operations method:
$client->operations()->orgs()->updateWebhookConfigForOrg( org: 'generated',
hook_id: 7,
);
You can find more about this operation over at the API method documentation.
List deliveries for an organization webhook
Using the call
method:
$client->call('GET /orgs/{org}/hooks/{hook_id}/deliveries', [
'org' => 'generated',
'hook_id' => 7,
'cursor' => 'generated',
'redelivery' => ,
'per_page' => 8,
]);
Operations method:
$client->operations()->orgs()->listWebhookDeliveries( org: 'generated',
hook_id: 7,
cursor: 'generated',
redelivery: ,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
Get a webhook delivery for an organization webhook
Using the call
method:
$client->call('GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}', [
'org' => 'generated',
'hook_id' => 7,
'delivery_id' => 11,
]);
Operations method:
$client->operations()->orgs()->getWebhookDelivery( org: 'generated',
hook_id: 7,
delivery_id: 11,
);
You can find more about this operation over at the API method documentation.
Redeliver a delivery for an organization webhook
Using the call
method:
$client->call('POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts', [
'org' => 'generated',
'hook_id' => 7,
'delivery_id' => 11,
]);
Operations method:
$client->operations()->orgs()->redeliverWebhookDelivery( org: 'generated',
hook_id: 7,
delivery_id: 11,
);
You can find more about this operation over at the API method documentation.
Ping an organization webhook
Using the call
method:
$client->call('POST /orgs/{org}/hooks/{hook_id}/pings', [
'org' => 'generated',
'hook_id' => 7,
]);
Operations method:
$client->operations()->orgs()->pingWebhook( org: 'generated',
hook_id: 7,
);
You can find more about this operation over at the API method documentation.
Get an organization installation for the authenticated app
Using the call
method:
$client->call('GET /orgs/{org}/installation', [
'org' => 'generated',
]);
Operations method:
$client->operations()->apps()->getOrgInstallation( org: 'generated',
);
You can find more about this operation over at the API method documentation.
List app installations for an organization
Using the call
method:
$client->call('GET /orgs/{org}/installations', [
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listAppInstallations( org: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List organization issues assigned to the authenticated user
Using the call
method:
$client->call('GET /orgs/{org}/issues', [
'org' => 'generated',
'labels' => 'generated',
'since' => '1970-01-01T00:00:00+00:00',
'filter' => 'generated',
'state' => 'generated',
'sort' => 'generated',
'direction' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listForOrg( org: 'generated',
labels: 'generated',
since: '1970-01-01T00:00:00+00:00',
filter: 'generated',
state: 'generated',
sort: 'generated',
direction: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List organization issues assigned to the authenticated user
Using the call
method:
$client->call('LIST /orgs/{org}/issues', [
'org' => 'generated',
'labels' => 'generated',
'since' => '1970-01-01T00:00:00+00:00',
'filter' => 'generated',
'state' => 'generated',
'sort' => 'generated',
'direction' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listForOrgListing( org: 'generated',
labels: 'generated',
since: '1970-01-01T00:00:00+00:00',
filter: 'generated',
state: 'generated',
sort: 'generated',
direction: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List organization members
Using the call
method:
$client->call('GET /orgs/{org}/members', [
'org' => 'generated',
'filter' => 'generated',
'role' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listMembers( org: 'generated',
filter: 'generated',
role: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List organization members
Using the call
method:
$client->call('LIST /orgs/{org}/members', [
'org' => 'generated',
'filter' => 'generated',
'role' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listMembersListing( org: 'generated',
filter: 'generated',
role: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Check organization membership for a user
Using the call
method:
$client->call('GET /orgs/{org}/members/{username}', [
'org' => 'generated',
'username' => 'generated',
]);
Operations method:
$client->operations()->orgs()->checkMembershipForUser( org: 'generated',
username: 'generated',
);
You can find more about this operation over at the API method documentation.
Remove an organization member
Using the call
method:
$client->call('DELETE /orgs/{org}/members/{username}', [
'org' => 'generated',
'username' => 'generated',
]);
Operations method:
$client->operations()->orgs()->removeMember( org: 'generated',
username: 'generated',
);
You can find more about this operation over at the API method documentation.
Get organization membership for a user
Using the call
method:
$client->call('GET /orgs/{org}/memberships/{username}', [
'org' => 'generated',
'username' => 'generated',
]);
Operations method:
$client->operations()->orgs()->getMembershipForUser( org: 'generated',
username: 'generated',
);
You can find more about this operation over at the API method documentation.
Set organization membership for a user
Using the call
method:
$client->call('PUT /orgs/{org}/memberships/{username}', [
'org' => 'generated',
'username' => 'generated',
]);
Operations method:
$client->operations()->orgs()->setMembershipForUser( org: 'generated',
username: 'generated',
);
You can find more about this operation over at the API method documentation.
Remove organization membership for a user
Using the call
method:
$client->call('DELETE /orgs/{org}/memberships/{username}', [
'org' => 'generated',
'username' => 'generated',
]);
Operations method:
$client->operations()->orgs()->removeMembershipForUser( org: 'generated',
username: 'generated',
);
You can find more about this operation over at the API method documentation.
List organization migrations
Using the call
method:
$client->call('GET /orgs/{org}/migrations', [
'org' => 'generated',
'exclude' => ,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->migrations()->listForOrg( org: 'generated',
exclude: ,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List organization migrations
Using the call
method:
$client->call('LIST /orgs/{org}/migrations', [
'org' => 'generated',
'exclude' => ,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->migrations()->listForOrgListing( org: 'generated',
exclude: ,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Start an organization migration
Using the call
method:
$client->call('POST /orgs/{org}/migrations', [
'org' => 'generated',
]);
Operations method:
$client->operations()->migrations()->startForOrg( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Get an organization migration status
Using the call
method:
$client->call('GET /orgs/{org}/migrations/{migration_id}', [
'org' => 'generated',
'migration_id' => 12,
'exclude' => ,
]);
Operations method:
$client->operations()->migrations()->getStatusForOrg( org: 'generated',
migration_id: 12,
exclude: ,
);
You can find more about this operation over at the API method documentation.
Download an organization migration archive
Using the call
method:
$client->call('GET /orgs/{org}/migrations/{migration_id}/archive', [
'org' => 'generated',
'migration_id' => 12,
]);
Operations method:
$client->operations()->migrations()->downloadArchiveForOrg( org: 'generated',
migration_id: 12,
);
You can find more about this operation over at the API method documentation.
Download an organization migration archive
Using the call
method:
$client->call('STREAM /orgs/{org}/migrations/{migration_id}/archive', [
'org' => 'generated',
'migration_id' => 12,
]);
Operations method:
$client->operations()->migrations()->downloadArchiveForOrgStreaming( org: 'generated',
migration_id: 12,
);
You can find more about this operation over at the API method documentation.
Delete an organization migration archive
Using the call
method:
$client->call('DELETE /orgs/{org}/migrations/{migration_id}/archive', [
'org' => 'generated',
'migration_id' => 12,
]);
Operations method:
$client->operations()->migrations()->deleteArchiveForOrg( org: 'generated',
migration_id: 12,
);
You can find more about this operation over at the API method documentation.
Unlock an organization repository
Using the call
method:
$client->call('DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock', [
'org' => 'generated',
'migration_id' => 12,
'repo_name' => 'generated',
]);
Operations method:
$client->operations()->migrations()->unlockRepoForOrg( org: 'generated',
migration_id: 12,
repo_name: 'generated',
);
You can find more about this operation over at the API method documentation.
List repositories in an organization migration
Using the call
method:
$client->call('GET /orgs/{org}/migrations/{migration_id}/repositories', [
'org' => 'generated',
'migration_id' => 12,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->migrations()->listReposForOrg( org: 'generated',
migration_id: 12,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List repositories in an organization migration
Using the call
method:
$client->call('LIST /orgs/{org}/migrations/{migration_id}/repositories', [
'org' => 'generated',
'migration_id' => 12,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->migrations()->listReposForOrgListing( org: 'generated',
migration_id: 12,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List outside collaborators for an organization
Using the call
method:
$client->call('GET /orgs/{org}/outside_collaborators', [
'org' => 'generated',
'filter' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listOutsideCollaborators( org: 'generated',
filter: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List outside collaborators for an organization
Using the call
method:
$client->call('LIST /orgs/{org}/outside_collaborators', [
'org' => 'generated',
'filter' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listOutsideCollaboratorsListing( org: 'generated',
filter: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Convert an organization member to outside collaborator
Using the call
method:
$client->call('PUT /orgs/{org}/outside_collaborators/{username}', [
'org' => 'generated',
'username' => 'generated',
]);
Operations method:
$client->operations()->orgs()->convertMemberToOutsideCollaborator( org: 'generated',
username: 'generated',
);
You can find more about this operation over at the API method documentation.
Remove outside collaborator from an organization
Using the call
method:
$client->call('DELETE /orgs/{org}/outside_collaborators/{username}', [
'org' => 'generated',
'username' => 'generated',
]);
Operations method:
$client->operations()->orgs()->removeOutsideCollaborator( org: 'generated',
username: 'generated',
);
You can find more about this operation over at the API method documentation.
List organization projects
Using the call
method:
$client->call('GET /orgs/{org}/projects', [
'org' => 'generated',
'state' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->projects()->listForOrg( org: 'generated',
state: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List organization projects
Using the call
method:
$client->call('LIST /orgs/{org}/projects', [
'org' => 'generated',
'state' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->projects()->listForOrgListing( org: 'generated',
state: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create an organization project
Using the call
method:
$client->call('POST /orgs/{org}/projects', [
'org' => 'generated',
]);
Operations method:
$client->operations()->projects()->createForOrg( org: 'generated',
);
You can find more about this operation over at the API method documentation.
List organization repositories
Using the call
method:
$client->call('GET /orgs/{org}/repos', [
'org' => 'generated',
'type' => 'generated',
'direction' => 'generated',
'sort' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listForOrg( org: 'generated',
type: 'generated',
direction: 'generated',
sort: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List organization repositories
Using the call
method:
$client->call('LIST /orgs/{org}/repos', [
'org' => 'generated',
'type' => 'generated',
'direction' => 'generated',
'sort' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listForOrgListing( org: 'generated',
type: 'generated',
direction: 'generated',
sort: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create an organization repository
Using the call
method:
$client->call('POST /orgs/{org}/repos', [
'org' => 'generated',
]);
Operations method:
$client->operations()->repos()->createInOrg( org: 'generated',
);
You can find more about this operation over at the API method documentation.
List teams
Using the call
method:
$client->call('GET /orgs/{org}/teams', [
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->list( org: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List teams
Using the call
method:
$client->call('LIST /orgs/{org}/teams', [
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listListing( org: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a team
Using the call
method:
$client->call('POST /orgs/{org}/teams', [
'org' => 'generated',
]);
Operations method:
$client->operations()->teams()->create( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a team by name
Using the call
method:
$client->call('GET /orgs/{org}/teams/{team_slug}', [
'org' => 'generated',
'team_slug' => 'generated',
]);
Operations method:
$client->operations()->teams()->getByName( org: 'generated',
team_slug: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete a team
Using the call
method:
$client->call('DELETE /orgs/{org}/teams/{team_slug}', [
'org' => 'generated',
'team_slug' => 'generated',
]);
Operations method:
$client->operations()->teams()->deleteInOrg( org: 'generated',
team_slug: 'generated',
);
You can find more about this operation over at the API method documentation.
Update a team
Using the call
method:
$client->call('PATCH /orgs/{org}/teams/{team_slug}', [
'org' => 'generated',
'team_slug' => 'generated',
]);
Operations method:
$client->operations()->teams()->updateInOrg( org: 'generated',
team_slug: 'generated',
);
You can find more about this operation over at the API method documentation.
List discussions
Using the call
method:
$client->call('GET /orgs/{org}/teams/{team_slug}/discussions', [
'org' => 'generated',
'team_slug' => 'generated',
'pinned' => 'generated',
'direction' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listDiscussionsInOrg( org: 'generated',
team_slug: 'generated',
pinned: 'generated',
direction: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List discussions
Using the call
method:
$client->call('LIST /orgs/{org}/teams/{team_slug}/discussions', [
'org' => 'generated',
'team_slug' => 'generated',
'pinned' => 'generated',
'direction' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listDiscussionsInOrgListing( org: 'generated',
team_slug: 'generated',
pinned: 'generated',
direction: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a discussion
Using the call
method:
$client->call('POST /orgs/{org}/teams/{team_slug}/discussions', [
'org' => 'generated',
'team_slug' => 'generated',
]);
Operations method:
$client->operations()->teams()->createDiscussionInOrg( org: 'generated',
team_slug: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a discussion
Using the call
method:
$client->call('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}', [
'org' => 'generated',
'team_slug' => 'generated',
'discussion_number' => 17,
]);
Operations method:
$client->operations()->teams()->getDiscussionInOrg( org: 'generated',
team_slug: 'generated',
discussion_number: 17,
);
You can find more about this operation over at the API method documentation.
Delete a discussion
Using the call
method:
$client->call('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}', [
'org' => 'generated',
'team_slug' => 'generated',
'discussion_number' => 17,
]);
Operations method:
$client->operations()->teams()->deleteDiscussionInOrg( org: 'generated',
team_slug: 'generated',
discussion_number: 17,
);
You can find more about this operation over at the API method documentation.
Update a discussion
Using the call
method:
$client->call('PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}', [
'org' => 'generated',
'team_slug' => 'generated',
'discussion_number' => 17,
]);
Operations method:
$client->operations()->teams()->updateDiscussionInOrg( org: 'generated',
team_slug: 'generated',
discussion_number: 17,
);
You can find more about this operation over at the API method documentation.
List discussion comments
Using the call
method:
$client->call('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments', [
'org' => 'generated',
'team_slug' => 'generated',
'discussion_number' => 17,
'direction' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listDiscussionCommentsInOrg( org: 'generated',
team_slug: 'generated',
discussion_number: 17,
direction: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List discussion comments
Using the call
method:
$client->call('LIST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments', [
'org' => 'generated',
'team_slug' => 'generated',
'discussion_number' => 17,
'direction' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listDiscussionCommentsInOrgListing( org: 'generated',
team_slug: 'generated',
discussion_number: 17,
direction: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a discussion comment
Using the call
method:
$client->call('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments', [
'org' => 'generated',
'team_slug' => 'generated',
'discussion_number' => 17,
]);
Operations method:
$client->operations()->teams()->createDiscussionCommentInOrg( org: 'generated',
team_slug: 'generated',
discussion_number: 17,
);
You can find more about this operation over at the API method documentation.
Get a discussion comment
Using the call
method:
$client->call('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}', [
'org' => 'generated',
'team_slug' => 'generated',
'discussion_number' => 17,
'comment_number' => 14,
]);
Operations method:
$client->operations()->teams()->getDiscussionCommentInOrg( org: 'generated',
team_slug: 'generated',
discussion_number: 17,
comment_number: 14,
);
You can find more about this operation over at the API method documentation.
Delete a discussion comment
Using the call
method:
$client->call('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}', [
'org' => 'generated',
'team_slug' => 'generated',
'discussion_number' => 17,
'comment_number' => 14,
]);
Operations method:
$client->operations()->teams()->deleteDiscussionCommentInOrg( org: 'generated',
team_slug: 'generated',
discussion_number: 17,
comment_number: 14,
);
You can find more about this operation over at the API method documentation.
Update a discussion comment
Using the call
method:
$client->call('PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}', [
'org' => 'generated',
'team_slug' => 'generated',
'discussion_number' => 17,
'comment_number' => 14,
]);
Operations method:
$client->operations()->teams()->updateDiscussionCommentInOrg( org: 'generated',
team_slug: 'generated',
discussion_number: 17,
comment_number: 14,
);
You can find more about this operation over at the API method documentation.
List reactions for a team discussion comment
Using the call
method:
$client->call('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', [
'org' => 'generated',
'team_slug' => 'generated',
'discussion_number' => 17,
'comment_number' => 14,
'content' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->reactions()->listForTeamDiscussionCommentInOrg( org: 'generated',
team_slug: 'generated',
discussion_number: 17,
comment_number: 14,
content: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List reactions for a team discussion comment
Using the call
method:
$client->call('LIST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', [
'org' => 'generated',
'team_slug' => 'generated',
'discussion_number' => 17,
'comment_number' => 14,
'content' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->reactions()->listForTeamDiscussionCommentInOrgListing( org: 'generated',
team_slug: 'generated',
discussion_number: 17,
comment_number: 14,
content: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create reaction for a team discussion comment
Using the call
method:
$client->call('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions', [
'org' => 'generated',
'team_slug' => 'generated',
'discussion_number' => 17,
'comment_number' => 14,
]);
Operations method:
$client->operations()->reactions()->createForTeamDiscussionCommentInOrg( org: 'generated',
team_slug: 'generated',
discussion_number: 17,
comment_number: 14,
);
You can find more about this operation over at the API method documentation.
Delete team discussion comment reaction
Using the call
method:
$client->call('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}', [
'org' => 'generated',
'team_slug' => 'generated',
'discussion_number' => 17,
'comment_number' => 14,
'reaction_id' => 11,
]);
Operations method:
$client->operations()->reactions()->deleteForTeamDiscussionComment( org: 'generated',
team_slug: 'generated',
discussion_number: 17,
comment_number: 14,
reaction_id: 11,
);
You can find more about this operation over at the API method documentation.
List reactions for a team discussion
Using the call
method:
$client->call('GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', [
'org' => 'generated',
'team_slug' => 'generated',
'discussion_number' => 17,
'content' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->reactions()->listForTeamDiscussionInOrg( org: 'generated',
team_slug: 'generated',
discussion_number: 17,
content: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List reactions for a team discussion
Using the call
method:
$client->call('LIST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', [
'org' => 'generated',
'team_slug' => 'generated',
'discussion_number' => 17,
'content' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->reactions()->listForTeamDiscussionInOrgListing( org: 'generated',
team_slug: 'generated',
discussion_number: 17,
content: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create reaction for a team discussion
Using the call
method:
$client->call('POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions', [
'org' => 'generated',
'team_slug' => 'generated',
'discussion_number' => 17,
]);
Operations method:
$client->operations()->reactions()->createForTeamDiscussionInOrg( org: 'generated',
team_slug: 'generated',
discussion_number: 17,
);
You can find more about this operation over at the API method documentation.
Delete team discussion reaction
Using the call
method:
$client->call('DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}', [
'org' => 'generated',
'team_slug' => 'generated',
'discussion_number' => 17,
'reaction_id' => 11,
]);
Operations method:
$client->operations()->reactions()->deleteForTeamDiscussion( org: 'generated',
team_slug: 'generated',
discussion_number: 17,
reaction_id: 11,
);
You can find more about this operation over at the API method documentation.
Remove the connection between an external group and a team
Using the call
method:
$client->call('DELETE /orgs/{org}/teams/{team_slug}/external-groups', [
'org' => 'generated',
'team_slug' => 'generated',
]);
Operations method:
$client->operations()->teams()->unlinkExternalIdpGroupFromTeamForOrg( org: 'generated',
team_slug: 'generated',
);
You can find more about this operation over at the API method documentation.
Update the connection between an external group and a team
Using the call
method:
$client->call('PATCH /orgs/{org}/teams/{team_slug}/external-groups', [
'org' => 'generated',
'team_slug' => 'generated',
]);
Operations method:
$client->operations()->teams()->linkExternalIdpGroupToTeamForOrg( org: 'generated',
team_slug: 'generated',
);
You can find more about this operation over at the API method documentation.
List team members
Using the call
method:
$client->call('GET /orgs/{org}/teams/{team_slug}/members', [
'org' => 'generated',
'team_slug' => 'generated',
'role' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listMembersInOrg( org: 'generated',
team_slug: 'generated',
role: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List team members
Using the call
method:
$client->call('LIST /orgs/{org}/teams/{team_slug}/members', [
'org' => 'generated',
'team_slug' => 'generated',
'role' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listMembersInOrgListing( org: 'generated',
team_slug: 'generated',
role: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get team membership for a user
Using the call
method:
$client->call('GET /orgs/{org}/teams/{team_slug}/memberships/{username}', [
'org' => 'generated',
'team_slug' => 'generated',
'username' => 'generated',
]);
Operations method:
$client->operations()->teams()->getMembershipForUserInOrg( org: 'generated',
team_slug: 'generated',
username: 'generated',
);
You can find more about this operation over at the API method documentation.
Add or update team membership for a user
Using the call
method:
$client->call('PUT /orgs/{org}/teams/{team_slug}/memberships/{username}', [
'org' => 'generated',
'team_slug' => 'generated',
'username' => 'generated',
]);
Operations method:
$client->operations()->teams()->addOrUpdateMembershipForUserInOrg( org: 'generated',
team_slug: 'generated',
username: 'generated',
);
You can find more about this operation over at the API method documentation.
Remove team membership for a user
Using the call
method:
$client->call('DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}', [
'org' => 'generated',
'team_slug' => 'generated',
'username' => 'generated',
]);
Operations method:
$client->operations()->teams()->removeMembershipForUserInOrg( org: 'generated',
team_slug: 'generated',
username: 'generated',
);
You can find more about this operation over at the API method documentation.
List team projects
Using the call
method:
$client->call('GET /orgs/{org}/teams/{team_slug}/projects', [
'org' => 'generated',
'team_slug' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listProjectsInOrg( org: 'generated',
team_slug: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List team projects
Using the call
method:
$client->call('LIST /orgs/{org}/teams/{team_slug}/projects', [
'org' => 'generated',
'team_slug' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listProjectsInOrgListing( org: 'generated',
team_slug: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Check team permissions for a project
Using the call
method:
$client->call('GET /orgs/{org}/teams/{team_slug}/projects/{project_id}', [
'org' => 'generated',
'team_slug' => 'generated',
'project_id' => 10,
]);
Operations method:
$client->operations()->teams()->checkPermissionsForProjectInOrg( org: 'generated',
team_slug: 'generated',
project_id: 10,
);
You can find more about this operation over at the API method documentation.
Add or update team project permissions
Using the call
method:
$client->call('PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}', [
'org' => 'generated',
'team_slug' => 'generated',
'project_id' => 10,
]);
Operations method:
$client->operations()->teams()->addOrUpdateProjectPermissionsInOrg( org: 'generated',
team_slug: 'generated',
project_id: 10,
);
You can find more about this operation over at the API method documentation.
Remove a project from a team
Using the call
method:
$client->call('DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}', [
'org' => 'generated',
'team_slug' => 'generated',
'project_id' => 10,
]);
Operations method:
$client->operations()->teams()->removeProjectInOrg( org: 'generated',
team_slug: 'generated',
project_id: 10,
);
You can find more about this operation over at the API method documentation.
List team repositories
Using the call
method:
$client->call('GET /orgs/{org}/teams/{team_slug}/repos', [
'org' => 'generated',
'team_slug' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listReposInOrg( org: 'generated',
team_slug: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List team repositories
Using the call
method:
$client->call('LIST /orgs/{org}/teams/{team_slug}/repos', [
'org' => 'generated',
'team_slug' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listReposInOrgListing( org: 'generated',
team_slug: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Check team permissions for a repository
Using the call
method:
$client->call('GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}', [
'org' => 'generated',
'team_slug' => 'generated',
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->teams()->checkPermissionsForRepoInOrg( org: 'generated',
team_slug: 'generated',
owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Add or update team repository permissions
Using the call
method:
$client->call('PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}', [
'org' => 'generated',
'team_slug' => 'generated',
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->teams()->addOrUpdateRepoPermissionsInOrg( org: 'generated',
team_slug: 'generated',
owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Remove a repository from a team
Using the call
method:
$client->call('DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}', [
'org' => 'generated',
'team_slug' => 'generated',
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->teams()->removeRepoInOrg( org: 'generated',
team_slug: 'generated',
owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
List child teams
Using the call
method:
$client->call('GET /orgs/{org}/teams/{team_slug}/teams', [
'org' => 'generated',
'team_slug' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listChildInOrg( org: 'generated',
team_slug: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List child teams
Using the call
method:
$client->call('LIST /orgs/{org}/teams/{team_slug}/teams', [
'org' => 'generated',
'team_slug' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listChildInOrgListing( org: 'generated',
team_slug: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get a project card
Using the call
method:
$client->call('GET /projects/columns/cards/{card_id}', [
'card_id' => 7,
]);
Operations method:
$client->operations()->projects()->getCard( card_id: 7,
);
You can find more about this operation over at the API method documentation.
Delete a project card
Using the call
method:
$client->call('DELETE /projects/columns/cards/{card_id}', [
'card_id' => 7,
]);
Operations method:
$client->operations()->projects()->deleteCard( card_id: 7,
);
You can find more about this operation over at the API method documentation.
Update an existing project card
Using the call
method:
$client->call('PATCH /projects/columns/cards/{card_id}', [
'card_id' => 7,
]);
Operations method:
$client->operations()->projects()->updateCard( card_id: 7,
);
You can find more about this operation over at the API method documentation.
Move a project card
Using the call
method:
$client->call('POST /projects/columns/cards/{card_id}/moves', [
'card_id' => 7,
]);
Operations method:
$client->operations()->projects()->moveCard( card_id: 7,
);
You can find more about this operation over at the API method documentation.
Get a project column
Using the call
method:
$client->call('GET /projects/columns/{column_id}', [
'column_id' => 9,
]);
Operations method:
$client->operations()->projects()->getColumn( column_id: 9,
);
You can find more about this operation over at the API method documentation.
Delete a project column
Using the call
method:
$client->call('DELETE /projects/columns/{column_id}', [
'column_id' => 9,
]);
Operations method:
$client->operations()->projects()->deleteColumn( column_id: 9,
);
You can find more about this operation over at the API method documentation.
Update an existing project column
Using the call
method:
$client->call('PATCH /projects/columns/{column_id}', [
'column_id' => 9,
]);
Operations method:
$client->operations()->projects()->updateColumn( column_id: 9,
);
You can find more about this operation over at the API method documentation.
List project cards
Using the call
method:
$client->call('GET /projects/columns/{column_id}/cards', [
'column_id' => 9,
'archived_state' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->projects()->listCards( column_id: 9,
archived_state: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List project cards
Using the call
method:
$client->call('LIST /projects/columns/{column_id}/cards', [
'column_id' => 9,
'archived_state' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->projects()->listCardsListing( column_id: 9,
archived_state: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a project card
Using the call
method:
$client->call('POST /projects/columns/{column_id}/cards', [
'column_id' => 9,
]);
Operations method:
$client->operations()->projects()->createCard( column_id: 9,
);
You can find more about this operation over at the API method documentation.
Move a project column
Using the call
method:
$client->call('POST /projects/columns/{column_id}/moves', [
'column_id' => 9,
]);
Operations method:
$client->operations()->projects()->moveColumn( column_id: 9,
);
You can find more about this operation over at the API method documentation.
Get a project
Using the call
method:
$client->call('GET /projects/{project_id}', [
'project_id' => 10,
]);
Operations method:
$client->operations()->projects()->get( project_id: 10,
);
You can find more about this operation over at the API method documentation.
Delete a project
Using the call
method:
$client->call('DELETE /projects/{project_id}', [
'project_id' => 10,
]);
Operations method:
$client->operations()->projects()->delete( project_id: 10,
);
You can find more about this operation over at the API method documentation.
Update a project
Using the call
method:
$client->call('PATCH /projects/{project_id}', [
'project_id' => 10,
]);
Operations method:
$client->operations()->projects()->update( project_id: 10,
);
You can find more about this operation over at the API method documentation.
List project collaborators
Using the call
method:
$client->call('GET /projects/{project_id}/collaborators', [
'project_id' => 10,
'affiliation' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->projects()->listCollaborators( project_id: 10,
affiliation: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List project collaborators
Using the call
method:
$client->call('LIST /projects/{project_id}/collaborators', [
'project_id' => 10,
'affiliation' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->projects()->listCollaboratorsListing( project_id: 10,
affiliation: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Add project collaborator
Using the call
method:
$client->call('PUT /projects/{project_id}/collaborators/{username}', [
'project_id' => 10,
'username' => 'generated',
]);
Operations method:
$client->operations()->projects()->addCollaborator( project_id: 10,
username: 'generated',
);
You can find more about this operation over at the API method documentation.
Remove user as a collaborator
Using the call
method:
$client->call('DELETE /projects/{project_id}/collaborators/{username}', [
'project_id' => 10,
'username' => 'generated',
]);
Operations method:
$client->operations()->projects()->removeCollaborator( project_id: 10,
username: 'generated',
);
You can find more about this operation over at the API method documentation.
Get project permission for a user
Using the call
method:
$client->call('GET /projects/{project_id}/collaborators/{username}/permission', [
'project_id' => 10,
'username' => 'generated',
]);
Operations method:
$client->operations()->projects()->getPermissionForUser( project_id: 10,
username: 'generated',
);
You can find more about this operation over at the API method documentation.
List project columns
Using the call
method:
$client->call('GET /projects/{project_id}/columns', [
'project_id' => 10,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->projects()->listColumns( project_id: 10,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List project columns
Using the call
method:
$client->call('LIST /projects/{project_id}/columns', [
'project_id' => 10,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->projects()->listColumnsListing( project_id: 10,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a project column
Using the call
method:
$client->call('POST /projects/{project_id}/columns', [
'project_id' => 10,
]);
Operations method:
$client->operations()->projects()->createColumn( project_id: 10,
);
You can find more about this operation over at the API method documentation.
Get rate limit status for the authenticated user
Using the call
method:
$client->call('GET /rate_limit');
Operations method:
$client->operations()->rateLimit()->get();
You can find more about this operation over at the API method documentation.
Get a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->get( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete a repository
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->delete( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Update a repository
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->update( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
List artifacts for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/artifacts', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->actions()->listArtifactsForRepo( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get an artifact
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}', [
'owner' => 'generated',
'repo' => 'generated',
'artifact_id' => 11,
]);
Operations method:
$client->operations()->actions()->getArtifact( owner: 'generated',
repo: 'generated',
artifact_id: 11,
);
You can find more about this operation over at the API method documentation.
Delete an artifact
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}', [
'owner' => 'generated',
'repo' => 'generated',
'artifact_id' => 11,
]);
Operations method:
$client->operations()->actions()->deleteArtifact( owner: 'generated',
repo: 'generated',
artifact_id: 11,
);
You can find more about this operation over at the API method documentation.
Download an artifact
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}', [
'owner' => 'generated',
'repo' => 'generated',
'artifact_id' => 11,
'archive_format' => 'generated',
]);
Operations method:
$client->operations()->actions()->downloadArtifact( owner: 'generated',
repo: 'generated',
artifact_id: 11,
archive_format: 'generated',
);
You can find more about this operation over at the API method documentation.
Download an artifact
Using the call
method:
$client->call('STREAM /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}', [
'owner' => 'generated',
'repo' => 'generated',
'artifact_id' => 11,
'archive_format' => 'generated',
]);
Operations method:
$client->operations()->actions()->downloadArtifactStreaming( owner: 'generated',
repo: 'generated',
artifact_id: 11,
archive_format: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a job for a workflow run
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/jobs/{job_id}', [
'owner' => 'generated',
'repo' => 'generated',
'job_id' => 6,
]);
Operations method:
$client->operations()->actions()->getJobForWorkflowRun( owner: 'generated',
repo: 'generated',
job_id: 6,
);
You can find more about this operation over at the API method documentation.
Download job logs for a workflow run
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs', [
'owner' => 'generated',
'repo' => 'generated',
'job_id' => 6,
]);
Operations method:
$client->operations()->actions()->downloadJobLogsForWorkflowRun( owner: 'generated',
repo: 'generated',
job_id: 6,
);
You can find more about this operation over at the API method documentation.
Download job logs for a workflow run
Using the call
method:
$client->call('STREAM /repos/{owner}/{repo}/actions/jobs/{job_id}/logs', [
'owner' => 'generated',
'repo' => 'generated',
'job_id' => 6,
]);
Operations method:
$client->operations()->actions()->downloadJobLogsForWorkflowRunStreaming( owner: 'generated',
repo: 'generated',
job_id: 6,
);
You can find more about this operation over at the API method documentation.
List repository organization secrets
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/organization-secrets', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->actions()->listRepoOrganizationSecrets( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get GitHub Actions permissions for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/permissions', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->actions()->getGithubActionsPermissionsRepository( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Set GitHub Actions permissions for a repository
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/actions/permissions', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->actions()->setGithubActionsPermissionsRepository( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get allowed actions for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/permissions/selected-actions', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->actions()->getAllowedActionsRepository( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Set allowed actions for a repository
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/actions/permissions/selected-actions', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->actions()->setAllowedActionsRepository( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
List self-hosted runners for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/runners', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->actions()->listSelfHostedRunnersForRepo( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List runner applications for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/runners/downloads', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->actions()->listRunnerApplicationsForRepo( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Create a registration token for a repository
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/actions/runners/registration-token', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->actions()->createRegistrationTokenForRepo( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Create a remove token for a repository
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/actions/runners/remove-token', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->actions()->createRemoveTokenForRepo( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a self-hosted runner for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/runners/{runner_id}', [
'owner' => 'generated',
'repo' => 'generated',
'runner_id' => 9,
]);
Operations method:
$client->operations()->actions()->getSelfHostedRunnerForRepo( owner: 'generated',
repo: 'generated',
runner_id: 9,
);
You can find more about this operation over at the API method documentation.
Delete a self-hosted runner from a repository
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}', [
'owner' => 'generated',
'repo' => 'generated',
'runner_id' => 9,
]);
Operations method:
$client->operations()->actions()->deleteSelfHostedRunnerFromRepo( owner: 'generated',
repo: 'generated',
runner_id: 9,
);
You can find more about this operation over at the API method documentation.
List workflow runs for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/runs', [
'owner' => 'generated',
'repo' => 'generated',
'actor' => 'generated',
'branch' => 'generated',
'event' => 'generated',
'status' => 'generated',
'created' => '1970-01-01T00:00:00+00:00',
'check_suite_id' => 14,
'head_sha' => 'generated',
'per_page' => 8,
'page' => 1,
'exclude_pull_requests' => ,
]);
Operations method:
$client->operations()->actions()->listWorkflowRunsForRepo( owner: 'generated',
repo: 'generated',
actor: 'generated',
branch: 'generated',
event: 'generated',
status: 'generated',
created: '1970-01-01T00:00:00+00:00',
check_suite_id: 14,
head_sha: 'generated',
per_page: 8,
page: 1,
exclude_pull_requests: ,
);
You can find more about this operation over at the API method documentation.
Get a workflow run
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}', [
'owner' => 'generated',
'repo' => 'generated',
'run_id' => 6,
'exclude_pull_requests' => ,
]);
Operations method:
$client->operations()->actions()->getWorkflowRun( owner: 'generated',
repo: 'generated',
run_id: 6,
exclude_pull_requests: ,
);
You can find more about this operation over at the API method documentation.
Delete a workflow run
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/actions/runs/{run_id}', [
'owner' => 'generated',
'repo' => 'generated',
'run_id' => 6,
]);
Operations method:
$client->operations()->actions()->deleteWorkflowRun( owner: 'generated',
repo: 'generated',
run_id: 6,
);
You can find more about this operation over at the API method documentation.
List workflow run artifacts
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts', [
'owner' => 'generated',
'repo' => 'generated',
'run_id' => 6,
'name' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->actions()->listWorkflowRunArtifacts( owner: 'generated',
repo: 'generated',
run_id: 6,
name: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get a workflow run attempt
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}', [
'owner' => 'generated',
'repo' => 'generated',
'run_id' => 6,
'attempt_number' => 14,
'exclude_pull_requests' => ,
]);
Operations method:
$client->operations()->actions()->getWorkflowRunAttempt( owner: 'generated',
repo: 'generated',
run_id: 6,
attempt_number: 14,
exclude_pull_requests: ,
);
You can find more about this operation over at the API method documentation.
List jobs for a workflow run attempt
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs', [
'owner' => 'generated',
'repo' => 'generated',
'run_id' => 6,
'attempt_number' => 14,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->actions()->listJobsForWorkflowRunAttempt( owner: 'generated',
repo: 'generated',
run_id: 6,
attempt_number: 14,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Download workflow run attempt logs
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs', [
'owner' => 'generated',
'repo' => 'generated',
'run_id' => 6,
'attempt_number' => 14,
]);
Operations method:
$client->operations()->actions()->downloadWorkflowRunAttemptLogs( owner: 'generated',
repo: 'generated',
run_id: 6,
attempt_number: 14,
);
You can find more about this operation over at the API method documentation.
Download workflow run attempt logs
Using the call
method:
$client->call('STREAM /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs', [
'owner' => 'generated',
'repo' => 'generated',
'run_id' => 6,
'attempt_number' => 14,
]);
Operations method:
$client->operations()->actions()->downloadWorkflowRunAttemptLogsStreaming( owner: 'generated',
repo: 'generated',
run_id: 6,
attempt_number: 14,
);
You can find more about this operation over at the API method documentation.
Cancel a workflow run
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel', [
'owner' => 'generated',
'repo' => 'generated',
'run_id' => 6,
]);
Operations method:
$client->operations()->actions()->cancelWorkflowRun( owner: 'generated',
repo: 'generated',
run_id: 6,
);
You can find more about this operation over at the API method documentation.
Force cancel a workflow run
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel', [
'owner' => 'generated',
'repo' => 'generated',
'run_id' => 6,
]);
Operations method:
$client->operations()->actions()->forceCancelWorkflowRun( owner: 'generated',
repo: 'generated',
run_id: 6,
);
You can find more about this operation over at the API method documentation.
List jobs for a workflow run
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs', [
'owner' => 'generated',
'repo' => 'generated',
'run_id' => 6,
'filter' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->actions()->listJobsForWorkflowRun( owner: 'generated',
repo: 'generated',
run_id: 6,
filter: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Download workflow run logs
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs', [
'owner' => 'generated',
'repo' => 'generated',
'run_id' => 6,
]);
Operations method:
$client->operations()->actions()->downloadWorkflowRunLogs( owner: 'generated',
repo: 'generated',
run_id: 6,
);
You can find more about this operation over at the API method documentation.
Download workflow run logs
Using the call
method:
$client->call('STREAM /repos/{owner}/{repo}/actions/runs/{run_id}/logs', [
'owner' => 'generated',
'repo' => 'generated',
'run_id' => 6,
]);
Operations method:
$client->operations()->actions()->downloadWorkflowRunLogsStreaming( owner: 'generated',
repo: 'generated',
run_id: 6,
);
You can find more about this operation over at the API method documentation.
Delete workflow run logs
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs', [
'owner' => 'generated',
'repo' => 'generated',
'run_id' => 6,
]);
Operations method:
$client->operations()->actions()->deleteWorkflowRunLogs( owner: 'generated',
repo: 'generated',
run_id: 6,
);
You can find more about this operation over at the API method documentation.
Re-run a workflow
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun', [
'owner' => 'generated',
'repo' => 'generated',
'run_id' => 6,
]);
Operations method:
$client->operations()->actions()->reRunWorkflow( owner: 'generated',
repo: 'generated',
run_id: 6,
);
You can find more about this operation over at the API method documentation.
Get workflow run usage
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing', [
'owner' => 'generated',
'repo' => 'generated',
'run_id' => 6,
]);
Operations method:
$client->operations()->actions()->getWorkflowRunUsage( owner: 'generated',
repo: 'generated',
run_id: 6,
);
You can find more about this operation over at the API method documentation.
List repository secrets
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/secrets', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->actions()->listRepoSecrets( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get a repository public key
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/secrets/public-key', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->actions()->getRepoPublicKey( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a repository secret
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/secrets/{secret_name}', [
'owner' => 'generated',
'repo' => 'generated',
'secret_name' => 'generated',
]);
Operations method:
$client->operations()->actions()->getRepoSecret( owner: 'generated',
repo: 'generated',
secret_name: 'generated',
);
You can find more about this operation over at the API method documentation.
Create or update a repository secret
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}', [
'owner' => 'generated',
'repo' => 'generated',
'secret_name' => 'generated',
]);
Operations method:
$client->operations()->actions()->createOrUpdateRepoSecret( owner: 'generated',
repo: 'generated',
secret_name: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete a repository secret
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}', [
'owner' => 'generated',
'repo' => 'generated',
'secret_name' => 'generated',
]);
Operations method:
$client->operations()->actions()->deleteRepoSecret( owner: 'generated',
repo: 'generated',
secret_name: 'generated',
);
You can find more about this operation over at the API method documentation.
List repository workflows
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/workflows', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->actions()->listRepoWorkflows( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get a workflow
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}', [
'owner' => 'generated',
'repo' => 'generated',
'workflow_id' => ,
]);
Operations method:
$client->operations()->actions()->getWorkflow( owner: 'generated',
repo: 'generated',
workflow_id: ,
);
You can find more about this operation over at the API method documentation.
Disable a workflow
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable', [
'owner' => 'generated',
'repo' => 'generated',
'workflow_id' => ,
]);
Operations method:
$client->operations()->actions()->disableWorkflow( owner: 'generated',
repo: 'generated',
workflow_id: ,
);
You can find more about this operation over at the API method documentation.
Create a workflow dispatch event
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches', [
'owner' => 'generated',
'repo' => 'generated',
'workflow_id' => ,
]);
Operations method:
$client->operations()->actions()->createWorkflowDispatch( owner: 'generated',
repo: 'generated',
workflow_id: ,
);
You can find more about this operation over at the API method documentation.
Enable a workflow
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable', [
'owner' => 'generated',
'repo' => 'generated',
'workflow_id' => ,
]);
Operations method:
$client->operations()->actions()->enableWorkflow( owner: 'generated',
repo: 'generated',
workflow_id: ,
);
You can find more about this operation over at the API method documentation.
List workflow runs for a workflow
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs', [
'owner' => 'generated',
'repo' => 'generated',
'workflow_id' => ,
'actor' => 'generated',
'branch' => 'generated',
'event' => 'generated',
'status' => 'generated',
'created' => '1970-01-01T00:00:00+00:00',
'check_suite_id' => 14,
'head_sha' => 'generated',
'per_page' => 8,
'page' => 1,
'exclude_pull_requests' => ,
]);
Operations method:
$client->operations()->actions()->listWorkflowRuns( owner: 'generated',
repo: 'generated',
workflow_id: ,
actor: 'generated',
branch: 'generated',
event: 'generated',
status: 'generated',
created: '1970-01-01T00:00:00+00:00',
check_suite_id: 14,
head_sha: 'generated',
per_page: 8,
page: 1,
exclude_pull_requests: ,
);
You can find more about this operation over at the API method documentation.
Get workflow usage
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing', [
'owner' => 'generated',
'repo' => 'generated',
'workflow_id' => ,
]);
Operations method:
$client->operations()->actions()->getWorkflowUsage( owner: 'generated',
repo: 'generated',
workflow_id: ,
);
You can find more about this operation over at the API method documentation.
List assignees
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/assignees', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listAssignees( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List assignees
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/assignees', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listAssigneesListing( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Check if a user can be assigned
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/assignees/{assignee}', [
'owner' => 'generated',
'repo' => 'generated',
'assignee' => 'generated',
]);
Operations method:
$client->operations()->issues()->checkUserCanBeAssigned( owner: 'generated',
repo: 'generated',
assignee: 'generated',
);
You can find more about this operation over at the API method documentation.
Get all autolinks of a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/autolinks', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->listAutolinks( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Create an autolink reference for a repository
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/autolinks', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->createAutolink( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get an autolink reference of a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/autolinks/{autolink_id}', [
'owner' => 'generated',
'repo' => 'generated',
'autolink_id' => 11,
]);
Operations method:
$client->operations()->repos()->getAutolink( owner: 'generated',
repo: 'generated',
autolink_id: 11,
);
You can find more about this operation over at the API method documentation.
Delete an autolink reference from a repository
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}', [
'owner' => 'generated',
'repo' => 'generated',
'autolink_id' => 11,
]);
Operations method:
$client->operations()->repos()->deleteAutolink( owner: 'generated',
repo: 'generated',
autolink_id: 11,
);
You can find more about this operation over at the API method documentation.
List branches
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/branches', [
'owner' => 'generated',
'repo' => 'generated',
'protected' => ,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listBranches( owner: 'generated',
repo: 'generated',
protected: ,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List branches
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/branches', [
'owner' => 'generated',
'repo' => 'generated',
'protected' => ,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listBranchesListing( owner: 'generated',
repo: 'generated',
protected: ,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get a branch
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/branches/{branch}', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->getBranch( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Get branch protection
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->getBranchProtection( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Update branch protection
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/branches/{branch}/protection', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->updateBranchProtection( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete branch protection
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->deleteBranchProtection( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Get admin branch protection
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->getAdminBranchProtection( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Set admin branch protection
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->setAdminBranchProtection( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete admin branch protection
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->deleteAdminBranchProtection( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Get pull request review protection
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->getPullRequestReviewProtection( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete pull request review protection
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->deletePullRequestReviewProtection( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Update pull request review protection
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->updatePullRequestReviewProtection( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Get commit signature protection
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->getCommitSignatureProtection( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Create commit signature protection
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->createCommitSignatureProtection( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete commit signature protection
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->deleteCommitSignatureProtection( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Get status checks protection
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->getStatusChecksProtection( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Remove status check protection
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->removeStatusCheckProtection( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Update status check protection
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->updateStatusCheckProtection( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Get all status check contexts
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->getAllStatusCheckContexts( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Set status check contexts
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->setStatusCheckContexts( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Add status check contexts
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->addStatusCheckContexts( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Remove status check contexts
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->removeStatusCheckContexts( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Get access restrictions
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->getAccessRestrictions( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete access restrictions
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->deleteAccessRestrictions( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Get apps with access to the protected branch
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->getAppsWithAccessToProtectedBranch( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Set app access restrictions
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->setAppAccessRestrictions( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Add app access restrictions
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->addAppAccessRestrictions( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Remove app access restrictions
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->removeAppAccessRestrictions( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Get teams with access to the protected branch
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->getTeamsWithAccessToProtectedBranch( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Set team access restrictions
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->setTeamAccessRestrictions( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Add team access restrictions
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->addTeamAccessRestrictions( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Remove team access restrictions
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->removeTeamAccessRestrictions( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Get users with access to the protected branch
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->getUsersWithAccessToProtectedBranch( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Set user access restrictions
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->setUserAccessRestrictions( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Add user access restrictions
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->addUserAccessRestrictions( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Remove user access restrictions
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->removeUserAccessRestrictions( owner: 'generated',
repo: 'generated',
branch: 'generated',
);
You can find more about this operation over at the API method documentation.
Create a check run
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/check-runs', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->checks()->create( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a check run
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/check-runs/{check_run_id}', [
'owner' => 'generated',
'repo' => 'generated',
'check_run_id' => 12,
]);
Operations method:
$client->operations()->checks()->get( owner: 'generated',
repo: 'generated',
check_run_id: 12,
);
You can find more about this operation over at the API method documentation.
Update a check run
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}', [
'owner' => 'generated',
'repo' => 'generated',
'check_run_id' => 12,
]);
Operations method:
$client->operations()->checks()->update( owner: 'generated',
repo: 'generated',
check_run_id: 12,
);
You can find more about this operation over at the API method documentation.
List check run annotations
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations', [
'owner' => 'generated',
'repo' => 'generated',
'check_run_id' => 12,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->checks()->listAnnotations( owner: 'generated',
repo: 'generated',
check_run_id: 12,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List check run annotations
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations', [
'owner' => 'generated',
'repo' => 'generated',
'check_run_id' => 12,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->checks()->listAnnotationsListing( owner: 'generated',
repo: 'generated',
check_run_id: 12,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Rerequest a check run
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest', [
'owner' => 'generated',
'repo' => 'generated',
'check_run_id' => 12,
]);
Operations method:
$client->operations()->checks()->rerequestRun( owner: 'generated',
repo: 'generated',
check_run_id: 12,
);
You can find more about this operation over at the API method documentation.
Create a check suite
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/check-suites', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->checks()->createSuite( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Update repository preferences for check suites
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}/check-suites/preferences', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->checks()->setSuitesPreferences( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a check suite
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/check-suites/{check_suite_id}', [
'owner' => 'generated',
'repo' => 'generated',
'check_suite_id' => 14,
]);
Operations method:
$client->operations()->checks()->getSuite( owner: 'generated',
repo: 'generated',
check_suite_id: 14,
);
You can find more about this operation over at the API method documentation.
List check runs in a check suite
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs', [
'owner' => 'generated',
'repo' => 'generated',
'check_suite_id' => 14,
'check_name' => 'generated',
'status' => 'generated',
'filter' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->checks()->listForSuite( owner: 'generated',
repo: 'generated',
check_suite_id: 14,
check_name: 'generated',
status: 'generated',
filter: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Rerequest a check suite
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest', [
'owner' => 'generated',
'repo' => 'generated',
'check_suite_id' => 14,
]);
Operations method:
$client->operations()->checks()->rerequestSuite( owner: 'generated',
repo: 'generated',
check_suite_id: 14,
);
You can find more about this operation over at the API method documentation.
List code scanning alerts for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/code-scanning/alerts', [
'owner' => 'generated',
'repo' => 'generated',
'tool_name' => 'generated',
'tool_guid' => ,
'ref' => 'generated',
'state' => 'generated',
'severity' => 'generated',
'page' => 1,
'per_page' => 8,
'direction' => 'generated',
'sort' => 'generated',
]);
Operations method:
$client->operations()->codeScanning()->listAlertsForRepo( owner: 'generated',
repo: 'generated',
tool_name: 'generated',
tool_guid: ,
ref: 'generated',
state: 'generated',
severity: 'generated',
page: 1,
per_page: 8,
direction: 'generated',
sort: 'generated',
);
You can find more about this operation over at the API method documentation.
List code scanning alerts for a repository
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/code-scanning/alerts', [
'owner' => 'generated',
'repo' => 'generated',
'tool_name' => 'generated',
'tool_guid' => ,
'ref' => 'generated',
'state' => 'generated',
'severity' => 'generated',
'page' => 1,
'per_page' => 8,
'direction' => 'generated',
'sort' => 'generated',
]);
Operations method:
$client->operations()->codeScanning()->listAlertsForRepoListing( owner: 'generated',
repo: 'generated',
tool_name: 'generated',
tool_guid: ,
ref: 'generated',
state: 'generated',
severity: 'generated',
page: 1,
per_page: 8,
direction: 'generated',
sort: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a code scanning alert
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}', [
'owner' => 'generated',
'repo' => 'generated',
'alert_number' => 12,
]);
Operations method:
$client->operations()->codeScanning()->getAlert( owner: 'generated',
repo: 'generated',
alert_number: 12,
);
You can find more about this operation over at the API method documentation.
Update a code scanning alert
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}', [
'owner' => 'generated',
'repo' => 'generated',
'alert_number' => 12,
]);
Operations method:
$client->operations()->codeScanning()->updateAlert( owner: 'generated',
repo: 'generated',
alert_number: 12,
);
You can find more about this operation over at the API method documentation.
List instances of a code scanning alert
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances', [
'owner' => 'generated',
'repo' => 'generated',
'alert_number' => 12,
'ref' => 'generated',
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->codeScanning()->listAlertInstances( owner: 'generated',
repo: 'generated',
alert_number: 12,
ref: 'generated',
page: 1,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
List instances of a code scanning alert
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances', [
'owner' => 'generated',
'repo' => 'generated',
'alert_number' => 12,
'ref' => 'generated',
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->codeScanning()->listAlertInstancesListing( owner: 'generated',
repo: 'generated',
alert_number: 12,
ref: 'generated',
page: 1,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
List code scanning analyses for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/code-scanning/analyses', [
'owner' => 'generated',
'repo' => 'generated',
'tool_name' => 'generated',
'tool_guid' => ,
'ref' => 'generated',
'sarif_id' => 'generated',
'page' => 1,
'per_page' => 8,
'direction' => 'generated',
'sort' => 'generated',
]);
Operations method:
$client->operations()->codeScanning()->listRecentAnalyses( owner: 'generated',
repo: 'generated',
tool_name: 'generated',
tool_guid: ,
ref: 'generated',
sarif_id: 'generated',
page: 1,
per_page: 8,
direction: 'generated',
sort: 'generated',
);
You can find more about this operation over at the API method documentation.
List code scanning analyses for a repository
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/code-scanning/analyses', [
'owner' => 'generated',
'repo' => 'generated',
'tool_name' => 'generated',
'tool_guid' => ,
'ref' => 'generated',
'sarif_id' => 'generated',
'page' => 1,
'per_page' => 8,
'direction' => 'generated',
'sort' => 'generated',
]);
Operations method:
$client->operations()->codeScanning()->listRecentAnalysesListing( owner: 'generated',
repo: 'generated',
tool_name: 'generated',
tool_guid: ,
ref: 'generated',
sarif_id: 'generated',
page: 1,
per_page: 8,
direction: 'generated',
sort: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a code scanning analysis for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}', [
'owner' => 'generated',
'repo' => 'generated',
'analysis_id' => 11,
]);
Operations method:
$client->operations()->codeScanning()->getAnalysis( owner: 'generated',
repo: 'generated',
analysis_id: 11,
);
You can find more about this operation over at the API method documentation.
Delete a code scanning analysis from a repository
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}', [
'owner' => 'generated',
'repo' => 'generated',
'analysis_id' => 11,
'confirm_delete' => ,
]);
Operations method:
$client->operations()->codeScanning()->deleteAnalysis( owner: 'generated',
repo: 'generated',
analysis_id: 11,
confirm_delete: ,
);
You can find more about this operation over at the API method documentation.
Upload an analysis as SARIF data
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/code-scanning/sarifs', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->codeScanning()->uploadSarif( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get information about a SARIF upload
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}', [
'owner' => 'generated',
'repo' => 'generated',
'sarif_id' => 'generated',
]);
Operations method:
$client->operations()->codeScanning()->getSarif( owner: 'generated',
repo: 'generated',
sarif_id: 'generated',
);
You can find more about this operation over at the API method documentation.
List CODEOWNERS errors
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/codeowners/errors', [
'owner' => 'generated',
'repo' => 'generated',
'ref' => 'generated',
]);
Operations method:
$client->operations()->repos()->codeownersErrors( owner: 'generated',
repo: 'generated',
ref: 'generated',
);
You can find more about this operation over at the API method documentation.
List repository collaborators
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/collaborators', [
'owner' => 'generated',
'repo' => 'generated',
'permission' => 'generated',
'affiliation' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listCollaborators( owner: 'generated',
repo: 'generated',
permission: 'generated',
affiliation: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List repository collaborators
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/collaborators', [
'owner' => 'generated',
'repo' => 'generated',
'permission' => 'generated',
'affiliation' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listCollaboratorsListing( owner: 'generated',
repo: 'generated',
permission: 'generated',
affiliation: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Check if a user is a repository collaborator
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/collaborators/{username}', [
'owner' => 'generated',
'repo' => 'generated',
'username' => 'generated',
]);
Operations method:
$client->operations()->repos()->checkCollaborator( owner: 'generated',
repo: 'generated',
username: 'generated',
);
You can find more about this operation over at the API method documentation.
Add a repository collaborator
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/collaborators/{username}', [
'owner' => 'generated',
'repo' => 'generated',
'username' => 'generated',
]);
Operations method:
$client->operations()->repos()->addCollaborator( owner: 'generated',
repo: 'generated',
username: 'generated',
);
You can find more about this operation over at the API method documentation.
Remove a repository collaborator
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/collaborators/{username}', [
'owner' => 'generated',
'repo' => 'generated',
'username' => 'generated',
]);
Operations method:
$client->operations()->repos()->removeCollaborator( owner: 'generated',
repo: 'generated',
username: 'generated',
);
You can find more about this operation over at the API method documentation.
Get repository permissions for a user
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/collaborators/{username}/permission', [
'owner' => 'generated',
'repo' => 'generated',
'username' => 'generated',
]);
Operations method:
$client->operations()->repos()->getCollaboratorPermissionLevel( owner: 'generated',
repo: 'generated',
username: 'generated',
);
You can find more about this operation over at the API method documentation.
List commit comments for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/comments', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listCommitCommentsForRepo( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List commit comments for a repository
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/comments', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listCommitCommentsForRepoListing( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get a commit comment
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/comments/{comment_id}', [
'owner' => 'generated',
'repo' => 'generated',
'comment_id' => 10,
]);
Operations method:
$client->operations()->repos()->getCommitComment( owner: 'generated',
repo: 'generated',
comment_id: 10,
);
You can find more about this operation over at the API method documentation.
Delete a commit comment
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/comments/{comment_id}', [
'owner' => 'generated',
'repo' => 'generated',
'comment_id' => 10,
]);
Operations method:
$client->operations()->repos()->deleteCommitComment( owner: 'generated',
repo: 'generated',
comment_id: 10,
);
You can find more about this operation over at the API method documentation.
Update a commit comment
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}/comments/{comment_id}', [
'owner' => 'generated',
'repo' => 'generated',
'comment_id' => 10,
]);
Operations method:
$client->operations()->repos()->updateCommitComment( owner: 'generated',
repo: 'generated',
comment_id: 10,
);
You can find more about this operation over at the API method documentation.
List reactions for a commit comment
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/comments/{comment_id}/reactions', [
'owner' => 'generated',
'repo' => 'generated',
'comment_id' => 10,
'content' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->reactions()->listForCommitComment( owner: 'generated',
repo: 'generated',
comment_id: 10,
content: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List reactions for a commit comment
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/comments/{comment_id}/reactions', [
'owner' => 'generated',
'repo' => 'generated',
'comment_id' => 10,
'content' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->reactions()->listForCommitCommentListing( owner: 'generated',
repo: 'generated',
comment_id: 10,
content: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create reaction for a commit comment
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/comments/{comment_id}/reactions', [
'owner' => 'generated',
'repo' => 'generated',
'comment_id' => 10,
]);
Operations method:
$client->operations()->reactions()->createForCommitComment( owner: 'generated',
repo: 'generated',
comment_id: 10,
);
You can find more about this operation over at the API method documentation.
Delete a commit comment reaction
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}', [
'owner' => 'generated',
'repo' => 'generated',
'comment_id' => 10,
'reaction_id' => 11,
]);
Operations method:
$client->operations()->reactions()->deleteForCommitComment( owner: 'generated',
repo: 'generated',
comment_id: 10,
reaction_id: 11,
);
You can find more about this operation over at the API method documentation.
List commits
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/commits', [
'owner' => 'generated',
'repo' => 'generated',
'sha' => 'generated',
'path' => 'generated',
'author' => 'generated',
'committer' => 'generated',
'since' => '1970-01-01T00:00:00+00:00',
'until' => '1970-01-01T00:00:00+00:00',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listCommits( owner: 'generated',
repo: 'generated',
sha: 'generated',
path: 'generated',
author: 'generated',
committer: 'generated',
since: '1970-01-01T00:00:00+00:00',
until: '1970-01-01T00:00:00+00:00',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List commits
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/commits', [
'owner' => 'generated',
'repo' => 'generated',
'sha' => 'generated',
'path' => 'generated',
'author' => 'generated',
'committer' => 'generated',
'since' => '1970-01-01T00:00:00+00:00',
'until' => '1970-01-01T00:00:00+00:00',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listCommitsListing( owner: 'generated',
repo: 'generated',
sha: 'generated',
path: 'generated',
author: 'generated',
committer: 'generated',
since: '1970-01-01T00:00:00+00:00',
until: '1970-01-01T00:00:00+00:00',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List branches for HEAD commit
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head', [
'owner' => 'generated',
'repo' => 'generated',
'commit_sha' => 'generated',
]);
Operations method:
$client->operations()->repos()->listBranchesForHeadCommit( owner: 'generated',
repo: 'generated',
commit_sha: 'generated',
);
You can find more about this operation over at the API method documentation.
List commit comments
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/commits/{commit_sha}/comments', [
'owner' => 'generated',
'repo' => 'generated',
'commit_sha' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listCommentsForCommit( owner: 'generated',
repo: 'generated',
commit_sha: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List commit comments
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/commits/{commit_sha}/comments', [
'owner' => 'generated',
'repo' => 'generated',
'commit_sha' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listCommentsForCommitListing( owner: 'generated',
repo: 'generated',
commit_sha: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a commit comment
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/commits/{commit_sha}/comments', [
'owner' => 'generated',
'repo' => 'generated',
'commit_sha' => 'generated',
]);
Operations method:
$client->operations()->repos()->createCommitComment( owner: 'generated',
repo: 'generated',
commit_sha: 'generated',
);
You can find more about this operation over at the API method documentation.
List pull requests associated with a commit
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls', [
'owner' => 'generated',
'repo' => 'generated',
'commit_sha' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listPullRequestsAssociatedWithCommit( owner: 'generated',
repo: 'generated',
commit_sha: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List pull requests associated with a commit
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/commits/{commit_sha}/pulls', [
'owner' => 'generated',
'repo' => 'generated',
'commit_sha' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listPullRequestsAssociatedWithCommitListing( owner: 'generated',
repo: 'generated',
commit_sha: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get a commit
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/commits/{ref}', [
'owner' => 'generated',
'repo' => 'generated',
'ref' => 'generated',
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->repos()->getCommit( owner: 'generated',
repo: 'generated',
ref: 'generated',
page: 1,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
List check runs for a Git reference
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/commits/{ref}/check-runs', [
'owner' => 'generated',
'repo' => 'generated',
'ref' => 'generated',
'check_name' => 'generated',
'status' => 'generated',
'app_id' => 6,
'filter' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->checks()->listForRef( owner: 'generated',
repo: 'generated',
ref: 'generated',
check_name: 'generated',
status: 'generated',
app_id: 6,
filter: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List check suites for a Git reference
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/commits/{ref}/check-suites', [
'owner' => 'generated',
'repo' => 'generated',
'ref' => 'generated',
'app_id' => 6,
'check_name' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->checks()->listSuitesForRef( owner: 'generated',
repo: 'generated',
ref: 'generated',
app_id: 6,
check_name: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get the combined status for a specific reference
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/commits/{ref}/status', [
'owner' => 'generated',
'repo' => 'generated',
'ref' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->getCombinedStatusForRef( owner: 'generated',
repo: 'generated',
ref: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List commit statuses for a reference
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/commits/{ref}/statuses', [
'owner' => 'generated',
'repo' => 'generated',
'ref' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listCommitStatusesForRef( owner: 'generated',
repo: 'generated',
ref: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List commit statuses for a reference
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/commits/{ref}/statuses', [
'owner' => 'generated',
'repo' => 'generated',
'ref' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listCommitStatusesForRefListing( owner: 'generated',
repo: 'generated',
ref: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Compare two commits
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/compare/{basehead}', [
'owner' => 'generated',
'repo' => 'generated',
'basehead' => 'generated',
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->repos()->compareCommits( owner: 'generated',
repo: 'generated',
basehead: 'generated',
page: 1,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
Get repository content
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/contents/{path}', [
'owner' => 'generated',
'repo' => 'generated',
'path' => 'generated',
'ref' => 'generated',
]);
Operations method:
$client->operations()->repos()->getContent( owner: 'generated',
repo: 'generated',
path: 'generated',
ref: 'generated',
);
You can find more about this operation over at the API method documentation.
Create or update file contents
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/contents/{path}', [
'owner' => 'generated',
'repo' => 'generated',
'path' => 'generated',
]);
Operations method:
$client->operations()->repos()->createOrUpdateFileContents( owner: 'generated',
repo: 'generated',
path: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete a file
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/contents/{path}', [
'owner' => 'generated',
'repo' => 'generated',
'path' => 'generated',
]);
Operations method:
$client->operations()->repos()->deleteFile( owner: 'generated',
repo: 'generated',
path: 'generated',
);
You can find more about this operation over at the API method documentation.
List repository contributors
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/contributors', [
'owner' => 'generated',
'repo' => 'generated',
'anon' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listContributors( owner: 'generated',
repo: 'generated',
anon: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List repository contributors
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/contributors', [
'owner' => 'generated',
'repo' => 'generated',
'anon' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listContributorsListing( owner: 'generated',
repo: 'generated',
anon: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List deployments
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/deployments', [
'owner' => 'generated',
'repo' => 'generated',
'sha' => 'generated',
'ref' => 'generated',
'task' => 'generated',
'environment' => ,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listDeployments( owner: 'generated',
repo: 'generated',
sha: 'generated',
ref: 'generated',
task: 'generated',
environment: ,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List deployments
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/deployments', [
'owner' => 'generated',
'repo' => 'generated',
'sha' => 'generated',
'ref' => 'generated',
'task' => 'generated',
'environment' => ,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listDeploymentsListing( owner: 'generated',
repo: 'generated',
sha: 'generated',
ref: 'generated',
task: 'generated',
environment: ,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a deployment
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/deployments', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->createDeployment( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a deployment
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/deployments/{deployment_id}', [
'owner' => 'generated',
'repo' => 'generated',
'deployment_id' => 13,
]);
Operations method:
$client->operations()->repos()->getDeployment( owner: 'generated',
repo: 'generated',
deployment_id: 13,
);
You can find more about this operation over at the API method documentation.
Delete a deployment
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/deployments/{deployment_id}', [
'owner' => 'generated',
'repo' => 'generated',
'deployment_id' => 13,
]);
Operations method:
$client->operations()->repos()->deleteDeployment( owner: 'generated',
repo: 'generated',
deployment_id: 13,
);
You can find more about this operation over at the API method documentation.
List deployment statuses
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses', [
'owner' => 'generated',
'repo' => 'generated',
'deployment_id' => 13,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listDeploymentStatuses( owner: 'generated',
repo: 'generated',
deployment_id: 13,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List deployment statuses
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses', [
'owner' => 'generated',
'repo' => 'generated',
'deployment_id' => 13,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listDeploymentStatusesListing( owner: 'generated',
repo: 'generated',
deployment_id: 13,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a deployment status
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses', [
'owner' => 'generated',
'repo' => 'generated',
'deployment_id' => 13,
]);
Operations method:
$client->operations()->repos()->createDeploymentStatus( owner: 'generated',
repo: 'generated',
deployment_id: 13,
);
You can find more about this operation over at the API method documentation.
Get a deployment status
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}', [
'owner' => 'generated',
'repo' => 'generated',
'deployment_id' => 13,
'status_id' => 9,
]);
Operations method:
$client->operations()->repos()->getDeploymentStatus( owner: 'generated',
repo: 'generated',
deployment_id: 13,
status_id: 9,
);
You can find more about this operation over at the API method documentation.
Create a repository dispatch event
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/dispatches', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->createDispatchEvent( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
List environments
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/environments', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->getAllEnvironments( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get an environment
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/environments/{environment_name}', [
'owner' => 'generated',
'repo' => 'generated',
'environment_name' => 'generated',
]);
Operations method:
$client->operations()->repos()->getEnvironment( owner: 'generated',
repo: 'generated',
environment_name: 'generated',
);
You can find more about this operation over at the API method documentation.
Create or update an environment
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/environments/{environment_name}', [
'owner' => 'generated',
'repo' => 'generated',
'environment_name' => 'generated',
]);
Operations method:
$client->operations()->repos()->createOrUpdateEnvironment( owner: 'generated',
repo: 'generated',
environment_name: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete an environment
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/environments/{environment_name}', [
'owner' => 'generated',
'repo' => 'generated',
'environment_name' => 'generated',
]);
Operations method:
$client->operations()->repos()->deleteAnEnvironment( owner: 'generated',
repo: 'generated',
environment_name: 'generated',
);
You can find more about this operation over at the API method documentation.
List deployment branch policies
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies', [
'owner' => 'generated',
'repo' => 'generated',
'environment_name' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listDeploymentBranchPolicies( owner: 'generated',
repo: 'generated',
environment_name: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a deployment branch policy
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies', [
'owner' => 'generated',
'repo' => 'generated',
'environment_name' => 'generated',
]);
Operations method:
$client->operations()->repos()->createDeploymentBranchPolicy( owner: 'generated',
repo: 'generated',
environment_name: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a deployment branch policy
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}', [
'owner' => 'generated',
'repo' => 'generated',
'environment_name' => 'generated',
'branch_policy_id' => 16,
]);
Operations method:
$client->operations()->repos()->getDeploymentBranchPolicy( owner: 'generated',
repo: 'generated',
environment_name: 'generated',
branch_policy_id: 16,
);
You can find more about this operation over at the API method documentation.
Update a deployment branch policy
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}', [
'owner' => 'generated',
'repo' => 'generated',
'environment_name' => 'generated',
'branch_policy_id' => 16,
]);
Operations method:
$client->operations()->repos()->updateDeploymentBranchPolicy( owner: 'generated',
repo: 'generated',
environment_name: 'generated',
branch_policy_id: 16,
);
You can find more about this operation over at the API method documentation.
Delete a deployment branch policy
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}', [
'owner' => 'generated',
'repo' => 'generated',
'environment_name' => 'generated',
'branch_policy_id' => 16,
]);
Operations method:
$client->operations()->repos()->deleteDeploymentBranchPolicy( owner: 'generated',
repo: 'generated',
environment_name: 'generated',
branch_policy_id: 16,
);
You can find more about this operation over at the API method documentation.
List repository events
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/events', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->activity()->listRepoEvents( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List repository events
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/events', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->activity()->listRepoEventsListing( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List forks
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/forks', [
'owner' => 'generated',
'repo' => 'generated',
'sort' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listForks( owner: 'generated',
repo: 'generated',
sort: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List forks
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/forks', [
'owner' => 'generated',
'repo' => 'generated',
'sort' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listForksListing( owner: 'generated',
repo: 'generated',
sort: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a fork
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/forks', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->createFork( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Create a blob
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/git/blobs', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->git()->createBlob( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a blob
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/git/blobs/{file_sha}', [
'owner' => 'generated',
'repo' => 'generated',
'file_sha' => 'generated',
]);
Operations method:
$client->operations()->git()->getBlob( owner: 'generated',
repo: 'generated',
file_sha: 'generated',
);
You can find more about this operation over at the API method documentation.
Create a commit
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/git/commits', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->git()->createCommit( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a commit object
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/git/commits/{commit_sha}', [
'owner' => 'generated',
'repo' => 'generated',
'commit_sha' => 'generated',
]);
Operations method:
$client->operations()->git()->getCommit( owner: 'generated',
repo: 'generated',
commit_sha: 'generated',
);
You can find more about this operation over at the API method documentation.
List matching references
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/git/matching-refs/{ref}', [
'owner' => 'generated',
'repo' => 'generated',
'ref' => 'generated',
]);
Operations method:
$client->operations()->git()->listMatchingRefs( owner: 'generated',
repo: 'generated',
ref: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a reference
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/git/ref/{ref}', [
'owner' => 'generated',
'repo' => 'generated',
'ref' => 'generated',
]);
Operations method:
$client->operations()->git()->getRef( owner: 'generated',
repo: 'generated',
ref: 'generated',
);
You can find more about this operation over at the API method documentation.
Create a reference
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/git/refs', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->git()->createRef( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete a reference
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/git/refs/{ref}', [
'owner' => 'generated',
'repo' => 'generated',
'ref' => 'generated',
]);
Operations method:
$client->operations()->git()->deleteRef( owner: 'generated',
repo: 'generated',
ref: 'generated',
);
You can find more about this operation over at the API method documentation.
Update a reference
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}/git/refs/{ref}', [
'owner' => 'generated',
'repo' => 'generated',
'ref' => 'generated',
]);
Operations method:
$client->operations()->git()->updateRef( owner: 'generated',
repo: 'generated',
ref: 'generated',
);
You can find more about this operation over at the API method documentation.
Create a tag object
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/git/tags', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->git()->createTag( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a tag
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/git/tags/{tag_sha}', [
'owner' => 'generated',
'repo' => 'generated',
'tag_sha' => 'generated',
]);
Operations method:
$client->operations()->git()->getTag( owner: 'generated',
repo: 'generated',
tag_sha: 'generated',
);
You can find more about this operation over at the API method documentation.
Create a tree
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/git/trees', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->git()->createTree( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a tree
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/git/trees/{tree_sha}', [
'owner' => 'generated',
'repo' => 'generated',
'tree_sha' => 'generated',
'recursive' => 'generated',
]);
Operations method:
$client->operations()->git()->getTree( owner: 'generated',
repo: 'generated',
tree_sha: 'generated',
recursive: 'generated',
);
You can find more about this operation over at the API method documentation.
List repository webhooks
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/hooks', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listWebhooks( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List repository webhooks
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/hooks', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listWebhooksListing( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a repository webhook
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/hooks', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->createWebhook( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a repository webhook
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/hooks/{hook_id}', [
'owner' => 'generated',
'repo' => 'generated',
'hook_id' => 7,
]);
Operations method:
$client->operations()->repos()->getWebhook( owner: 'generated',
repo: 'generated',
hook_id: 7,
);
You can find more about this operation over at the API method documentation.
Delete a repository webhook
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/hooks/{hook_id}', [
'owner' => 'generated',
'repo' => 'generated',
'hook_id' => 7,
]);
Operations method:
$client->operations()->repos()->deleteWebhook( owner: 'generated',
repo: 'generated',
hook_id: 7,
);
You can find more about this operation over at the API method documentation.
Update a repository webhook
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}/hooks/{hook_id}', [
'owner' => 'generated',
'repo' => 'generated',
'hook_id' => 7,
]);
Operations method:
$client->operations()->repos()->updateWebhook( owner: 'generated',
repo: 'generated',
hook_id: 7,
);
You can find more about this operation over at the API method documentation.
Get a webhook configuration for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/hooks/{hook_id}/config', [
'owner' => 'generated',
'repo' => 'generated',
'hook_id' => 7,
]);
Operations method:
$client->operations()->repos()->getWebhookConfigForRepo( owner: 'generated',
repo: 'generated',
hook_id: 7,
);
You can find more about this operation over at the API method documentation.
Update a webhook configuration for a repository
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config', [
'owner' => 'generated',
'repo' => 'generated',
'hook_id' => 7,
]);
Operations method:
$client->operations()->repos()->updateWebhookConfigForRepo( owner: 'generated',
repo: 'generated',
hook_id: 7,
);
You can find more about this operation over at the API method documentation.
List deliveries for a repository webhook
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries', [
'owner' => 'generated',
'repo' => 'generated',
'hook_id' => 7,
'cursor' => 'generated',
'redelivery' => ,
'per_page' => 8,
]);
Operations method:
$client->operations()->repos()->listWebhookDeliveries( owner: 'generated',
repo: 'generated',
hook_id: 7,
cursor: 'generated',
redelivery: ,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
Get a delivery for a repository webhook
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}', [
'owner' => 'generated',
'repo' => 'generated',
'hook_id' => 7,
'delivery_id' => 11,
]);
Operations method:
$client->operations()->repos()->getWebhookDelivery( owner: 'generated',
repo: 'generated',
hook_id: 7,
delivery_id: 11,
);
You can find more about this operation over at the API method documentation.
Redeliver a delivery for a repository webhook
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts', [
'owner' => 'generated',
'repo' => 'generated',
'hook_id' => 7,
'delivery_id' => 11,
]);
Operations method:
$client->operations()->repos()->redeliverWebhookDelivery( owner: 'generated',
repo: 'generated',
hook_id: 7,
delivery_id: 11,
);
You can find more about this operation over at the API method documentation.
Ping a repository webhook
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/hooks/{hook_id}/pings', [
'owner' => 'generated',
'repo' => 'generated',
'hook_id' => 7,
]);
Operations method:
$client->operations()->repos()->pingWebhook( owner: 'generated',
repo: 'generated',
hook_id: 7,
);
You can find more about this operation over at the API method documentation.
Test the push repository webhook
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/hooks/{hook_id}/tests', [
'owner' => 'generated',
'repo' => 'generated',
'hook_id' => 7,
]);
Operations method:
$client->operations()->repos()->testPushWebhook( owner: 'generated',
repo: 'generated',
hook_id: 7,
);
You can find more about this operation over at the API method documentation.
Get a repository installation for the authenticated app
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/installation', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->apps()->getRepoInstallation( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
List repository invitations
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/invitations', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listInvitations( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List repository invitations
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/invitations', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listInvitationsListing( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Delete a repository invitation
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/invitations/{invitation_id}', [
'owner' => 'generated',
'repo' => 'generated',
'invitation_id' => 13,
]);
Operations method:
$client->operations()->repos()->deleteInvitation( owner: 'generated',
repo: 'generated',
invitation_id: 13,
);
You can find more about this operation over at the API method documentation.
Update a repository invitation
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}/invitations/{invitation_id}', [
'owner' => 'generated',
'repo' => 'generated',
'invitation_id' => 13,
]);
Operations method:
$client->operations()->repos()->updateInvitation( owner: 'generated',
repo: 'generated',
invitation_id: 13,
);
You can find more about this operation over at the API method documentation.
List repository issues
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/issues', [
'owner' => 'generated',
'repo' => 'generated',
'milestone' => 'generated',
'assignee' => 'generated',
'creator' => 'generated',
'mentioned' => 'generated',
'labels' => 'generated',
'since' => '1970-01-01T00:00:00+00:00',
'state' => 'generated',
'sort' => 'generated',
'direction' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listForRepo( owner: 'generated',
repo: 'generated',
milestone: 'generated',
assignee: 'generated',
creator: 'generated',
mentioned: 'generated',
labels: 'generated',
since: '1970-01-01T00:00:00+00:00',
state: 'generated',
sort: 'generated',
direction: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List repository issues
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/issues', [
'owner' => 'generated',
'repo' => 'generated',
'milestone' => 'generated',
'assignee' => 'generated',
'creator' => 'generated',
'mentioned' => 'generated',
'labels' => 'generated',
'since' => '1970-01-01T00:00:00+00:00',
'state' => 'generated',
'sort' => 'generated',
'direction' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listForRepoListing( owner: 'generated',
repo: 'generated',
milestone: 'generated',
assignee: 'generated',
creator: 'generated',
mentioned: 'generated',
labels: 'generated',
since: '1970-01-01T00:00:00+00:00',
state: 'generated',
sort: 'generated',
direction: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create an issue
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/issues', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->issues()->create( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
List issue comments for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/issues/comments', [
'owner' => 'generated',
'repo' => 'generated',
'direction' => 'generated',
'since' => '1970-01-01T00:00:00+00:00',
'sort' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listCommentsForRepo( owner: 'generated',
repo: 'generated',
direction: 'generated',
since: '1970-01-01T00:00:00+00:00',
sort: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List issue comments for a repository
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/issues/comments', [
'owner' => 'generated',
'repo' => 'generated',
'direction' => 'generated',
'since' => '1970-01-01T00:00:00+00:00',
'sort' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listCommentsForRepoListing( owner: 'generated',
repo: 'generated',
direction: 'generated',
since: '1970-01-01T00:00:00+00:00',
sort: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get an issue comment
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/issues/comments/{comment_id}', [
'owner' => 'generated',
'repo' => 'generated',
'comment_id' => 10,
]);
Operations method:
$client->operations()->issues()->getComment( owner: 'generated',
repo: 'generated',
comment_id: 10,
);
You can find more about this operation over at the API method documentation.
Delete an issue comment
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}', [
'owner' => 'generated',
'repo' => 'generated',
'comment_id' => 10,
]);
Operations method:
$client->operations()->issues()->deleteComment( owner: 'generated',
repo: 'generated',
comment_id: 10,
);
You can find more about this operation over at the API method documentation.
Update an issue comment
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}', [
'owner' => 'generated',
'repo' => 'generated',
'comment_id' => 10,
]);
Operations method:
$client->operations()->issues()->updateComment( owner: 'generated',
repo: 'generated',
comment_id: 10,
);
You can find more about this operation over at the API method documentation.
List reactions for an issue comment
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', [
'owner' => 'generated',
'repo' => 'generated',
'comment_id' => 10,
'content' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->reactions()->listForIssueComment( owner: 'generated',
repo: 'generated',
comment_id: 10,
content: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List reactions for an issue comment
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', [
'owner' => 'generated',
'repo' => 'generated',
'comment_id' => 10,
'content' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->reactions()->listForIssueCommentListing( owner: 'generated',
repo: 'generated',
comment_id: 10,
content: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create reaction for an issue comment
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions', [
'owner' => 'generated',
'repo' => 'generated',
'comment_id' => 10,
]);
Operations method:
$client->operations()->reactions()->createForIssueComment( owner: 'generated',
repo: 'generated',
comment_id: 10,
);
You can find more about this operation over at the API method documentation.
Delete an issue comment reaction
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}', [
'owner' => 'generated',
'repo' => 'generated',
'comment_id' => 10,
'reaction_id' => 11,
]);
Operations method:
$client->operations()->reactions()->deleteForIssueComment( owner: 'generated',
repo: 'generated',
comment_id: 10,
reaction_id: 11,
);
You can find more about this operation over at the API method documentation.
List issue events for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/issues/events', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listEventsForRepo( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List issue events for a repository
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/issues/events', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listEventsForRepoListing( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get an issue event
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/issues/events/{event_id}', [
'owner' => 'generated',
'repo' => 'generated',
'event_id' => 8,
]);
Operations method:
$client->operations()->issues()->getEvent( owner: 'generated',
repo: 'generated',
event_id: 8,
);
You can find more about this operation over at the API method documentation.
Get an issue
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/issues/{issue_number}', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
]);
Operations method:
$client->operations()->issues()->get( owner: 'generated',
repo: 'generated',
issue_number: 12,
);
You can find more about this operation over at the API method documentation.
Update an issue
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}/issues/{issue_number}', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
]);
Operations method:
$client->operations()->issues()->update( owner: 'generated',
repo: 'generated',
issue_number: 12,
);
You can find more about this operation over at the API method documentation.
Add assignees to an issue
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/issues/{issue_number}/assignees', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
]);
Operations method:
$client->operations()->issues()->addAssignees( owner: 'generated',
repo: 'generated',
issue_number: 12,
);
You can find more about this operation over at the API method documentation.
Remove assignees from an issue
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
]);
Operations method:
$client->operations()->issues()->removeAssignees( owner: 'generated',
repo: 'generated',
issue_number: 12,
);
You can find more about this operation over at the API method documentation.
Check if a user can be assigned to a issue
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
'assignee' => 'generated',
]);
Operations method:
$client->operations()->issues()->checkUserCanBeAssignedToIssue( owner: 'generated',
repo: 'generated',
issue_number: 12,
assignee: 'generated',
);
You can find more about this operation over at the API method documentation.
List issue comments
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/issues/{issue_number}/comments', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
'since' => '1970-01-01T00:00:00+00:00',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listComments( owner: 'generated',
repo: 'generated',
issue_number: 12,
since: '1970-01-01T00:00:00+00:00',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List issue comments
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/issues/{issue_number}/comments', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
'since' => '1970-01-01T00:00:00+00:00',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listCommentsListing( owner: 'generated',
repo: 'generated',
issue_number: 12,
since: '1970-01-01T00:00:00+00:00',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create an issue comment
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/issues/{issue_number}/comments', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
]);
Operations method:
$client->operations()->issues()->createComment( owner: 'generated',
repo: 'generated',
issue_number: 12,
);
You can find more about this operation over at the API method documentation.
List issue events
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/issues/{issue_number}/events', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listEvents( owner: 'generated',
repo: 'generated',
issue_number: 12,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List issue events
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/issues/{issue_number}/events', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listEventsListing( owner: 'generated',
repo: 'generated',
issue_number: 12,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List labels for an issue
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/issues/{issue_number}/labels', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listLabelsOnIssue( owner: 'generated',
repo: 'generated',
issue_number: 12,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List labels for an issue
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/issues/{issue_number}/labels', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listLabelsOnIssueListing( owner: 'generated',
repo: 'generated',
issue_number: 12,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Set labels for an issue
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/issues/{issue_number}/labels', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
]);
Operations method:
$client->operations()->issues()->setLabels( owner: 'generated',
repo: 'generated',
issue_number: 12,
);
You can find more about this operation over at the API method documentation.
Add labels to an issue
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/issues/{issue_number}/labels', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
]);
Operations method:
$client->operations()->issues()->addLabels( owner: 'generated',
repo: 'generated',
issue_number: 12,
);
You can find more about this operation over at the API method documentation.
Remove all labels from an issue
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
]);
Operations method:
$client->operations()->issues()->removeAllLabels( owner: 'generated',
repo: 'generated',
issue_number: 12,
);
You can find more about this operation over at the API method documentation.
Remove a label from an issue
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
'name' => 'generated',
]);
Operations method:
$client->operations()->issues()->removeLabel( owner: 'generated',
repo: 'generated',
issue_number: 12,
name: 'generated',
);
You can find more about this operation over at the API method documentation.
Lock an issue
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/issues/{issue_number}/lock', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
]);
Operations method:
$client->operations()->issues()->lock( owner: 'generated',
repo: 'generated',
issue_number: 12,
);
You can find more about this operation over at the API method documentation.
Unlock an issue
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
]);
Operations method:
$client->operations()->issues()->unlock( owner: 'generated',
repo: 'generated',
issue_number: 12,
);
You can find more about this operation over at the API method documentation.
List reactions for an issue
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/issues/{issue_number}/reactions', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
'content' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->reactions()->listForIssue( owner: 'generated',
repo: 'generated',
issue_number: 12,
content: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List reactions for an issue
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/issues/{issue_number}/reactions', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
'content' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->reactions()->listForIssueListing( owner: 'generated',
repo: 'generated',
issue_number: 12,
content: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create reaction for an issue
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/issues/{issue_number}/reactions', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
]);
Operations method:
$client->operations()->reactions()->createForIssue( owner: 'generated',
repo: 'generated',
issue_number: 12,
);
You can find more about this operation over at the API method documentation.
Delete an issue reaction
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
'reaction_id' => 11,
]);
Operations method:
$client->operations()->reactions()->deleteForIssue( owner: 'generated',
repo: 'generated',
issue_number: 12,
reaction_id: 11,
);
You can find more about this operation over at the API method documentation.
List timeline events for an issue
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/issues/{issue_number}/timeline', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listEventsForTimeline( owner: 'generated',
repo: 'generated',
issue_number: 12,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List timeline events for an issue
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/issues/{issue_number}/timeline', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listEventsForTimelineListing( owner: 'generated',
repo: 'generated',
issue_number: 12,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List deploy keys
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/keys', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listDeployKeys( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List deploy keys
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/keys', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listDeployKeysListing( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a deploy key
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/keys', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->createDeployKey( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a deploy key
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/keys/{key_id}', [
'owner' => 'generated',
'repo' => 'generated',
'key_id' => 6,
]);
Operations method:
$client->operations()->repos()->getDeployKey( owner: 'generated',
repo: 'generated',
key_id: 6,
);
You can find more about this operation over at the API method documentation.
Delete a deploy key
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/keys/{key_id}', [
'owner' => 'generated',
'repo' => 'generated',
'key_id' => 6,
]);
Operations method:
$client->operations()->repos()->deleteDeployKey( owner: 'generated',
repo: 'generated',
key_id: 6,
);
You can find more about this operation over at the API method documentation.
List labels for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/labels', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listLabelsForRepo( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List labels for a repository
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/labels', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listLabelsForRepoListing( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a label
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/labels', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->issues()->createLabel( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a label
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/labels/{name}', [
'owner' => 'generated',
'repo' => 'generated',
'name' => 'generated',
]);
Operations method:
$client->operations()->issues()->getLabel( owner: 'generated',
repo: 'generated',
name: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete a label
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/labels/{name}', [
'owner' => 'generated',
'repo' => 'generated',
'name' => 'generated',
]);
Operations method:
$client->operations()->issues()->deleteLabel( owner: 'generated',
repo: 'generated',
name: 'generated',
);
You can find more about this operation over at the API method documentation.
Update a label
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}/labels/{name}', [
'owner' => 'generated',
'repo' => 'generated',
'name' => 'generated',
]);
Operations method:
$client->operations()->issues()->updateLabel( owner: 'generated',
repo: 'generated',
name: 'generated',
);
You can find more about this operation over at the API method documentation.
List repository languages
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/languages', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->listLanguages( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Enable Git LFS for a repository
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/lfs', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->enableLfsForRepo( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Disable Git LFS for a repository
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/lfs', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->disableLfsForRepo( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get the license for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/license', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->licenses()->getForRepo( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Sync a fork branch with the upstream repository
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/merge-upstream', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->mergeUpstream( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Merge a branch
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/merges', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->merge( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
List milestones
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/milestones', [
'owner' => 'generated',
'repo' => 'generated',
'state' => 'generated',
'sort' => 'generated',
'direction' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listMilestones( owner: 'generated',
repo: 'generated',
state: 'generated',
sort: 'generated',
direction: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List milestones
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/milestones', [
'owner' => 'generated',
'repo' => 'generated',
'state' => 'generated',
'sort' => 'generated',
'direction' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listMilestonesListing( owner: 'generated',
repo: 'generated',
state: 'generated',
sort: 'generated',
direction: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a milestone
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/milestones', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->issues()->createMilestone( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a milestone
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/milestones/{milestone_number}', [
'owner' => 'generated',
'repo' => 'generated',
'milestone_number' => 16,
]);
Operations method:
$client->operations()->issues()->getMilestone( owner: 'generated',
repo: 'generated',
milestone_number: 16,
);
You can find more about this operation over at the API method documentation.
Delete a milestone
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/milestones/{milestone_number}', [
'owner' => 'generated',
'repo' => 'generated',
'milestone_number' => 16,
]);
Operations method:
$client->operations()->issues()->deleteMilestone( owner: 'generated',
repo: 'generated',
milestone_number: 16,
);
You can find more about this operation over at the API method documentation.
Update a milestone
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}/milestones/{milestone_number}', [
'owner' => 'generated',
'repo' => 'generated',
'milestone_number' => 16,
]);
Operations method:
$client->operations()->issues()->updateMilestone( owner: 'generated',
repo: 'generated',
milestone_number: 16,
);
You can find more about this operation over at the API method documentation.
List labels for issues in a milestone
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels', [
'owner' => 'generated',
'repo' => 'generated',
'milestone_number' => 16,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listLabelsForMilestone( owner: 'generated',
repo: 'generated',
milestone_number: 16,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List labels for issues in a milestone
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/milestones/{milestone_number}/labels', [
'owner' => 'generated',
'repo' => 'generated',
'milestone_number' => 16,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listLabelsForMilestoneListing( owner: 'generated',
repo: 'generated',
milestone_number: 16,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List repository notifications for the authenticated user
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/notifications', [
'owner' => 'generated',
'repo' => 'generated',
'since' => '1970-01-01T00:00:00+00:00',
'before' => '1970-01-01T00:00:00+00:00',
'all' => ,
'participating' => ,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->activity()->listRepoNotificationsForAuthenticatedUser( owner: 'generated',
repo: 'generated',
since: '1970-01-01T00:00:00+00:00',
before: '1970-01-01T00:00:00+00:00',
all: ,
participating: ,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List repository notifications for the authenticated user
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/notifications', [
'owner' => 'generated',
'repo' => 'generated',
'since' => '1970-01-01T00:00:00+00:00',
'before' => '1970-01-01T00:00:00+00:00',
'all' => ,
'participating' => ,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->activity()->listRepoNotificationsForAuthenticatedUserListing( owner: 'generated',
repo: 'generated',
since: '1970-01-01T00:00:00+00:00',
before: '1970-01-01T00:00:00+00:00',
all: ,
participating: ,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Mark repository notifications as read
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/notifications', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->activity()->markRepoNotificationsAsRead( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a GitHub AE Pages site
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/pages', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->getPages( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Update information about a GitHub AE Pages site
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/pages', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->updateInformationAboutPagesSite( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Create a GitHub AE Pages site
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/pages', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->createPagesSite( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete a GitHub AE Pages site
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/pages', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->deletePagesSite( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
List GitHub AE Pages builds
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/pages/builds', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listPagesBuilds( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List GitHub AE Pages builds
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/pages/builds', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listPagesBuildsListing( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Request a GitHub AE Pages build
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/pages/builds', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->requestPagesBuild( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get latest Pages build
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/pages/builds/latest', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->getLatestPagesBuild( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get GitHub AE Pages build
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/pages/builds/{build_id}', [
'owner' => 'generated',
'repo' => 'generated',
'build_id' => 8,
]);
Operations method:
$client->operations()->repos()->getPagesBuild( owner: 'generated',
repo: 'generated',
build_id: 8,
);
You can find more about this operation over at the API method documentation.
List repository projects
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/projects', [
'owner' => 'generated',
'repo' => 'generated',
'state' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->projects()->listForRepo( owner: 'generated',
repo: 'generated',
state: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List repository projects
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/projects', [
'owner' => 'generated',
'repo' => 'generated',
'state' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->projects()->listForRepoListing( owner: 'generated',
repo: 'generated',
state: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a repository project
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/projects', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->projects()->createForRepo( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
List pull requests
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/pulls', [
'owner' => 'generated',
'repo' => 'generated',
'head' => 'generated',
'base' => 'generated',
'direction' => 'generated',
'state' => 'generated',
'sort' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->pulls()->list( owner: 'generated',
repo: 'generated',
head: 'generated',
base: 'generated',
direction: 'generated',
state: 'generated',
sort: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List pull requests
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/pulls', [
'owner' => 'generated',
'repo' => 'generated',
'head' => 'generated',
'base' => 'generated',
'direction' => 'generated',
'state' => 'generated',
'sort' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->pulls()->listListing( owner: 'generated',
repo: 'generated',
head: 'generated',
base: 'generated',
direction: 'generated',
state: 'generated',
sort: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a pull request
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/pulls', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->pulls()->create( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
List review comments in a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/pulls/comments', [
'owner' => 'generated',
'repo' => 'generated',
'sort' => 'generated',
'direction' => 'generated',
'since' => '1970-01-01T00:00:00+00:00',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->pulls()->listReviewCommentsForRepo( owner: 'generated',
repo: 'generated',
sort: 'generated',
direction: 'generated',
since: '1970-01-01T00:00:00+00:00',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List review comments in a repository
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/pulls/comments', [
'owner' => 'generated',
'repo' => 'generated',
'sort' => 'generated',
'direction' => 'generated',
'since' => '1970-01-01T00:00:00+00:00',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->pulls()->listReviewCommentsForRepoListing( owner: 'generated',
repo: 'generated',
sort: 'generated',
direction: 'generated',
since: '1970-01-01T00:00:00+00:00',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get a review comment for a pull request
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/pulls/comments/{comment_id}', [
'owner' => 'generated',
'repo' => 'generated',
'comment_id' => 10,
]);
Operations method:
$client->operations()->pulls()->getReviewComment( owner: 'generated',
repo: 'generated',
comment_id: 10,
);
You can find more about this operation over at the API method documentation.
Delete a review comment for a pull request
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}', [
'owner' => 'generated',
'repo' => 'generated',
'comment_id' => 10,
]);
Operations method:
$client->operations()->pulls()->deleteReviewComment( owner: 'generated',
repo: 'generated',
comment_id: 10,
);
You can find more about this operation over at the API method documentation.
Update a review comment for a pull request
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}', [
'owner' => 'generated',
'repo' => 'generated',
'comment_id' => 10,
]);
Operations method:
$client->operations()->pulls()->updateReviewComment( owner: 'generated',
repo: 'generated',
comment_id: 10,
);
You can find more about this operation over at the API method documentation.
List reactions for a pull request review comment
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions', [
'owner' => 'generated',
'repo' => 'generated',
'comment_id' => 10,
'content' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->reactions()->listForPullRequestReviewComment( owner: 'generated',
repo: 'generated',
comment_id: 10,
content: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List reactions for a pull request review comment
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions', [
'owner' => 'generated',
'repo' => 'generated',
'comment_id' => 10,
'content' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->reactions()->listForPullRequestReviewCommentListing( owner: 'generated',
repo: 'generated',
comment_id: 10,
content: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create reaction for a pull request review comment
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions', [
'owner' => 'generated',
'repo' => 'generated',
'comment_id' => 10,
]);
Operations method:
$client->operations()->reactions()->createForPullRequestReviewComment( owner: 'generated',
repo: 'generated',
comment_id: 10,
);
You can find more about this operation over at the API method documentation.
Delete a pull request comment reaction
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}', [
'owner' => 'generated',
'repo' => 'generated',
'comment_id' => 10,
'reaction_id' => 11,
]);
Operations method:
$client->operations()->reactions()->deleteForPullRequestComment( owner: 'generated',
repo: 'generated',
comment_id: 10,
reaction_id: 11,
);
You can find more about this operation over at the API method documentation.
Get a pull request
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/pulls/{pull_number}', [
'owner' => 'generated',
'repo' => 'generated',
'pull_number' => 11,
]);
Operations method:
$client->operations()->pulls()->get( owner: 'generated',
repo: 'generated',
pull_number: 11,
);
You can find more about this operation over at the API method documentation.
Update a pull request
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}/pulls/{pull_number}', [
'owner' => 'generated',
'repo' => 'generated',
'pull_number' => 11,
]);
Operations method:
$client->operations()->pulls()->update( owner: 'generated',
repo: 'generated',
pull_number: 11,
);
You can find more about this operation over at the API method documentation.
List review comments on a pull request
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/pulls/{pull_number}/comments', [
'owner' => 'generated',
'repo' => 'generated',
'pull_number' => 11,
'direction' => 'generated',
'since' => '1970-01-01T00:00:00+00:00',
'sort' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->pulls()->listReviewComments( owner: 'generated',
repo: 'generated',
pull_number: 11,
direction: 'generated',
since: '1970-01-01T00:00:00+00:00',
sort: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List review comments on a pull request
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/pulls/{pull_number}/comments', [
'owner' => 'generated',
'repo' => 'generated',
'pull_number' => 11,
'direction' => 'generated',
'since' => '1970-01-01T00:00:00+00:00',
'sort' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->pulls()->listReviewCommentsListing( owner: 'generated',
repo: 'generated',
pull_number: 11,
direction: 'generated',
since: '1970-01-01T00:00:00+00:00',
sort: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a review comment for a pull request
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/pulls/{pull_number}/comments', [
'owner' => 'generated',
'repo' => 'generated',
'pull_number' => 11,
]);
Operations method:
$client->operations()->pulls()->createReviewComment( owner: 'generated',
repo: 'generated',
pull_number: 11,
);
You can find more about this operation over at the API method documentation.
Create a reply for a review comment
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies', [
'owner' => 'generated',
'repo' => 'generated',
'pull_number' => 11,
'comment_id' => 10,
]);
Operations method:
$client->operations()->pulls()->createReplyForReviewComment( owner: 'generated',
repo: 'generated',
pull_number: 11,
comment_id: 10,
);
You can find more about this operation over at the API method documentation.
List commits on a pull request
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/pulls/{pull_number}/commits', [
'owner' => 'generated',
'repo' => 'generated',
'pull_number' => 11,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->pulls()->listCommits( owner: 'generated',
repo: 'generated',
pull_number: 11,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List commits on a pull request
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/pulls/{pull_number}/commits', [
'owner' => 'generated',
'repo' => 'generated',
'pull_number' => 11,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->pulls()->listCommitsListing( owner: 'generated',
repo: 'generated',
pull_number: 11,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List pull requests files
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/pulls/{pull_number}/files', [
'owner' => 'generated',
'repo' => 'generated',
'pull_number' => 11,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->pulls()->listFiles( owner: 'generated',
repo: 'generated',
pull_number: 11,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List pull requests files
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/pulls/{pull_number}/files', [
'owner' => 'generated',
'repo' => 'generated',
'pull_number' => 11,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->pulls()->listFilesListing( owner: 'generated',
repo: 'generated',
pull_number: 11,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Check if a pull request has been merged
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/pulls/{pull_number}/merge', [
'owner' => 'generated',
'repo' => 'generated',
'pull_number' => 11,
]);
Operations method:
$client->operations()->pulls()->checkIfMerged( owner: 'generated',
repo: 'generated',
pull_number: 11,
);
You can find more about this operation over at the API method documentation.
Merge a pull request
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge', [
'owner' => 'generated',
'repo' => 'generated',
'pull_number' => 11,
]);
Operations method:
$client->operations()->pulls()->merge( owner: 'generated',
repo: 'generated',
pull_number: 11,
);
You can find more about this operation over at the API method documentation.
Get all requested reviewers for a pull request
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers', [
'owner' => 'generated',
'repo' => 'generated',
'pull_number' => 11,
]);
Operations method:
$client->operations()->pulls()->listRequestedReviewers( owner: 'generated',
repo: 'generated',
pull_number: 11,
);
You can find more about this operation over at the API method documentation.
Request reviewers for a pull request
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers', [
'owner' => 'generated',
'repo' => 'generated',
'pull_number' => 11,
]);
Operations method:
$client->operations()->pulls()->requestReviewers( owner: 'generated',
repo: 'generated',
pull_number: 11,
);
You can find more about this operation over at the API method documentation.
Remove requested reviewers from a pull request
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers', [
'owner' => 'generated',
'repo' => 'generated',
'pull_number' => 11,
]);
Operations method:
$client->operations()->pulls()->removeRequestedReviewers( owner: 'generated',
repo: 'generated',
pull_number: 11,
);
You can find more about this operation over at the API method documentation.
List reviews for a pull request
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews', [
'owner' => 'generated',
'repo' => 'generated',
'pull_number' => 11,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->pulls()->listReviews( owner: 'generated',
repo: 'generated',
pull_number: 11,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List reviews for a pull request
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/pulls/{pull_number}/reviews', [
'owner' => 'generated',
'repo' => 'generated',
'pull_number' => 11,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->pulls()->listReviewsListing( owner: 'generated',
repo: 'generated',
pull_number: 11,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a review for a pull request
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews', [
'owner' => 'generated',
'repo' => 'generated',
'pull_number' => 11,
]);
Operations method:
$client->operations()->pulls()->createReview( owner: 'generated',
repo: 'generated',
pull_number: 11,
);
You can find more about this operation over at the API method documentation.
Get a review for a pull request
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}', [
'owner' => 'generated',
'repo' => 'generated',
'pull_number' => 11,
'review_id' => 9,
]);
Operations method:
$client->operations()->pulls()->getReview( owner: 'generated',
repo: 'generated',
pull_number: 11,
review_id: 9,
);
You can find more about this operation over at the API method documentation.
Update a review for a pull request
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}', [
'owner' => 'generated',
'repo' => 'generated',
'pull_number' => 11,
'review_id' => 9,
]);
Operations method:
$client->operations()->pulls()->updateReview( owner: 'generated',
repo: 'generated',
pull_number: 11,
review_id: 9,
);
You can find more about this operation over at the API method documentation.
Delete a pending review for a pull request
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}', [
'owner' => 'generated',
'repo' => 'generated',
'pull_number' => 11,
'review_id' => 9,
]);
Operations method:
$client->operations()->pulls()->deletePendingReview( owner: 'generated',
repo: 'generated',
pull_number: 11,
review_id: 9,
);
You can find more about this operation over at the API method documentation.
List comments for a pull request review
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments', [
'owner' => 'generated',
'repo' => 'generated',
'pull_number' => 11,
'review_id' => 9,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->pulls()->listCommentsForReview( owner: 'generated',
repo: 'generated',
pull_number: 11,
review_id: 9,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List comments for a pull request review
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments', [
'owner' => 'generated',
'repo' => 'generated',
'pull_number' => 11,
'review_id' => 9,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->pulls()->listCommentsForReviewListing( owner: 'generated',
repo: 'generated',
pull_number: 11,
review_id: 9,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Dismiss a review for a pull request
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals', [
'owner' => 'generated',
'repo' => 'generated',
'pull_number' => 11,
'review_id' => 9,
]);
Operations method:
$client->operations()->pulls()->dismissReview( owner: 'generated',
repo: 'generated',
pull_number: 11,
review_id: 9,
);
You can find more about this operation over at the API method documentation.
Submit a review for a pull request
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events', [
'owner' => 'generated',
'repo' => 'generated',
'pull_number' => 11,
'review_id' => 9,
]);
Operations method:
$client->operations()->pulls()->submitReview( owner: 'generated',
repo: 'generated',
pull_number: 11,
review_id: 9,
);
You can find more about this operation over at the API method documentation.
Update a pull request branch
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch', [
'owner' => 'generated',
'repo' => 'generated',
'pull_number' => 11,
]);
Operations method:
$client->operations()->pulls()->updateBranch( owner: 'generated',
repo: 'generated',
pull_number: 11,
);
You can find more about this operation over at the API method documentation.
Get a repository README
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/readme', [
'owner' => 'generated',
'repo' => 'generated',
'ref' => 'generated',
]);
Operations method:
$client->operations()->repos()->getReadme( owner: 'generated',
repo: 'generated',
ref: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a repository README for a directory
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/readme/{dir}', [
'owner' => 'generated',
'repo' => 'generated',
'dir' => 'generated',
'ref' => 'generated',
]);
Operations method:
$client->operations()->repos()->getReadmeInDirectory( owner: 'generated',
repo: 'generated',
dir: 'generated',
ref: 'generated',
);
You can find more about this operation over at the API method documentation.
List releases
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/releases', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listReleases( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List releases
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/releases', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listReleasesListing( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a release
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/releases', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->createRelease( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a release asset
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/releases/assets/{asset_id}', [
'owner' => 'generated',
'repo' => 'generated',
'asset_id' => 8,
]);
Operations method:
$client->operations()->repos()->getReleaseAsset( owner: 'generated',
repo: 'generated',
asset_id: 8,
);
You can find more about this operation over at the API method documentation.
Delete a release asset
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}', [
'owner' => 'generated',
'repo' => 'generated',
'asset_id' => 8,
]);
Operations method:
$client->operations()->repos()->deleteReleaseAsset( owner: 'generated',
repo: 'generated',
asset_id: 8,
);
You can find more about this operation over at the API method documentation.
Update a release asset
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}', [
'owner' => 'generated',
'repo' => 'generated',
'asset_id' => 8,
]);
Operations method:
$client->operations()->repos()->updateReleaseAsset( owner: 'generated',
repo: 'generated',
asset_id: 8,
);
You can find more about this operation over at the API method documentation.
Get the latest release
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/releases/latest', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->getLatestRelease( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a release by tag name
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/releases/tags/{tag}', [
'owner' => 'generated',
'repo' => 'generated',
'tag' => 'generated',
]);
Operations method:
$client->operations()->repos()->getReleaseByTag( owner: 'generated',
repo: 'generated',
tag: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a release
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/releases/{release_id}', [
'owner' => 'generated',
'repo' => 'generated',
'release_id' => 10,
]);
Operations method:
$client->operations()->repos()->getRelease( owner: 'generated',
repo: 'generated',
release_id: 10,
);
You can find more about this operation over at the API method documentation.
Delete a release
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/releases/{release_id}', [
'owner' => 'generated',
'repo' => 'generated',
'release_id' => 10,
]);
Operations method:
$client->operations()->repos()->deleteRelease( owner: 'generated',
repo: 'generated',
release_id: 10,
);
You can find more about this operation over at the API method documentation.
Update a release
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}/releases/{release_id}', [
'owner' => 'generated',
'repo' => 'generated',
'release_id' => 10,
]);
Operations method:
$client->operations()->repos()->updateRelease( owner: 'generated',
repo: 'generated',
release_id: 10,
);
You can find more about this operation over at the API method documentation.
List release assets
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/releases/{release_id}/assets', [
'owner' => 'generated',
'repo' => 'generated',
'release_id' => 10,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listReleaseAssets( owner: 'generated',
repo: 'generated',
release_id: 10,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List release assets
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/releases/{release_id}/assets', [
'owner' => 'generated',
'repo' => 'generated',
'release_id' => 10,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listReleaseAssetsListing( owner: 'generated',
repo: 'generated',
release_id: 10,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Upload a release asset
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/releases/{release_id}/assets', [
'owner' => 'generated',
'repo' => 'generated',
'release_id' => 10,
'name' => 'generated',
'label' => 'generated',
]);
Operations method:
$client->operations()->repos()->uploadReleaseAsset( owner: 'generated',
repo: 'generated',
release_id: 10,
name: 'generated',
label: 'generated',
);
You can find more about this operation over at the API method documentation.
List reactions for a release
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/releases/{release_id}/reactions', [
'owner' => 'generated',
'repo' => 'generated',
'release_id' => 10,
'content' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->reactions()->listForRelease( owner: 'generated',
repo: 'generated',
release_id: 10,
content: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List reactions for a release
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/releases/{release_id}/reactions', [
'owner' => 'generated',
'repo' => 'generated',
'release_id' => 10,
'content' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->reactions()->listForReleaseListing( owner: 'generated',
repo: 'generated',
release_id: 10,
content: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create reaction for a release
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/releases/{release_id}/reactions', [
'owner' => 'generated',
'repo' => 'generated',
'release_id' => 10,
]);
Operations method:
$client->operations()->reactions()->createForRelease( owner: 'generated',
repo: 'generated',
release_id: 10,
);
You can find more about this operation over at the API method documentation.
Delete a release reaction
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}', [
'owner' => 'generated',
'repo' => 'generated',
'release_id' => 10,
'reaction_id' => 11,
]);
Operations method:
$client->operations()->reactions()->deleteForRelease( owner: 'generated',
repo: 'generated',
release_id: 10,
reaction_id: 11,
);
You can find more about this operation over at the API method documentation.
List secret scanning alerts for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/secret-scanning/alerts', [
'owner' => 'generated',
'repo' => 'generated',
'state' => 'generated',
'secret_type' => 'generated',
'resolution' => 'generated',
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->secretScanning()->listAlertsForRepo( owner: 'generated',
repo: 'generated',
state: 'generated',
secret_type: 'generated',
resolution: 'generated',
page: 1,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
List secret scanning alerts for a repository
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/secret-scanning/alerts', [
'owner' => 'generated',
'repo' => 'generated',
'state' => 'generated',
'secret_type' => 'generated',
'resolution' => 'generated',
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->secretScanning()->listAlertsForRepoListing( owner: 'generated',
repo: 'generated',
state: 'generated',
secret_type: 'generated',
resolution: 'generated',
page: 1,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
Get a secret scanning alert
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}', [
'owner' => 'generated',
'repo' => 'generated',
'alert_number' => 12,
]);
Operations method:
$client->operations()->secretScanning()->getAlert( owner: 'generated',
repo: 'generated',
alert_number: 12,
);
You can find more about this operation over at the API method documentation.
Update a secret scanning alert
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}', [
'owner' => 'generated',
'repo' => 'generated',
'alert_number' => 12,
]);
Operations method:
$client->operations()->secretScanning()->updateAlert( owner: 'generated',
repo: 'generated',
alert_number: 12,
);
You can find more about this operation over at the API method documentation.
List locations for a secret scanning alert
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations', [
'owner' => 'generated',
'repo' => 'generated',
'alert_number' => 12,
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->secretScanning()->listLocationsForAlert( owner: 'generated',
repo: 'generated',
alert_number: 12,
page: 1,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
List locations for a secret scanning alert
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations', [
'owner' => 'generated',
'repo' => 'generated',
'alert_number' => 12,
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->secretScanning()->listLocationsForAlertListing( owner: 'generated',
repo: 'generated',
alert_number: 12,
page: 1,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
List stargazers
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/stargazers', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->activity()->listStargazersForRepo( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get the weekly commit activity
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/stats/code_frequency', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->getCodeFrequencyStats( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get the last year of commit activity
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/stats/commit_activity', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->getCommitActivityStats( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get all contributor commit activity
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/stats/contributors', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->getContributorsStats( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get the weekly commit count
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/stats/participation', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->getParticipationStats( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get the hourly commit count for each day
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/stats/punch_card', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->getPunchCardStats( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Create a commit status
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/statuses/{sha}', [
'owner' => 'generated',
'repo' => 'generated',
'sha' => 'generated',
]);
Operations method:
$client->operations()->repos()->createCommitStatus( owner: 'generated',
repo: 'generated',
sha: 'generated',
);
You can find more about this operation over at the API method documentation.
List watchers
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/subscribers', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->activity()->listWatchersForRepo( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List watchers
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/subscribers', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->activity()->listWatchersForRepoListing( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get a repository subscription
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/subscription', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->activity()->getRepoSubscription( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Set a repository subscription
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/subscription', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->activity()->setRepoSubscription( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete a repository subscription
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/subscription', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->activity()->deleteRepoSubscription( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
List repository tags
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/tags', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listTags( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List repository tags
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/tags', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listTagsListing( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Download a repository archive (tar)
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/tarball/{ref}', [
'owner' => 'generated',
'repo' => 'generated',
'ref' => 'generated',
]);
Operations method:
$client->operations()->repos()->downloadTarballArchive( owner: 'generated',
repo: 'generated',
ref: 'generated',
);
You can find more about this operation over at the API method documentation.
Download a repository archive (tar)
Using the call
method:
$client->call('STREAM /repos/{owner}/{repo}/tarball/{ref}', [
'owner' => 'generated',
'repo' => 'generated',
'ref' => 'generated',
]);
Operations method:
$client->operations()->repos()->downloadTarballArchiveStreaming( owner: 'generated',
repo: 'generated',
ref: 'generated',
);
You can find more about this operation over at the API method documentation.
List repository teams
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/teams', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listTeams( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List repository teams
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/teams', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listTeamsListing( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get all repository topics
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/topics', [
'owner' => 'generated',
'repo' => 'generated',
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->repos()->getAllTopics( owner: 'generated',
repo: 'generated',
page: 1,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
Replace all repository topics
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/topics', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->replaceAllTopics( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Transfer a repository
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/transfer', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->transfer( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Download a repository archive (zip)
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/zipball/{ref}', [
'owner' => 'generated',
'repo' => 'generated',
'ref' => 'generated',
]);
Operations method:
$client->operations()->repos()->downloadZipballArchive( owner: 'generated',
repo: 'generated',
ref: 'generated',
);
You can find more about this operation over at the API method documentation.
Download a repository archive (zip)
Using the call
method:
$client->call('STREAM /repos/{owner}/{repo}/zipball/{ref}', [
'owner' => 'generated',
'repo' => 'generated',
'ref' => 'generated',
]);
Operations method:
$client->operations()->repos()->downloadZipballArchiveStreaming( owner: 'generated',
repo: 'generated',
ref: 'generated',
);
You can find more about this operation over at the API method documentation.
Create a repository using a template
Using the call
method:
$client->call('POST /repos/{template_owner}/{template_repo}/generate', [
'template_owner' => 'generated',
'template_repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->createUsingTemplate( template_owner: 'generated',
template_repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Search code
Using the call
method:
$client->call('GET /search/code', [
'q' => 'generated',
'sort' => 'generated',
'order' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->search()->code( q: 'generated',
sort: 'generated',
order: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Search commits
Using the call
method:
$client->call('GET /search/commits', [
'q' => 'generated',
'sort' => 'generated',
'order' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->search()->commits( q: 'generated',
sort: 'generated',
order: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Search issues and pull requests
Using the call
method:
$client->call('GET /search/issues', [
'q' => 'generated',
'sort' => 'generated',
'order' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->search()->issuesAndPullRequests( q: 'generated',
sort: 'generated',
order: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Search labels
Using the call
method:
$client->call('GET /search/labels', [
'repository_id' => 13,
'q' => 'generated',
'sort' => 'generated',
'order' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->search()->labels( repository_id: 13,
q: 'generated',
sort: 'generated',
order: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Search repositories
Using the call
method:
$client->call('GET /search/repositories', [
'q' => 'generated',
'sort' => 'generated',
'order' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->search()->repos( q: 'generated',
sort: 'generated',
order: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Search topics
Using the call
method:
$client->call('GET /search/topics', [
'q' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->search()->topics( q: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Search users
Using the call
method:
$client->call('GET /search/users', [
'q' => 'generated',
'sort' => 'generated',
'order' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->search()->users( q: 'generated',
sort: 'generated',
order: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get a team (Legacy)
Using the call
method:
$client->call('GET /teams/{team_id}', [
'team_id' => 7,
]);
Operations method:
$client->operations()->teams()->getLegacy( team_id: 7,
);
You can find more about this operation over at the API method documentation.
Delete a team (Legacy)
Using the call
method:
$client->call('DELETE /teams/{team_id}', [
'team_id' => 7,
]);
Operations method:
$client->operations()->teams()->deleteLegacy( team_id: 7,
);
You can find more about this operation over at the API method documentation.
Update a team (Legacy)
Using the call
method:
$client->call('PATCH /teams/{team_id}', [
'team_id' => 7,
]);
Operations method:
$client->operations()->teams()->updateLegacy( team_id: 7,
);
You can find more about this operation over at the API method documentation.
List discussions (Legacy)
Using the call
method:
$client->call('GET /teams/{team_id}/discussions', [
'team_id' => 7,
'direction' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listDiscussionsLegacy( team_id: 7,
direction: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List discussions (Legacy)
Using the call
method:
$client->call('LIST /teams/{team_id}/discussions', [
'team_id' => 7,
'direction' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listDiscussionsLegacyListing( team_id: 7,
direction: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a discussion (Legacy)
Using the call
method:
$client->call('POST /teams/{team_id}/discussions', [
'team_id' => 7,
]);
Operations method:
$client->operations()->teams()->createDiscussionLegacy( team_id: 7,
);
You can find more about this operation over at the API method documentation.
Get a discussion (Legacy)
Using the call
method:
$client->call('GET /teams/{team_id}/discussions/{discussion_number}', [
'team_id' => 7,
'discussion_number' => 17,
]);
Operations method:
$client->operations()->teams()->getDiscussionLegacy( team_id: 7,
discussion_number: 17,
);
You can find more about this operation over at the API method documentation.
Delete a discussion (Legacy)
Using the call
method:
$client->call('DELETE /teams/{team_id}/discussions/{discussion_number}', [
'team_id' => 7,
'discussion_number' => 17,
]);
Operations method:
$client->operations()->teams()->deleteDiscussionLegacy( team_id: 7,
discussion_number: 17,
);
You can find more about this operation over at the API method documentation.
Update a discussion (Legacy)
Using the call
method:
$client->call('PATCH /teams/{team_id}/discussions/{discussion_number}', [
'team_id' => 7,
'discussion_number' => 17,
]);
Operations method:
$client->operations()->teams()->updateDiscussionLegacy( team_id: 7,
discussion_number: 17,
);
You can find more about this operation over at the API method documentation.
List discussion comments (Legacy)
Using the call
method:
$client->call('GET /teams/{team_id}/discussions/{discussion_number}/comments', [
'team_id' => 7,
'discussion_number' => 17,
'direction' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listDiscussionCommentsLegacy( team_id: 7,
discussion_number: 17,
direction: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List discussion comments (Legacy)
Using the call
method:
$client->call('LIST /teams/{team_id}/discussions/{discussion_number}/comments', [
'team_id' => 7,
'discussion_number' => 17,
'direction' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listDiscussionCommentsLegacyListing( team_id: 7,
discussion_number: 17,
direction: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a discussion comment (Legacy)
Using the call
method:
$client->call('POST /teams/{team_id}/discussions/{discussion_number}/comments', [
'team_id' => 7,
'discussion_number' => 17,
]);
Operations method:
$client->operations()->teams()->createDiscussionCommentLegacy( team_id: 7,
discussion_number: 17,
);
You can find more about this operation over at the API method documentation.
Get a discussion comment (Legacy)
Using the call
method:
$client->call('GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}', [
'team_id' => 7,
'discussion_number' => 17,
'comment_number' => 14,
]);
Operations method:
$client->operations()->teams()->getDiscussionCommentLegacy( team_id: 7,
discussion_number: 17,
comment_number: 14,
);
You can find more about this operation over at the API method documentation.
Delete a discussion comment (Legacy)
Using the call
method:
$client->call('DELETE /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}', [
'team_id' => 7,
'discussion_number' => 17,
'comment_number' => 14,
]);
Operations method:
$client->operations()->teams()->deleteDiscussionCommentLegacy( team_id: 7,
discussion_number: 17,
comment_number: 14,
);
You can find more about this operation over at the API method documentation.
Update a discussion comment (Legacy)
Using the call
method:
$client->call('PATCH /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}', [
'team_id' => 7,
'discussion_number' => 17,
'comment_number' => 14,
]);
Operations method:
$client->operations()->teams()->updateDiscussionCommentLegacy( team_id: 7,
discussion_number: 17,
comment_number: 14,
);
You can find more about this operation over at the API method documentation.
List team members (Legacy)
Using the call
method:
$client->call('GET /teams/{team_id}/members', [
'team_id' => 7,
'role' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listMembersLegacy( team_id: 7,
role: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List team members (Legacy)
Using the call
method:
$client->call('LIST /teams/{team_id}/members', [
'team_id' => 7,
'role' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listMembersLegacyListing( team_id: 7,
role: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get team member (Legacy)
Using the call
method:
$client->call('GET /teams/{team_id}/members/{username}', [
'team_id' => 7,
'username' => 'generated',
]);
Operations method:
$client->operations()->teams()->getMemberLegacy( team_id: 7,
username: 'generated',
);
You can find more about this operation over at the API method documentation.
Add team member (Legacy)
Using the call
method:
$client->call('PUT /teams/{team_id}/members/{username}', [
'team_id' => 7,
'username' => 'generated',
]);
Operations method:
$client->operations()->teams()->addMemberLegacy( team_id: 7,
username: 'generated',
);
You can find more about this operation over at the API method documentation.
Remove team member (Legacy)
Using the call
method:
$client->call('DELETE /teams/{team_id}/members/{username}', [
'team_id' => 7,
'username' => 'generated',
]);
Operations method:
$client->operations()->teams()->removeMemberLegacy( team_id: 7,
username: 'generated',
);
You can find more about this operation over at the API method documentation.
Get team membership for a user (Legacy)
Using the call
method:
$client->call('GET /teams/{team_id}/memberships/{username}', [
'team_id' => 7,
'username' => 'generated',
]);
Operations method:
$client->operations()->teams()->getMembershipForUserLegacy( team_id: 7,
username: 'generated',
);
You can find more about this operation over at the API method documentation.
Add or update team membership for a user (Legacy)
Using the call
method:
$client->call('PUT /teams/{team_id}/memberships/{username}', [
'team_id' => 7,
'username' => 'generated',
]);
Operations method:
$client->operations()->teams()->addOrUpdateMembershipForUserLegacy( team_id: 7,
username: 'generated',
);
You can find more about this operation over at the API method documentation.
Remove team membership for a user (Legacy)
Using the call
method:
$client->call('DELETE /teams/{team_id}/memberships/{username}', [
'team_id' => 7,
'username' => 'generated',
]);
Operations method:
$client->operations()->teams()->removeMembershipForUserLegacy( team_id: 7,
username: 'generated',
);
You can find more about this operation over at the API method documentation.
List team projects (Legacy)
Using the call
method:
$client->call('GET /teams/{team_id}/projects', [
'team_id' => 7,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listProjectsLegacy( team_id: 7,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List team projects (Legacy)
Using the call
method:
$client->call('LIST /teams/{team_id}/projects', [
'team_id' => 7,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listProjectsLegacyListing( team_id: 7,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Check team permissions for a project (Legacy)
Using the call
method:
$client->call('GET /teams/{team_id}/projects/{project_id}', [
'team_id' => 7,
'project_id' => 10,
]);
Operations method:
$client->operations()->teams()->checkPermissionsForProjectLegacy( team_id: 7,
project_id: 10,
);
You can find more about this operation over at the API method documentation.
Add or update team project permissions (Legacy)
Using the call
method:
$client->call('PUT /teams/{team_id}/projects/{project_id}', [
'team_id' => 7,
'project_id' => 10,
]);
Operations method:
$client->operations()->teams()->addOrUpdateProjectPermissionsLegacy( team_id: 7,
project_id: 10,
);
You can find more about this operation over at the API method documentation.
Remove a project from a team (Legacy)
Using the call
method:
$client->call('DELETE /teams/{team_id}/projects/{project_id}', [
'team_id' => 7,
'project_id' => 10,
]);
Operations method:
$client->operations()->teams()->removeProjectLegacy( team_id: 7,
project_id: 10,
);
You can find more about this operation over at the API method documentation.
List team repositories (Legacy)
Using the call
method:
$client->call('GET /teams/{team_id}/repos', [
'team_id' => 7,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listReposLegacy( team_id: 7,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List team repositories (Legacy)
Using the call
method:
$client->call('LIST /teams/{team_id}/repos', [
'team_id' => 7,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listReposLegacyListing( team_id: 7,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Check team permissions for a repository (Legacy)
Using the call
method:
$client->call('GET /teams/{team_id}/repos/{owner}/{repo}', [
'team_id' => 7,
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->teams()->checkPermissionsForRepoLegacy( team_id: 7,
owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Add or update team repository permissions (Legacy)
Using the call
method:
$client->call('PUT /teams/{team_id}/repos/{owner}/{repo}', [
'team_id' => 7,
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->teams()->addOrUpdateRepoPermissionsLegacy( team_id: 7,
owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Remove a repository from a team (Legacy)
Using the call
method:
$client->call('DELETE /teams/{team_id}/repos/{owner}/{repo}', [
'team_id' => 7,
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->teams()->removeRepoLegacy( team_id: 7,
owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
List child teams (Legacy)
Using the call
method:
$client->call('GET /teams/{team_id}/teams', [
'team_id' => 7,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listChildLegacy( team_id: 7,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List child teams (Legacy)
Using the call
method:
$client->call('LIST /teams/{team_id}/teams', [
'team_id' => 7,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listChildLegacyListing( team_id: 7,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get the authenticated user
Using the call
method:
$client->call('GET /user');
Operations method:
$client->operations()->users()->getAuthenticated();
You can find more about this operation over at the API method documentation.
Update the authenticated user
Using the call
method:
$client->call('PATCH /user');
Operations method:
$client->operations()->users()->updateAuthenticated();
You can find more about this operation over at the API method documentation.
List followers of the authenticated user
Using the call
method:
$client->call('GET /user/followers', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->users()->listFollowersForAuthenticatedUser( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List followers of the authenticated user
Using the call
method:
$client->call('LIST /user/followers', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->users()->listFollowersForAuthenticatedUserListing( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List the people the authenticated user follows
Using the call
method:
$client->call('GET /user/following', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->users()->listFollowedByAuthenticatedUser( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List the people the authenticated user follows
Using the call
method:
$client->call('LIST /user/following', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->users()->listFollowedByAuthenticatedUserListing( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Check if a person is followed by the authenticated user
Using the call
method:
$client->call('GET /user/following/{username}', [
'username' => 'generated',
]);
Operations method:
$client->operations()->users()->checkPersonIsFollowedByAuthenticated( username: 'generated',
);
You can find more about this operation over at the API method documentation.
Follow a user
Using the call
method:
$client->call('PUT /user/following/{username}', [
'username' => 'generated',
]);
Operations method:
$client->operations()->users()->follow( username: 'generated',
);
You can find more about this operation over at the API method documentation.
Unfollow a user
Using the call
method:
$client->call('DELETE /user/following/{username}', [
'username' => 'generated',
]);
Operations method:
$client->operations()->users()->unfollow( username: 'generated',
);
You can find more about this operation over at the API method documentation.
List GPG keys for the authenticated user
Using the call
method:
$client->call('GET /user/gpg_keys', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->users()->listGpgKeysForAuthenticatedUser( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List GPG keys for the authenticated user
Using the call
method:
$client->call('LIST /user/gpg_keys', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->users()->listGpgKeysForAuthenticatedUserListing( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a GPG key for the authenticated user
Using the call
method:
$client->call('POST /user/gpg_keys');
Operations method:
$client->operations()->users()->createGpgKeyForAuthenticatedUser();
You can find more about this operation over at the API method documentation.
Get a GPG key for the authenticated user
Using the call
method:
$client->call('GET /user/gpg_keys/{gpg_key_id}', [
'gpg_key_id' => 10,
]);
Operations method:
$client->operations()->users()->getGpgKeyForAuthenticatedUser( gpg_key_id: 10,
);
You can find more about this operation over at the API method documentation.
Delete a GPG key for the authenticated user
Using the call
method:
$client->call('DELETE /user/gpg_keys/{gpg_key_id}', [
'gpg_key_id' => 10,
]);
Operations method:
$client->operations()->users()->deleteGpgKeyForAuthenticatedUser( gpg_key_id: 10,
);
You can find more about this operation over at the API method documentation.
List app installations accessible to the user access token
Using the call
method:
$client->call('GET /user/installations', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->apps()->listInstallationsForAuthenticatedUser( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List repositories accessible to the user access token
Using the call
method:
$client->call('GET /user/installations/{installation_id}/repositories', [
'installation_id' => 15,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->apps()->listInstallationReposForAuthenticatedUser( installation_id: 15,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Add a repository to an app installation
Using the call
method:
$client->call('PUT /user/installations/{installation_id}/repositories/{repository_id}', [
'installation_id' => 15,
'repository_id' => 13,
]);
Operations method:
$client->operations()->apps()->addRepoToInstallationForAuthenticatedUser( installation_id: 15,
repository_id: 13,
);
You can find more about this operation over at the API method documentation.
Remove a repository from an app installation
Using the call
method:
$client->call('DELETE /user/installations/{installation_id}/repositories/{repository_id}', [
'installation_id' => 15,
'repository_id' => 13,
]);
Operations method:
$client->operations()->apps()->removeRepoFromInstallationForAuthenticatedUser( installation_id: 15,
repository_id: 13,
);
You can find more about this operation over at the API method documentation.
List user account issues assigned to the authenticated user
Using the call
method:
$client->call('GET /user/issues', [
'labels' => 'generated',
'since' => '1970-01-01T00:00:00+00:00',
'filter' => 'generated',
'state' => 'generated',
'sort' => 'generated',
'direction' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listForAuthenticatedUser( labels: 'generated',
since: '1970-01-01T00:00:00+00:00',
filter: 'generated',
state: 'generated',
sort: 'generated',
direction: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List user account issues assigned to the authenticated user
Using the call
method:
$client->call('LIST /user/issues', [
'labels' => 'generated',
'since' => '1970-01-01T00:00:00+00:00',
'filter' => 'generated',
'state' => 'generated',
'sort' => 'generated',
'direction' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listForAuthenticatedUserListing( labels: 'generated',
since: '1970-01-01T00:00:00+00:00',
filter: 'generated',
state: 'generated',
sort: 'generated',
direction: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List public SSH keys for the authenticated user
Using the call
method:
$client->call('GET /user/keys', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->users()->listPublicSshKeysForAuthenticatedUser( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List public SSH keys for the authenticated user
Using the call
method:
$client->call('LIST /user/keys', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->users()->listPublicSshKeysForAuthenticatedUserListing( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a public SSH key for the authenticated user
Using the call
method:
$client->call('POST /user/keys');
Operations method:
$client->operations()->users()->createPublicSshKeyForAuthenticatedUser();
You can find more about this operation over at the API method documentation.
Get a public SSH key for the authenticated user
Using the call
method:
$client->call('GET /user/keys/{key_id}', [
'key_id' => 6,
]);
Operations method:
$client->operations()->users()->getPublicSshKeyForAuthenticatedUser( key_id: 6,
);
You can find more about this operation over at the API method documentation.
Delete a public SSH key for the authenticated user
Using the call
method:
$client->call('DELETE /user/keys/{key_id}', [
'key_id' => 6,
]);
Operations method:
$client->operations()->users()->deletePublicSshKeyForAuthenticatedUser( key_id: 6,
);
You can find more about this operation over at the API method documentation.
List organization memberships for the authenticated user
Using the call
method:
$client->call('GET /user/memberships/orgs', [
'state' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listMembershipsForAuthenticatedUser( state: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List organization memberships for the authenticated user
Using the call
method:
$client->call('LIST /user/memberships/orgs', [
'state' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listMembershipsForAuthenticatedUserListing( state: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get an organization membership for the authenticated user
Using the call
method:
$client->call('GET /user/memberships/orgs/{org}', [
'org' => 'generated',
]);
Operations method:
$client->operations()->orgs()->getMembershipForAuthenticatedUser( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Update an organization membership for the authenticated user
Using the call
method:
$client->call('PATCH /user/memberships/orgs/{org}', [
'org' => 'generated',
]);
Operations method:
$client->operations()->orgs()->updateMembershipForAuthenticatedUser( org: 'generated',
);
You can find more about this operation over at the API method documentation.
List user migrations
Using the call
method:
$client->call('GET /user/migrations', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->migrations()->listForAuthenticatedUser( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List user migrations
Using the call
method:
$client->call('LIST /user/migrations', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->migrations()->listForAuthenticatedUserListing( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Start a user migration
Using the call
method:
$client->call('POST /user/migrations');
Operations method:
$client->operations()->migrations()->startForAuthenticatedUser();
You can find more about this operation over at the API method documentation.
Download a user migration archive
Using the call
method:
$client->call('GET /user/migrations/{migration_id}/archive', [
'migration_id' => 12,
]);
Operations method:
$client->operations()->migrations()->getArchiveForAuthenticatedUser( migration_id: 12,
);
You can find more about this operation over at the API method documentation.
List repositories for a user migration
Using the call
method:
$client->call('GET /user/migrations/{migration_id}/repositories', [
'migration_id' => 12,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->migrations()->listReposForAuthenticatedUser( migration_id: 12,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List repositories for a user migration
Using the call
method:
$client->call('LIST /user/migrations/{migration_id}/repositories', [
'migration_id' => 12,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->migrations()->listReposForAuthenticatedUserListing( migration_id: 12,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List organizations for the authenticated user
Using the call
method:
$client->call('GET /user/orgs', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listForAuthenticatedUser( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List organizations for the authenticated user
Using the call
method:
$client->call('LIST /user/orgs', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listForAuthenticatedUserListing( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a user project
Using the call
method:
$client->call('POST /user/projects');
Operations method:
$client->operations()->projects()->createForAuthenticatedUser();
You can find more about this operation over at the API method documentation.
List repositories for the authenticated user
Using the call
method:
$client->call('GET /user/repos', [
'direction' => 'generated',
'since' => '1970-01-01T00:00:00+00:00',
'before' => '1970-01-01T00:00:00+00:00',
'visibility' => 'generated',
'affiliation' => 'generated',
'type' => 'generated',
'sort' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listForAuthenticatedUser( direction: 'generated',
since: '1970-01-01T00:00:00+00:00',
before: '1970-01-01T00:00:00+00:00',
visibility: 'generated',
affiliation: 'generated',
type: 'generated',
sort: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List repositories for the authenticated user
Using the call
method:
$client->call('LIST /user/repos', [
'direction' => 'generated',
'since' => '1970-01-01T00:00:00+00:00',
'before' => '1970-01-01T00:00:00+00:00',
'visibility' => 'generated',
'affiliation' => 'generated',
'type' => 'generated',
'sort' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listForAuthenticatedUserListing( direction: 'generated',
since: '1970-01-01T00:00:00+00:00',
before: '1970-01-01T00:00:00+00:00',
visibility: 'generated',
affiliation: 'generated',
type: 'generated',
sort: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a repository for the authenticated user
Using the call
method:
$client->call('POST /user/repos');
Operations method:
$client->operations()->repos()->createForAuthenticatedUser();
You can find more about this operation over at the API method documentation.
List repository invitations for the authenticated user
Using the call
method:
$client->call('GET /user/repository_invitations', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listInvitationsForAuthenticatedUser( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List repository invitations for the authenticated user
Using the call
method:
$client->call('LIST /user/repository_invitations', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listInvitationsForAuthenticatedUserListing( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Decline a repository invitation
Using the call
method:
$client->call('DELETE /user/repository_invitations/{invitation_id}', [
'invitation_id' => 13,
]);
Operations method:
$client->operations()->repos()->declineInvitationForAuthenticatedUser( invitation_id: 13,
);
You can find more about this operation over at the API method documentation.
Accept a repository invitation
Using the call
method:
$client->call('PATCH /user/repository_invitations/{invitation_id}', [
'invitation_id' => 13,
]);
Operations method:
$client->operations()->repos()->acceptInvitationForAuthenticatedUser( invitation_id: 13,
);
You can find more about this operation over at the API method documentation.
List repositories starred by the authenticated user
Using the call
method:
$client->call('GET /user/starred', [
'sort' => 'generated',
'direction' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->activity()->listReposStarredByAuthenticatedUser( sort: 'generated',
direction: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List repositories starred by the authenticated user
Using the call
method:
$client->call('LIST /user/starred', [
'sort' => 'generated',
'direction' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->activity()->listReposStarredByAuthenticatedUserListing( sort: 'generated',
direction: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Check if a repository is starred by the authenticated user
Using the call
method:
$client->call('GET /user/starred/{owner}/{repo}', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->activity()->checkRepoIsStarredByAuthenticatedUser( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Star a repository for the authenticated user
Using the call
method:
$client->call('PUT /user/starred/{owner}/{repo}', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->activity()->starRepoForAuthenticatedUser( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Unstar a repository for the authenticated user
Using the call
method:
$client->call('DELETE /user/starred/{owner}/{repo}', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->activity()->unstarRepoForAuthenticatedUser( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
List repositories watched by the authenticated user
Using the call
method:
$client->call('GET /user/subscriptions', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->activity()->listWatchedReposForAuthenticatedUser( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List repositories watched by the authenticated user
Using the call
method:
$client->call('LIST /user/subscriptions', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->activity()->listWatchedReposForAuthenticatedUserListing( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List teams for the authenticated user
Using the call
method:
$client->call('GET /user/teams', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listForAuthenticatedUser( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List teams for the authenticated user
Using the call
method:
$client->call('LIST /user/teams', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listForAuthenticatedUserListing( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List users
Using the call
method:
$client->call('GET /users', [
'since' => 5,
'per_page' => 8,
]);
Operations method:
$client->operations()->users()->list( since: 5,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
Get a user
Using the call
method:
$client->call('GET /users/{username}', [
'username' => 'generated',
]);
Operations method:
$client->operations()->users()->getByUsername( username: 'generated',
);
You can find more about this operation over at the API method documentation.
List events for the authenticated user
Using the call
method:
$client->call('GET /users/{username}/events', [
'username' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->activity()->listEventsForAuthenticatedUser( username: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List events for the authenticated user
Using the call
method:
$client->call('LIST /users/{username}/events', [
'username' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->activity()->listEventsForAuthenticatedUserListing( username: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List organization events for the authenticated user
Using the call
method:
$client->call('GET /users/{username}/events/orgs/{org}', [
'username' => 'generated',
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->activity()->listOrgEventsForAuthenticatedUser( username: 'generated',
org: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List organization events for the authenticated user
Using the call
method:
$client->call('LIST /users/{username}/events/orgs/{org}', [
'username' => 'generated',
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->activity()->listOrgEventsForAuthenticatedUserListing( username: 'generated',
org: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List followers of a user
Using the call
method:
$client->call('GET /users/{username}/followers', [
'username' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->users()->listFollowersForUser( username: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List followers of a user
Using the call
method:
$client->call('LIST /users/{username}/followers', [
'username' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->users()->listFollowersForUserListing( username: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List the people a user follows
Using the call
method:
$client->call('GET /users/{username}/following', [
'username' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->users()->listFollowingForUser( username: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List the people a user follows
Using the call
method:
$client->call('LIST /users/{username}/following', [
'username' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->users()->listFollowingForUserListing( username: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Check if a user follows another user
Using the call
method:
$client->call('GET /users/{username}/following/{target_user}', [
'username' => 'generated',
'target_user' => 'generated',
]);
Operations method:
$client->operations()->users()->checkFollowingForUser( username: 'generated',
target_user: 'generated',
);
You can find more about this operation over at the API method documentation.
List gists for a user
Using the call
method:
$client->call('GET /users/{username}/gists', [
'username' => 'generated',
'since' => '1970-01-01T00:00:00+00:00',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->gists()->listForUser( username: 'generated',
since: '1970-01-01T00:00:00+00:00',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List gists for a user
Using the call
method:
$client->call('LIST /users/{username}/gists', [
'username' => 'generated',
'since' => '1970-01-01T00:00:00+00:00',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->gists()->listForUserListing( username: 'generated',
since: '1970-01-01T00:00:00+00:00',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List GPG keys for a user
Using the call
method:
$client->call('GET /users/{username}/gpg_keys', [
'username' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->users()->listGpgKeysForUser( username: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List GPG keys for a user
Using the call
method:
$client->call('LIST /users/{username}/gpg_keys', [
'username' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->users()->listGpgKeysForUserListing( username: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get contextual information for a user
Using the call
method:
$client->call('GET /users/{username}/hovercard', [
'username' => 'generated',
'subject_type' => 'generated',
'subject_id' => 'generated',
]);
Operations method:
$client->operations()->users()->getContextForUser( username: 'generated',
subject_type: 'generated',
subject_id: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a user installation for the authenticated app
Using the call
method:
$client->call('GET /users/{username}/installation', [
'username' => 'generated',
]);
Operations method:
$client->operations()->apps()->getUserInstallation( username: 'generated',
);
You can find more about this operation over at the API method documentation.
List public keys for a user
Using the call
method:
$client->call('GET /users/{username}/keys', [
'username' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->users()->listPublicKeysForUser( username: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List public keys for a user
Using the call
method:
$client->call('LIST /users/{username}/keys', [
'username' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->users()->listPublicKeysForUserListing( username: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List organizations for a user
Using the call
method:
$client->call('GET /users/{username}/orgs', [
'username' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listForUser( username: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List organizations for a user
Using the call
method:
$client->call('LIST /users/{username}/orgs', [
'username' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listForUserListing( username: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List user projects
Using the call
method:
$client->call('GET /users/{username}/projects', [
'username' => 'generated',
'state' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->projects()->listForUser( username: 'generated',
state: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List user projects
Using the call
method:
$client->call('LIST /users/{username}/projects', [
'username' => 'generated',
'state' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->projects()->listForUserListing( username: 'generated',
state: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List repositories for a user
Using the call
method:
$client->call('GET /users/{username}/repos', [
'username' => 'generated',
'direction' => 'generated',
'type' => 'generated',
'sort' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listForUser( username: 'generated',
direction: 'generated',
type: 'generated',
sort: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List repositories for a user
Using the call
method:
$client->call('LIST /users/{username}/repos', [
'username' => 'generated',
'direction' => 'generated',
'type' => 'generated',
'sort' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listForUserListing( username: 'generated',
direction: 'generated',
type: 'generated',
sort: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List repositories starred by a user
Using the call
method:
$client->call('GET /users/{username}/starred', [
'username' => 'generated',
'sort' => 'generated',
'direction' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->activity()->listReposStarredByUser( username: 'generated',
sort: 'generated',
direction: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List repositories watched by a user
Using the call
method:
$client->call('GET /users/{username}/subscriptions', [
'username' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->activity()->listReposWatchedByUser( username: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List repositories watched by a user
Using the call
method:
$client->call('LIST /users/{username}/subscriptions', [
'username' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->activity()->listReposWatchedByUserListing( username: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Suspend a user
Using the call
method:
$client->call('PUT /users/{username}/suspended', [
'username' => 'generated',
]);
Operations method:
$client->operations()->enterpriseAdmin()->suspendUser( username: 'generated',
);
You can find more about this operation over at the API method documentation.
Unsuspend a user
Using the call
method:
$client->call('DELETE /users/{username}/suspended', [
'username' => 'generated',
]);
Operations method:
$client->operations()->enterpriseAdmin()->unsuspendUser( username: 'generated',
);
You can find more about this operation over at the API method documentation.
Get the Zen of GitHub
Using the call
method:
$client->call('GET /zen');
Operations method:
$client->operations()->meta()->getZen();
You can find more about this operation over at the API method documentation.