Non-Blocking first GitHub client, this is a read only sub split, see github-root
for the root package.
use React\Http\Browser;
use ApiClients\Client\GitHub\BearerToken;
use ApiClients\Client\GitHub\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 security advisories
Using the call
method:
$client->call('GET /advisories', [
'ghsa_id' => 'generated',
'cve_id' => 'generated',
'ecosystem' => 'generated',
'severity' => 'generated',
'cwes' => ,
'is_withdrawn' => ,
'affects' => ,
'published' => 'generated',
'updated' => 'generated',
'modified' => 'generated',
'epss_percentage' => 'generated',
'epss_percentile' => 'generated',
'before' => 'generated',
'after' => 'generated',
'type' => 'generated',
'direction' => 'generated',
'per_page' => 8,
'sort' => 'generated',
]);
Operations method:
$client->operations()->securityAdvisories()->listGlobalAdvisories( ghsa_id: 'generated',
cve_id: 'generated',
ecosystem: 'generated',
severity: 'generated',
cwes: ,
is_withdrawn: ,
affects: ,
published: 'generated',
updated: 'generated',
modified: 'generated',
epss_percentage: 'generated',
epss_percentile: 'generated',
before: 'generated',
after: 'generated',
type: 'generated',
direction: 'generated',
per_page: 8,
sort: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a global security advisory
Using the call
method:
$client->call('GET /advisories/{ghsa_id}', [
'ghsa_id' => 'generated',
]);
Operations method:
$client->operations()->securityAdvisories()->getGlobalAdvisory( ghsa_id: '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',
'per_page' => 8,
]);
Operations method:
$client->operations()->apps()->listWebhookDeliveries( cursor: 'generated',
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.
Create a scoped access token
Using the call
method:
$client->call('POST /applications/{client_id}/token/scoped', [
'client_id' => 'generated',
]);
Operations method:
$client->operations()->apps()->scopeToken( client_id: '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 an assignment
Using the call
method:
$client->call('GET /assignments/{assignment_id}', [
'assignment_id' => 13,
]);
Operations method:
$client->operations()->classroom()->getAnAssignment( assignment_id: 13,
);
You can find more about this operation over at the API method documentation.
List accepted assignments for an assignment
Using the call
method:
$client->call('GET /assignments/{assignment_id}/accepted_assignments', [
'assignment_id' => 13,
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->classroom()->listAcceptedAssignmentsForAnAssignment( assignment_id: 13,
page: 1,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
List accepted assignments for an assignment
Using the call
method:
$client->call('LIST /assignments/{assignment_id}/accepted_assignments', [
'assignment_id' => 13,
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->classroom()->listAcceptedAssignmentsForAnAssignmentListing( assignment_id: 13,
page: 1,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
Get assignment grades
Using the call
method:
$client->call('GET /assignments/{assignment_id}/grades', [
'assignment_id' => 13,
]);
Operations method:
$client->operations()->classroom()->getAssignmentGrades( assignment_id: 13,
);
You can find more about this operation over at the API method documentation.
List classrooms
Using the call
method:
$client->call('GET /classrooms', [
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->classroom()->listClassrooms( page: 1,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
List classrooms
Using the call
method:
$client->call('LIST /classrooms', [
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->classroom()->listClassroomsListing( page: 1,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
Get a classroom
Using the call
method:
$client->call('GET /classrooms/{classroom_id}', [
'classroom_id' => 12,
]);
Operations method:
$client->operations()->classroom()->getAClassroom( classroom_id: 12,
);
You can find more about this operation over at the API method documentation.
List assignments for a classroom
Using the call
method:
$client->call('GET /classrooms/{classroom_id}/assignments', [
'classroom_id' => 12,
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->classroom()->listAssignmentsForAClassroom( classroom_id: 12,
page: 1,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
List assignments for a classroom
Using the call
method:
$client->call('LIST /classrooms/{classroom_id}/assignments', [
'classroom_id' => 12,
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->classroom()->listAssignmentsForAClassroomListing( classroom_id: 12,
page: 1,
per_page: 8,
);
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 code security configurations for an enterprise
Using the call
method:
$client->call('GET /enterprises/{enterprise}/code-security/configurations', [
'enterprise' => 'generated',
'before' => 'generated',
'after' => 'generated',
'per_page' => 8,
]);
Operations method:
$client->operations()->codeSecurity()->getConfigurationsForEnterprise( enterprise: 'generated',
before: 'generated',
after: 'generated',
per_page: 8,
);
You can find more about this operation over at the API method documentation.
Create a code security configuration for an enterprise
Using the call
method:
$client->call('POST /enterprises/{enterprise}/code-security/configurations', [
'enterprise' => 'generated',
]);
Operations method:
$client->operations()->codeSecurity()->createConfigurationForEnterprise( enterprise: 'generated',
);
You can find more about this operation over at the API method documentation.
Get default code security configurations for an enterprise
Using the call
method:
$client->call('GET /enterprises/{enterprise}/code-security/configurations/defaults', [
'enterprise' => 'generated',
]);
Operations method:
$client->operations()->codeSecurity()->getDefaultConfigurationsForEnterprise( enterprise: 'generated',
);
You can find more about this operation over at the API method documentation.
Retrieve a code security configuration of an enterprise
Using the call
method:
$client->call('GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}', [
'enterprise' => 'generated',
'configuration_id' => 16,
]);
Operations method:
$client->operations()->codeSecurity()->getSingleConfigurationForEnterprise( enterprise: 'generated',
configuration_id: 16,
);
You can find more about this operation over at the API method documentation.
Delete a code security configuration for an enterprise
Using the call
method:
$client->call('DELETE /enterprises/{enterprise}/code-security/configurations/{configuration_id}', [
'enterprise' => 'generated',
'configuration_id' => 16,
]);
Operations method:
$client->operations()->codeSecurity()->deleteConfigurationForEnterprise( enterprise: 'generated',
configuration_id: 16,
);
You can find more about this operation over at the API method documentation.
Update a custom code security configuration for an enterprise
Using the call
method:
$client->call('PATCH /enterprises/{enterprise}/code-security/configurations/{configuration_id}', [
'enterprise' => 'generated',
'configuration_id' => 16,
]);
Operations method:
$client->operations()->codeSecurity()->updateEnterpriseConfiguration( enterprise: 'generated',
configuration_id: 16,
);
You can find more about this operation over at the API method documentation.
Attach an enterprise configuration to repositories
Using the call
method:
$client->call('POST /enterprises/{enterprise}/code-security/configurations/{configuration_id}/attach', [
'enterprise' => 'generated',
'configuration_id' => 16,
]);
Operations method:
$client->operations()->codeSecurity()->attachEnterpriseConfiguration( enterprise: 'generated',
configuration_id: 16,
);
You can find more about this operation over at the API method documentation.
Set a code security configuration as a default for an enterprise
Using the call
method:
$client->call('PUT /enterprises/{enterprise}/code-security/configurations/{configuration_id}/defaults', [
'enterprise' => 'generated',
'configuration_id' => 16,
]);
Operations method:
$client->operations()->codeSecurity()->setConfigurationAsDefaultForEnterprise( enterprise: 'generated',
configuration_id: 16,
);
You can find more about this operation over at the API method documentation.
Get repositories associated with an enterprise code security configuration
Using the call
method:
$client->call('GET /enterprises/{enterprise}/code-security/configurations/{configuration_id}/repositories', [
'enterprise' => 'generated',
'configuration_id' => 16,
'before' => 'generated',
'after' => 'generated',
'per_page' => 8,
'status' => 'generated',
]);
Operations method:
$client->operations()->codeSecurity()->getRepositoriesForEnterpriseConfiguration( enterprise: 'generated',
configuration_id: 16,
before: 'generated',
after: 'generated',
per_page: 8,
status: 'generated',
);
You can find more about this operation over at the API method documentation.
List Dependabot alerts for an enterprise
Using the call
method:
$client->call('GET /enterprises/{enterprise}/dependabot/alerts', [
'enterprise' => 'generated',
'state' => 'generated',
'severity' => 'generated',
'ecosystem' => 'generated',
'package' => 'generated',
'epss_percentage' => 'generated',
'scope' => 'generated',
'before' => 'generated',
'after' => 'generated',
'last' => 4,
'sort' => 'generated',
'direction' => 'generated',
'first' => 5,
'per_page' => 8,
]);
Operations method:
$client->operations()->dependabot()->listAlertsForEnterprise( enterprise: 'generated',
state: 'generated',
severity: 'generated',
ecosystem: 'generated',
package: 'generated',
epss_percentage: 'generated',
scope: 'generated',
before: 'generated',
after: 'generated',
last: 4,
sort: 'generated',
direction: 'generated',
first: 5,
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,
'is_publicly_leaked' => ,
'is_multi_repo' => ,
]);
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,
is_publicly_leaked: ,
is_multi_repo: ,
);
You can find more about this operation over at the API method documentation.
List public events
Using the call
method:
$client->call('GET /events', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->activity()->listPublicEvents( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List public events
Using the call
method:
$client->call('LIST /events', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->activity()->listPublicEventsListing( per_page: 8,
page: 1,
);
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 a subscription plan for an account
Using the call
method:
$client->call('GET /marketplace_listing/accounts/{account_id}', [
'account_id' => 10,
]);
Operations method:
$client->operations()->apps()->getSubscriptionPlanForAccount( account_id: 10,
);
You can find more about this operation over at the API method documentation.
List plans
Using the call
method:
$client->call('GET /marketplace_listing/plans', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->apps()->listPlans( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List plans
Using the call
method:
$client->call('LIST /marketplace_listing/plans', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->apps()->listPlansListing( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List accounts for a plan
Using the call
method:
$client->call('GET /marketplace_listing/plans/{plan_id}/accounts', [
'plan_id' => 7,
'direction' => 'generated',
'sort' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->apps()->listAccountsForPlan( plan_id: 7,
direction: 'generated',
sort: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List accounts for a plan
Using the call
method:
$client->call('LIST /marketplace_listing/plans/{plan_id}/accounts', [
'plan_id' => 7,
'direction' => 'generated',
'sort' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->apps()->listAccountsForPlanListing( plan_id: 7,
direction: 'generated',
sort: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get a subscription plan for an account (stubbed)
Using the call
method:
$client->call('GET /marketplace_listing/stubbed/accounts/{account_id}', [
'account_id' => 10,
]);
Operations method:
$client->operations()->apps()->getSubscriptionPlanForAccountStubbed( account_id: 10,
);
You can find more about this operation over at the API method documentation.
List plans (stubbed)
Using the call
method:
$client->call('GET /marketplace_listing/stubbed/plans', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->apps()->listPlansStubbed( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List plans (stubbed)
Using the call
method:
$client->call('LIST /marketplace_listing/stubbed/plans', [
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->apps()->listPlansStubbedListing( per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List accounts for a plan (stubbed)
Using the call
method:
$client->call('GET /marketplace_listing/stubbed/plans/{plan_id}/accounts', [
'plan_id' => 7,
'direction' => 'generated',
'sort' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->apps()->listAccountsForPlanStubbed( plan_id: 7,
direction: 'generated',
sort: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List accounts for a plan (stubbed)
Using the call
method:
$client->call('LIST /marketplace_listing/stubbed/plans/{plan_id}/accounts', [
'plan_id' => 7,
'direction' => 'generated',
'sort' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->apps()->listAccountsForPlanStubbedListing( plan_id: 7,
direction: 'generated',
sort: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get GitHub 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 public events for a network of repositories
Using the call
method:
$client->call('GET /networks/{owner}/{repo}/events', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->activity()->listPublicEventsForRepoNetwork( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List public events for a network of repositories
Using the call
method:
$client->call('LIST /networks/{owner}/{repo}/events', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->activity()->listPublicEventsForRepoNetworkListing( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
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 billing usage report for an organization
Using the call
method:
$client->call('GET /organizations/{org}/settings/billing/usage', [
'org' => 'generated',
'year' => 4,
'month' => 5,
'day' => 3,
'hour' => 4,
]);
Operations method:
$client->operations()->billing()->getGithubBillingUsageReportOrg( org: 'generated',
year: 4,
month: 5,
day: 3,
hour: 4,
);
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.
Delete an organization
Using the call
method:
$client->call('DELETE /orgs/{org}', [
'org' => 'generated',
]);
Operations method:
$client->operations()->orgs()->delete( 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 cache usage for an organization
Using the call
method:
$client->call('GET /orgs/{org}/actions/cache/usage', [
'org' => 'generated',
]);
Operations method:
$client->operations()->actions()->getActionsCacheUsageForOrg( org: 'generated',
);
You can find more about this operation over at the API method documentation.
List repositories with GitHub Actions cache usage for an organization
Using the call
method:
$client->call('GET /orgs/{org}/actions/cache/usage-by-repository', [
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->actions()->getActionsCacheUsageByRepoForOrg( org: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List GitHub-hosted runners for an organization
Using the call
method:
$client->call('GET /orgs/{org}/actions/hosted-runners', [
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->actions()->listHostedRunnersForOrg( org: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a GitHub-hosted runner for an organization
Using the call
method:
$client->call('POST /orgs/{org}/actions/hosted-runners', [
'org' => 'generated',
]);
Operations method:
$client->operations()->actions()->createHostedRunnerForOrg( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Get GitHub-owned images for GitHub-hosted runners in an organization
Using the call
method:
$client->call('GET /orgs/{org}/actions/hosted-runners/images/github-owned', [
'org' => 'generated',
]);
Operations method:
$client->operations()->actions()->getHostedRunnersGithubOwnedImagesForOrg( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Get partner images for GitHub-hosted runners in an organization
Using the call
method:
$client->call('GET /orgs/{org}/actions/hosted-runners/images/partner', [
'org' => 'generated',
]);
Operations method:
$client->operations()->actions()->getHostedRunnersPartnerImagesForOrg( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Get limits on GitHub-hosted runners for an organization
Using the call
method:
$client->call('GET /orgs/{org}/actions/hosted-runners/limits', [
'org' => 'generated',
]);
Operations method:
$client->operations()->actions()->getHostedRunnersLimitsForOrg( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Get GitHub-hosted runners machine specs for an organization
Using the call
method:
$client->call('GET /orgs/{org}/actions/hosted-runners/machine-sizes', [
'org' => 'generated',
]);
Operations method:
$client->operations()->actions()->getHostedRunnersMachineSpecsForOrg( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Get platforms for GitHub-hosted runners in an organization
Using the call
method:
$client->call('GET /orgs/{org}/actions/hosted-runners/platforms', [
'org' => 'generated',
]);
Operations method:
$client->operations()->actions()->getHostedRunnersPlatformsForOrg( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a GitHub-hosted runner for an organization
Using the call
method:
$client->call('GET /orgs/{org}/actions/hosted-runners/{hosted_runner_id}', [
'org' => 'generated',
'hosted_runner_id' => 16,
]);
Operations method:
$client->operations()->actions()->getHostedRunnerForOrg( org: 'generated',
hosted_runner_id: 16,
);
You can find more about this operation over at the API method documentation.
Delete a GitHub-hosted runner for an organization
Using the call
method:
$client->call('DELETE /orgs/{org}/actions/hosted-runners/{hosted_runner_id}', [
'org' => 'generated',
'hosted_runner_id' => 16,
]);
Operations method:
$client->operations()->actions()->deleteHostedRunnerForOrg( org: 'generated',
hosted_runner_id: 16,
);
You can find more about this operation over at the API method documentation.
Update a GitHub-hosted runner for an organization
Using the call
method:
$client->call('PATCH /orgs/{org}/actions/hosted-runners/{hosted_runner_id}', [
'org' => 'generated',
'hosted_runner_id' => 16,
]);
Operations method:
$client->operations()->actions()->updateHostedRunnerForOrg( org: 'generated',
hosted_runner_id: 16,
);
You can find more about this operation over at the API method documentation.
Get the customization template for an OIDC subject claim for an organization
Using the call
method:
$client->call('GET /orgs/{org}/actions/oidc/customization/sub', [
'org' => 'generated',
]);
Operations method:
$client->operations()->oidc()->getOidcCustomSubTemplateForOrg( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Set the customization template for an OIDC subject claim for an organization
Using the call
method:
$client->call('PUT /orgs/{org}/actions/oidc/customization/sub', [
'org' => 'generated',
]);
Operations method:
$client->operations()->oidc()->updateOidcCustomSubTemplateForOrg( 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 and reusable workflows 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 and reusable workflows 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',
'visible_to_repository' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->actions()->listSelfHostedRunnerGroupsForOrg( org: 'generated',
visible_to_repository: '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.
List GitHub-hosted runners in a group for an organization
Using the call
method:
$client->call('GET /orgs/{org}/actions/runner-groups/{runner_group_id}/hosted-runners', [
'org' => 'generated',
'runner_group_id' => 15,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->actions()->listGithubHostedRunnersInGroupForOrg( org: 'generated',
runner_group_id: 15,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List repository access to a self-hosted runner group in an organization
Using the call
method:
$client->call('GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories', [
'org' => 'generated',
'runner_group_id' => 15,
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->actions()->listRepoAccessToSelfHostedRunnerGroupInOrg( org: 'generated',
runner_group_id: 15,
page: 1,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
Set repository access for a self-hosted runner group in an organization
Using the call
method:
$client->call('PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories', [
'org' => 'generated',
'runner_group_id' => 15,
]);
Operations method:
$client->operations()->actions()->setRepoAccessToSelfHostedRunnerGroupInOrg( org: 'generated',
runner_group_id: 15,
);
You can find more about this operation over at the API method documentation.
Add repository access to a self-hosted runner group in an organization
Using the call
method:
$client->call('PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}', [
'org' => 'generated',
'runner_group_id' => 15,
'repository_id' => 13,
]);
Operations method:
$client->operations()->actions()->addRepoAccessToSelfHostedRunnerGroupInOrg( org: 'generated',
runner_group_id: 15,
repository_id: 13,
);
You can find more about this operation over at the API method documentation.
Remove repository access to a self-hosted runner group in an organization
Using the call
method:
$client->call('DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}', [
'org' => 'generated',
'runner_group_id' => 15,
'repository_id' => 13,
]);
Operations method:
$client->operations()->actions()->removeRepoAccessToSelfHostedRunnerGroupInOrg( org: 'generated',
runner_group_id: 15,
repository_id: 13,
);
You can find more about this operation over at the API method documentation.
List self-hosted runners in a group for an organization
Using the call
method:
$client->call('GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runners', [
'org' => 'generated',
'runner_group_id' => 15,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->actions()->listSelfHostedRunnersInGroupForOrg( org: '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 organization
Using the call
method:
$client->call('PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners', [
'org' => 'generated',
'runner_group_id' => 15,
]);
Operations method:
$client->operations()->actions()->setSelfHostedRunnersInGroupForOrg( 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.
Remove a self-hosted runner from a group for an organization
Using the call
method:
$client->call('DELETE /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()->removeSelfHostedRunnerFromGroupForOrg( 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', [
'name' => 'generated',
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->actions()->listSelfHostedRunnersForOrg( name: 'generated',
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 configuration for a just-in-time runner for an organization
Using the call
method:
$client->call('POST /orgs/{org}/actions/runners/generate-jitconfig', [
'org' => 'generated',
]);
Operations method:
$client->operations()->actions()->generateRunnerJitconfigForOrg( 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 labels for a self-hosted runner for an organization
Using the call
method:
$client->call('GET /orgs/{org}/actions/runners/{runner_id}/labels', [
'org' => 'generated',
'runner_id' => 9,
]);
Operations method:
$client->operations()->actions()->listLabelsForSelfHostedRunnerForOrg( org: 'generated',
runner_id: 9,
);
You can find more about this operation over at the API method documentation.
Set custom labels for a self-hosted runner for an organization
Using the call
method:
$client->call('PUT /orgs/{org}/actions/runners/{runner_id}/labels', [
'org' => 'generated',
'runner_id' => 9,
]);
Operations method:
$client->operations()->actions()->setCustomLabelsForSelfHostedRunnerForOrg( org: 'generated',
runner_id: 9,
);
You can find more about this operation over at the API method documentation.
Add custom labels to a self-hosted runner for an organization
Using the call
method:
$client->call('POST /orgs/{org}/actions/runners/{runner_id}/labels', [
'org' => 'generated',
'runner_id' => 9,
]);
Operations method:
$client->operations()->actions()->addCustomLabelsToSelfHostedRunnerForOrg( org: 'generated',
runner_id: 9,
);
You can find more about this operation over at the API method documentation.
Remove all custom labels from a self-hosted runner for an organization
Using the call
method:
$client->call('DELETE /orgs/{org}/actions/runners/{runner_id}/labels', [
'org' => 'generated',
'runner_id' => 9,
]);
Operations method:
$client->operations()->actions()->removeAllCustomLabelsFromSelfHostedRunnerForOrg( org: 'generated',
runner_id: 9,
);
You can find more about this operation over at the API method documentation.
Remove a custom label from a self-hosted runner for an organization
Using the call
method:
$client->call('DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}', [
'org' => 'generated',
'runner_id' => 9,
'name' => 'generated',
]);
Operations method:
$client->operations()->actions()->removeCustomLabelFromSelfHostedRunnerForOrg( org: 'generated',
runner_id: 9,
name: 'generated',
);
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.
List organization variables
Using the call
method:
$client->call('GET /orgs/{org}/actions/variables', [
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->actions()->listOrgVariables( org: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create an organization variable
Using the call
method:
$client->call('POST /orgs/{org}/actions/variables', [
'org' => 'generated',
]);
Operations method:
$client->operations()->actions()->createOrgVariable( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Get an organization variable
Using the call
method:
$client->call('GET /orgs/{org}/actions/variables/{name}', [
'org' => 'generated',
'name' => 'generated',
]);
Operations method:
$client->operations()->actions()->getOrgVariable( org: 'generated',
name: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete an organization variable
Using the call
method:
$client->call('DELETE /orgs/{org}/actions/variables/{name}', [
'org' => 'generated',
'name' => 'generated',
]);
Operations method:
$client->operations()->actions()->deleteOrgVariable( org: 'generated',
name: 'generated',
);
You can find more about this operation over at the API method documentation.
Update an organization variable
Using the call
method:
$client->call('PATCH /orgs/{org}/actions/variables/{name}', [
'org' => 'generated',
'name' => 'generated',
]);
Operations method:
$client->operations()->actions()->updateOrgVariable( org: 'generated',
name: 'generated',
);
You can find more about this operation over at the API method documentation.
List selected repositories for an organization variable
Using the call
method:
$client->call('GET /orgs/{org}/actions/variables/{name}/repositories', [
'org' => 'generated',
'name' => 'generated',
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->actions()->listSelectedReposForOrgVariable( org: 'generated',
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 variable
Using the call
method:
$client->call('PUT /orgs/{org}/actions/variables/{name}/repositories', [
'org' => 'generated',
'name' => 'generated',
]);
Operations method:
$client->operations()->actions()->setSelectedReposForOrgVariable( org: 'generated',
name: 'generated',
);
You can find more about this operation over at the API method documentation.
Add selected repository to an organization variable
Using the call
method:
$client->call('PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}', [
'org' => 'generated',
'name' => 'generated',
'repository_id' => 13,
]);
Operations method:
$client->operations()->actions()->addSelectedRepoToOrgVariable( org: 'generated',
name: 'generated',
repository_id: 13,
);
You can find more about this operation over at the API method documentation.
Remove selected repository from an organization variable
Using the call
method:
$client->call('DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}', [
'org' => 'generated',
'name' => 'generated',
'repository_id' => 13,
]);
Operations method:
$client->operations()->actions()->removeSelectedRepoFromOrgVariable( org: 'generated',
name: 'generated',
repository_id: 13,
);
You can find more about this operation over at the API method documentation.
List attestations
Using the call
method:
$client->call('GET /orgs/{org}/attestations/{subject_digest}', [
'before' => 'generated',
'after' => 'generated',
'org' => 'generated',
'subject_digest' => 'generated',
'predicate_type' => 'generated',
'per_page' => 8,
]);
Operations method:
$client->operations()->orgs()->listAttestations( before: 'generated',
after: 'generated',
org: 'generated',
subject_digest: 'generated',
predicate_type: 'generated',
per_page: 8,
);
You can find more about this operation over at the API method documentation.
List users blocked by an organization
Using the call
method:
$client->call('GET /orgs/{org}/blocks', [
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listBlockedUsers( org: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List users blocked by an organization
Using the call
method:
$client->call('LIST /orgs/{org}/blocks', [
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listBlockedUsersListing( org: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Check if a user is blocked by an organization
Using the call
method:
$client->call('GET /orgs/{org}/blocks/{username}', [
'org' => 'generated',
'username' => 'generated',
]);
Operations method:
$client->operations()->orgs()->checkBlockedUser( org: 'generated',
username: 'generated',
);
You can find more about this operation over at the API method documentation.
Block a user from an organization
Using the call
method:
$client->call('PUT /orgs/{org}/blocks/{username}', [
'org' => 'generated',
'username' => 'generated',
]);
Operations method:
$client->operations()->orgs()->blockUser( org: 'generated',
username: 'generated',
);
You can find more about this operation over at the API method documentation.
Unblock a user from an organization
Using the call
method:
$client->call('DELETE /orgs/{org}/blocks/{username}', [
'org' => 'generated',
'username' => 'generated',
]);
Operations method:
$client->operations()->orgs()->unblockUser( org: 'generated',
username: '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('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 code security configurations for an organization
Using the call
method:
$client->call('GET /orgs/{org}/code-security/configurations', [
'org' => 'generated',
'before' => 'generated',
'after' => 'generated',
'target_type' => 'generated',
'per_page' => 8,
]);
Operations method:
$client->operations()->codeSecurity()->getConfigurationsForOrg( org: 'generated',
before: 'generated',
after: 'generated',
target_type: 'generated',
per_page: 8,
);
You can find more about this operation over at the API method documentation.
Create a code security configuration
Using the call
method:
$client->call('POST /orgs/{org}/code-security/configurations', [
'org' => 'generated',
]);
Operations method:
$client->operations()->codeSecurity()->createConfiguration( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Get default code security configurations
Using the call
method:
$client->call('GET /orgs/{org}/code-security/configurations/defaults', [
'org' => 'generated',
]);
Operations method:
$client->operations()->codeSecurity()->getDefaultConfigurations( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Detach configurations from repositories
Using the call
method:
$client->call('DELETE /orgs/{org}/code-security/configurations/detach', [
'org' => 'generated',
]);
Operations method:
$client->operations()->codeSecurity()->detachConfiguration( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a code security configuration
Using the call
method:
$client->call('GET /orgs/{org}/code-security/configurations/{configuration_id}', [
'org' => 'generated',
'configuration_id' => 16,
]);
Operations method:
$client->operations()->codeSecurity()->getConfiguration( org: 'generated',
configuration_id: 16,
);
You can find more about this operation over at the API method documentation.
Delete a code security configuration
Using the call
method:
$client->call('DELETE /orgs/{org}/code-security/configurations/{configuration_id}', [
'org' => 'generated',
'configuration_id' => 16,
]);
Operations method:
$client->operations()->codeSecurity()->deleteConfiguration( org: 'generated',
configuration_id: 16,
);
You can find more about this operation over at the API method documentation.
Update a code security configuration
Using the call
method:
$client->call('PATCH /orgs/{org}/code-security/configurations/{configuration_id}', [
'org' => 'generated',
'configuration_id' => 16,
]);
Operations method:
$client->operations()->codeSecurity()->updateConfiguration( org: 'generated',
configuration_id: 16,
);
You can find more about this operation over at the API method documentation.
Attach a configuration to repositories
Using the call
method:
$client->call('POST /orgs/{org}/code-security/configurations/{configuration_id}/attach', [
'org' => 'generated',
'configuration_id' => 16,
]);
Operations method:
$client->operations()->codeSecurity()->attachConfiguration( org: 'generated',
configuration_id: 16,
);
You can find more about this operation over at the API method documentation.
Set a code security configuration as a default for an organization
Using the call
method:
$client->call('PUT /orgs/{org}/code-security/configurations/{configuration_id}/defaults', [
'org' => 'generated',
'configuration_id' => 16,
]);
Operations method:
$client->operations()->codeSecurity()->setConfigurationAsDefault( org: 'generated',
configuration_id: 16,
);
You can find more about this operation over at the API method documentation.
Get repositories associated with a code security configuration
Using the call
method:
$client->call('GET /orgs/{org}/code-security/configurations/{configuration_id}/repositories', [
'org' => 'generated',
'configuration_id' => 16,
'before' => 'generated',
'after' => 'generated',
'per_page' => 8,
'status' => 'generated',
]);
Operations method:
$client->operations()->codeSecurity()->getRepositoriesForConfiguration( org: 'generated',
configuration_id: 16,
before: 'generated',
after: 'generated',
per_page: 8,
status: 'generated',
);
You can find more about this operation over at the API method documentation.
List codespaces for the organization
Using the call
method:
$client->call('GET /orgs/{org}/codespaces', [
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->codespaces()->listInOrganization( org: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Manage access control for organization codespaces
Using the call
method:
$client->call('PUT /orgs/{org}/codespaces/access', [
'org' => 'generated',
]);
Operations method:
$client->operations()->codespaces()->setCodespacesAccess( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Add users to Codespaces access for an organization
Using the call
method:
$client->call('POST /orgs/{org}/codespaces/access/selected_users', [
'org' => 'generated',
]);
Operations method:
$client->operations()->codespaces()->setCodespacesAccessUsers( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Remove users from Codespaces access for an organization
Using the call
method:
$client->call('DELETE /orgs/{org}/codespaces/access/selected_users', [
'org' => 'generated',
]);
Operations method:
$client->operations()->codespaces()->deleteCodespacesAccessUsers( org: 'generated',
);
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}/codespaces/secrets', [
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->codespaces()->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}/codespaces/secrets/public-key', [
'org' => 'generated',
]);
Operations method:
$client->operations()->codespaces()->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}/codespaces/secrets/{secret_name}', [
'org' => 'generated',
'secret_name' => 'generated',
]);
Operations method:
$client->operations()->codespaces()->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}/codespaces/secrets/{secret_name}', [
'org' => 'generated',
'secret_name' => 'generated',
]);
Operations method:
$client->operations()->codespaces()->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}/codespaces/secrets/{secret_name}', [
'org' => 'generated',
'secret_name' => 'generated',
]);
Operations method:
$client->operations()->codespaces()->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}/codespaces/secrets/{secret_name}/repositories', [
'org' => 'generated',
'secret_name' => 'generated',
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->codespaces()->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}/codespaces/secrets/{secret_name}/repositories', [
'org' => 'generated',
'secret_name' => 'generated',
]);
Operations method:
$client->operations()->codespaces()->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}/codespaces/secrets/{secret_name}/repositories/{repository_id}', [
'org' => 'generated',
'secret_name' => 'generated',
'repository_id' => 13,
]);
Operations method:
$client->operations()->codespaces()->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}/codespaces/secrets/{secret_name}/repositories/{repository_id}', [
'org' => 'generated',
'secret_name' => 'generated',
'repository_id' => 13,
]);
Operations method:
$client->operations()->codespaces()->removeSelectedRepoFromOrgSecret( org: 'generated',
secret_name: 'generated',
repository_id: 13,
);
You can find more about this operation over at the API method documentation.
Get Copilot seat information and settings for an organization
Using the call
method:
$client->call('GET /orgs/{org}/copilot/billing', [
'org' => 'generated',
]);
Operations method:
$client->operations()->copilot()->getCopilotOrganizationDetails( org: 'generated',
);
You can find more about this operation over at the API method documentation.
List all Copilot seat assignments for an organization
Using the call
method:
$client->call('GET /orgs/{org}/copilot/billing/seats', [
'org' => 'generated',
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->copilot()->listCopilotSeats( org: 'generated',
page: 1,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
Add teams to the Copilot subscription for an organization
Using the call
method:
$client->call('POST /orgs/{org}/copilot/billing/selected_teams', [
'org' => 'generated',
]);
Operations method:
$client->operations()->copilot()->addCopilotSeatsForTeams( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Remove teams from the Copilot subscription for an organization
Using the call
method:
$client->call('DELETE /orgs/{org}/copilot/billing/selected_teams', [
'org' => 'generated',
]);
Operations method:
$client->operations()->copilot()->cancelCopilotSeatAssignmentForTeams( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Add users to the Copilot subscription for an organization
Using the call
method:
$client->call('POST /orgs/{org}/copilot/billing/selected_users', [
'org' => 'generated',
]);
Operations method:
$client->operations()->copilot()->addCopilotSeatsForUsers( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Remove users from the Copilot subscription for an organization
Using the call
method:
$client->call('DELETE /orgs/{org}/copilot/billing/selected_users', [
'org' => 'generated',
]);
Operations method:
$client->operations()->copilot()->cancelCopilotSeatAssignmentForUsers( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Get Copilot metrics for an organization
Using the call
method:
$client->call('GET /orgs/{org}/copilot/metrics', [
'org' => 'generated',
'since' => 'generated',
'until' => 'generated',
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->copilot()->copilotMetricsForOrganization( org: 'generated',
since: 'generated',
until: 'generated',
page: 1,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
Get Copilot metrics for an organization
Using the call
method:
$client->call('LIST /orgs/{org}/copilot/metrics', [
'org' => 'generated',
'since' => 'generated',
'until' => 'generated',
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->copilot()->copilotMetricsForOrganizationListing( org: 'generated',
since: 'generated',
until: 'generated',
page: 1,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
List Dependabot alerts for an organization
Using the call
method:
$client->call('GET /orgs/{org}/dependabot/alerts', [
'org' => 'generated',
'state' => 'generated',
'severity' => 'generated',
'ecosystem' => 'generated',
'package' => 'generated',
'epss_percentage' => 'generated',
'scope' => 'generated',
'before' => 'generated',
'after' => 'generated',
'last' => 4,
'sort' => 'generated',
'direction' => 'generated',
'first' => 5,
'per_page' => 8,
]);
Operations method:
$client->operations()->dependabot()->listAlertsForOrg( org: 'generated',
state: 'generated',
severity: 'generated',
ecosystem: 'generated',
package: 'generated',
epss_percentage: 'generated',
scope: 'generated',
before: 'generated',
after: 'generated',
last: 4,
sort: 'generated',
direction: 'generated',
first: 5,
per_page: 8,
);
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}/dependabot/secrets', [
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->dependabot()->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}/dependabot/secrets/public-key', [
'org' => 'generated',
]);
Operations method:
$client->operations()->dependabot()->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}/dependabot/secrets/{secret_name}', [
'org' => 'generated',
'secret_name' => 'generated',
]);
Operations method:
$client->operations()->dependabot()->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}/dependabot/secrets/{secret_name}', [
'org' => 'generated',
'secret_name' => 'generated',
]);
Operations method:
$client->operations()->dependabot()->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}/dependabot/secrets/{secret_name}', [
'org' => 'generated',
'secret_name' => 'generated',
]);
Operations method:
$client->operations()->dependabot()->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}/dependabot/secrets/{secret_name}/repositories', [
'org' => 'generated',
'secret_name' => 'generated',
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->dependabot()->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}/dependabot/secrets/{secret_name}/repositories', [
'org' => 'generated',
'secret_name' => 'generated',
]);
Operations method:
$client->operations()->dependabot()->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}/dependabot/secrets/{secret_name}/repositories/{repository_id}', [
'org' => 'generated',
'secret_name' => 'generated',
'repository_id' => 13,
]);
Operations method:
$client->operations()->dependabot()->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}/dependabot/secrets/{secret_name}/repositories/{repository_id}', [
'org' => 'generated',
'secret_name' => 'generated',
'repository_id' => 13,
]);
Operations method:
$client->operations()->dependabot()->removeSelectedRepoFromOrgSecret( org: 'generated',
secret_name: 'generated',
repository_id: 13,
);
You can find more about this operation over at the API method documentation.
Get list of conflicting packages during Docker migration for organization
Using the call
method:
$client->call('GET /orgs/{org}/docker/conflicts', [
'org' => 'generated',
]);
Operations method:
$client->operations()->packages()->listDockerMigrationConflictingPackagesForOrganization( org: 'generated',
);
You can find more about this operation over at the API method documentation.
List public organization events
Using the call
method:
$client->call('GET /orgs/{org}/events', [
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->activity()->listPublicOrgEvents( org: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List public organization events
Using the call
method:
$client->call('LIST /orgs/{org}/events', [
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->activity()->listPublicOrgEventsListing( org: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List failed organization invitations
Using the call
method:
$client->call('GET /orgs/{org}/failed_invitations', [
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listFailedInvitations( org: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List failed organization invitations
Using the call
method:
$client->call('LIST /orgs/{org}/failed_invitations', [
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listFailedInvitationsListing( 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('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',
'per_page' => 8,
]);
Operations method:
$client->operations()->orgs()->listWebhookDeliveries( org: 'generated',
hook_id: 7,
cursor: 'generated',
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 route stats by actor
Using the call
method:
$client->call('GET /orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}', [
'org' => 'generated',
'actor_type' => 'generated',
'actor_id' => 8,
'min_timestamp' => 'generated',
'max_timestamp' => 'generated',
'sort' => ,
'api_route_substring' => 'generated',
'page' => 1,
'per_page' => 8,
'direction' => 'generated',
]);
Operations method:
$client->operations()->apiInsights()->getRouteStatsByActor( org: 'generated',
actor_type: 'generated',
actor_id: 8,
min_timestamp: 'generated',
max_timestamp: 'generated',
sort: ,
api_route_substring: 'generated',
page: 1,
per_page: 8,
direction: 'generated',
);
You can find more about this operation over at the API method documentation.
Get route stats by actor
Using the call
method:
$client->call('LIST /orgs/{org}/insights/api/route-stats/{actor_type}/{actor_id}', [
'org' => 'generated',
'actor_type' => 'generated',
'actor_id' => 8,
'min_timestamp' => 'generated',
'max_timestamp' => 'generated',
'sort' => ,
'api_route_substring' => 'generated',
'page' => 1,
'per_page' => 8,
'direction' => 'generated',
]);
Operations method:
$client->operations()->apiInsights()->getRouteStatsByActorListing( org: 'generated',
actor_type: 'generated',
actor_id: 8,
min_timestamp: 'generated',
max_timestamp: 'generated',
sort: ,
api_route_substring: 'generated',
page: 1,
per_page: 8,
direction: 'generated',
);
You can find more about this operation over at the API method documentation.
Get subject stats
Using the call
method:
$client->call('GET /orgs/{org}/insights/api/subject-stats', [
'org' => 'generated',
'min_timestamp' => 'generated',
'max_timestamp' => 'generated',
'sort' => ,
'subject_name_substring' => 'generated',
'page' => 1,
'per_page' => 8,
'direction' => 'generated',
]);
Operations method:
$client->operations()->apiInsights()->getSubjectStats( org: 'generated',
min_timestamp: 'generated',
max_timestamp: 'generated',
sort: ,
subject_name_substring: 'generated',
page: 1,
per_page: 8,
direction: 'generated',
);
You can find more about this operation over at the API method documentation.
Get subject stats
Using the call
method:
$client->call('LIST /orgs/{org}/insights/api/subject-stats', [
'org' => 'generated',
'min_timestamp' => 'generated',
'max_timestamp' => 'generated',
'sort' => ,
'subject_name_substring' => 'generated',
'page' => 1,
'per_page' => 8,
'direction' => 'generated',
]);
Operations method:
$client->operations()->apiInsights()->getSubjectStatsListing( org: 'generated',
min_timestamp: 'generated',
max_timestamp: 'generated',
sort: ,
subject_name_substring: 'generated',
page: 1,
per_page: 8,
direction: 'generated',
);
You can find more about this operation over at the API method documentation.
Get summary stats
Using the call
method:
$client->call('GET /orgs/{org}/insights/api/summary-stats', [
'org' => 'generated',
'min_timestamp' => 'generated',
'max_timestamp' => 'generated',
]);
Operations method:
$client->operations()->apiInsights()->getSummaryStats( org: 'generated',
min_timestamp: 'generated',
max_timestamp: 'generated',
);
You can find more about this operation over at the API method documentation.
Get summary stats by user
Using the call
method:
$client->call('GET /orgs/{org}/insights/api/summary-stats/users/{user_id}', [
'org' => 'generated',
'user_id' => 'generated',
'min_timestamp' => 'generated',
'max_timestamp' => 'generated',
]);
Operations method:
$client->operations()->apiInsights()->getSummaryStatsByUser( org: 'generated',
user_id: 'generated',
min_timestamp: 'generated',
max_timestamp: 'generated',
);
You can find more about this operation over at the API method documentation.
Get summary stats by actor
Using the call
method:
$client->call('GET /orgs/{org}/insights/api/summary-stats/{actor_type}/{actor_id}', [
'org' => 'generated',
'min_timestamp' => 'generated',
'max_timestamp' => 'generated',
'actor_type' => 'generated',
'actor_id' => 8,
]);
Operations method:
$client->operations()->apiInsights()->getSummaryStatsByActor( org: 'generated',
min_timestamp: 'generated',
max_timestamp: 'generated',
actor_type: 'generated',
actor_id: 8,
);
You can find more about this operation over at the API method documentation.
Get time stats
Using the call
method:
$client->call('GET /orgs/{org}/insights/api/time-stats', [
'org' => 'generated',
'min_timestamp' => 'generated',
'max_timestamp' => 'generated',
'timestamp_increment' => 'generated',
]);
Operations method:
$client->operations()->apiInsights()->getTimeStats( org: 'generated',
min_timestamp: 'generated',
max_timestamp: 'generated',
timestamp_increment: 'generated',
);
You can find more about this operation over at the API method documentation.
Get time stats by user
Using the call
method:
$client->call('GET /orgs/{org}/insights/api/time-stats/users/{user_id}', [
'org' => 'generated',
'user_id' => 'generated',
'min_timestamp' => 'generated',
'max_timestamp' => 'generated',
'timestamp_increment' => 'generated',
]);
Operations method:
$client->operations()->apiInsights()->getTimeStatsByUser( org: 'generated',
user_id: 'generated',
min_timestamp: 'generated',
max_timestamp: 'generated',
timestamp_increment: 'generated',
);
You can find more about this operation over at the API method documentation.
Get time stats by actor
Using the call
method:
$client->call('GET /orgs/{org}/insights/api/time-stats/{actor_type}/{actor_id}', [
'org' => 'generated',
'actor_type' => 'generated',
'actor_id' => 8,
'min_timestamp' => 'generated',
'max_timestamp' => 'generated',
'timestamp_increment' => 'generated',
]);
Operations method:
$client->operations()->apiInsights()->getTimeStatsByActor( org: 'generated',
actor_type: 'generated',
actor_id: 8,
min_timestamp: 'generated',
max_timestamp: 'generated',
timestamp_increment: 'generated',
);
You can find more about this operation over at the API method documentation.
Get user stats
Using the call
method:
$client->call('GET /orgs/{org}/insights/api/user-stats/{user_id}', [
'org' => 'generated',
'user_id' => 'generated',
'min_timestamp' => 'generated',
'max_timestamp' => 'generated',
'sort' => ,
'actor_name_substring' => 'generated',
'page' => 1,
'per_page' => 8,
'direction' => 'generated',
]);
Operations method:
$client->operations()->apiInsights()->getUserStats( org: 'generated',
user_id: 'generated',
min_timestamp: 'generated',
max_timestamp: 'generated',
sort: ,
actor_name_substring: 'generated',
page: 1,
per_page: 8,
direction: 'generated',
);
You can find more about this operation over at the API method documentation.
Get user stats
Using the call
method:
$client->call('LIST /orgs/{org}/insights/api/user-stats/{user_id}', [
'org' => 'generated',
'user_id' => 'generated',
'min_timestamp' => 'generated',
'max_timestamp' => 'generated',
'sort' => ,
'actor_name_substring' => 'generated',
'page' => 1,
'per_page' => 8,
'direction' => 'generated',
]);
Operations method:
$client->operations()->apiInsights()->getUserStatsListing( org: 'generated',
user_id: 'generated',
min_timestamp: 'generated',
max_timestamp: 'generated',
sort: ,
actor_name_substring: 'generated',
page: 1,
per_page: 8,
direction: 'generated',
);
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.
Get interaction restrictions for an organization
Using the call
method:
$client->call('GET /orgs/{org}/interaction-limits', [
'org' => 'generated',
]);
Operations method:
$client->operations()->interactions()->getRestrictionsForOrg( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Set interaction restrictions for an organization
Using the call
method:
$client->call('PUT /orgs/{org}/interaction-limits', [
'org' => 'generated',
]);
Operations method:
$client->operations()->interactions()->setRestrictionsForOrg( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Remove interaction restrictions for an organization
Using the call
method:
$client->call('DELETE /orgs/{org}/interaction-limits', [
'org' => 'generated',
]);
Operations method:
$client->operations()->interactions()->removeRestrictionsForOrg( org: 'generated',
);
You can find more about this operation over at the API method documentation.
List pending organization invitations
Using the call
method:
$client->call('GET /orgs/{org}/invitations', [
'org' => 'generated',
'per_page' => 8,
'page' => 1,
'role' => 'generated',
'invitation_source' => 'generated',
]);
Operations method:
$client->operations()->orgs()->listPendingInvitations( org: 'generated',
per_page: 8,
page: 1,
role: 'generated',
invitation_source: 'generated',
);
You can find more about this operation over at the API method documentation.
List pending organization invitations
Using the call
method:
$client->call('LIST /orgs/{org}/invitations', [
'org' => 'generated',
'per_page' => 8,
'page' => 1,
'role' => 'generated',
'invitation_source' => 'generated',
]);
Operations method:
$client->operations()->orgs()->listPendingInvitationsListing( org: 'generated',
per_page: 8,
page: 1,
role: 'generated',
invitation_source: 'generated',
);
You can find more about this operation over at the API method documentation.
Create an organization invitation
Using the call
method:
$client->call('POST /orgs/{org}/invitations', [
'org' => 'generated',
]);
Operations method:
$client->operations()->orgs()->createInvitation( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Cancel an organization invitation
Using the call
method:
$client->call('DELETE /orgs/{org}/invitations/{invitation_id}', [
'org' => 'generated',
'invitation_id' => 13,
]);
Operations method:
$client->operations()->orgs()->cancelInvitation( org: 'generated',
invitation_id: 13,
);
You can find more about this operation over at the API method documentation.
List organization invitation teams
Using the call
method:
$client->call('GET /orgs/{org}/invitations/{invitation_id}/teams', [
'org' => 'generated',
'invitation_id' => 13,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listInvitationTeams( org: 'generated',
invitation_id: 13,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List organization invitation teams
Using the call
method:
$client->call('LIST /orgs/{org}/invitations/{invitation_id}/teams', [
'org' => 'generated',
'invitation_id' => 13,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listInvitationTeamsListing( org: 'generated',
invitation_id: 13,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List issue types for an organization
Using the call
method:
$client->call('GET /orgs/{org}/issue-types', [
'org' => 'generated',
]);
Operations method:
$client->operations()->orgs()->listIssueTypes( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Create issue type for an organization
Using the call
method:
$client->call('POST /orgs/{org}/issue-types', [
'org' => 'generated',
]);
Operations method:
$client->operations()->orgs()->createIssueType( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Update issue type for an organization
Using the call
method:
$client->call('PUT /orgs/{org}/issue-types/{issue_type_id}', [
'org' => 'generated',
'issue_type_id' => 13,
]);
Operations method:
$client->operations()->orgs()->updateIssueType( org: 'generated',
issue_type_id: 13,
);
You can find more about this operation over at the API method documentation.
Delete issue type for an organization
Using the call
method:
$client->call('DELETE /orgs/{org}/issue-types/{issue_type_id}', [
'org' => 'generated',
'issue_type_id' => 13,
]);
Operations method:
$client->operations()->orgs()->deleteIssueType( org: 'generated',
issue_type_id: 13,
);
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',
'type' => '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',
type: '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',
'type' => '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',
type: '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.
List codespaces for a user in organization
Using the call
method:
$client->call('GET /orgs/{org}/members/{username}/codespaces', [
'org' => 'generated',
'username' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->codespaces()->getCodespacesForUserInOrg( org: 'generated',
username: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Delete a codespace from the organization
Using the call
method:
$client->call('DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}', [
'org' => 'generated',
'username' => 'generated',
'codespace_name' => 'generated',
]);
Operations method:
$client->operations()->codespaces()->deleteFromOrganization( org: 'generated',
username: 'generated',
codespace_name: 'generated',
);
You can find more about this operation over at the API method documentation.
Stop a codespace for an organization user
Using the call
method:
$client->call('POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop', [
'org' => 'generated',
'username' => 'generated',
'codespace_name' => 'generated',
]);
Operations method:
$client->operations()->codespaces()->stopInOrganization( org: 'generated',
username: 'generated',
codespace_name: 'generated',
);
You can find more about this operation over at the API method documentation.
Get Copilot seat assignment details for a user
Using the call
method:
$client->call('GET /orgs/{org}/members/{username}/copilot', [
'org' => 'generated',
'username' => 'generated',
]);
Operations method:
$client->operations()->copilot()->getCopilotSeatDetailsForUser( 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.
Get all organization roles for an organization
Using the call
method:
$client->call('GET /orgs/{org}/organization-roles', [
'org' => 'generated',
]);
Operations method:
$client->operations()->orgs()->listOrgRoles( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Remove all organization roles for a team
Using the call
method:
$client->call('DELETE /orgs/{org}/organization-roles/teams/{team_slug}', [
'org' => 'generated',
'team_slug' => 'generated',
]);
Operations method:
$client->operations()->orgs()->revokeAllOrgRolesTeam( org: 'generated',
team_slug: 'generated',
);
You can find more about this operation over at the API method documentation.
Assign an organization role to a team
Using the call
method:
$client->call('PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}', [
'org' => 'generated',
'team_slug' => 'generated',
'role_id' => 7,
]);
Operations method:
$client->operations()->orgs()->assignTeamToOrgRole( org: 'generated',
team_slug: 'generated',
role_id: 7,
);
You can find more about this operation over at the API method documentation.
Remove an organization role from a team
Using the call
method:
$client->call('DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}', [
'org' => 'generated',
'team_slug' => 'generated',
'role_id' => 7,
]);
Operations method:
$client->operations()->orgs()->revokeOrgRoleTeam( org: 'generated',
team_slug: 'generated',
role_id: 7,
);
You can find more about this operation over at the API method documentation.
Remove all organization roles for a user
Using the call
method:
$client->call('DELETE /orgs/{org}/organization-roles/users/{username}', [
'org' => 'generated',
'username' => 'generated',
]);
Operations method:
$client->operations()->orgs()->revokeAllOrgRolesUser( org: 'generated',
username: 'generated',
);
You can find more about this operation over at the API method documentation.
Assign an organization role to a user
Using the call
method:
$client->call('PUT /orgs/{org}/organization-roles/users/{username}/{role_id}', [
'org' => 'generated',
'username' => 'generated',
'role_id' => 7,
]);
Operations method:
$client->operations()->orgs()->assignUserToOrgRole( org: 'generated',
username: 'generated',
role_id: 7,
);
You can find more about this operation over at the API method documentation.
Remove an organization role from a user
Using the call
method:
$client->call('DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}', [
'org' => 'generated',
'username' => 'generated',
'role_id' => 7,
]);
Operations method:
$client->operations()->orgs()->revokeOrgRoleUser( org: 'generated',
username: 'generated',
role_id: 7,
);
You can find more about this operation over at the API method documentation.
Get an organization role
Using the call
method:
$client->call('GET /orgs/{org}/organization-roles/{role_id}', [
'org' => 'generated',
'role_id' => 7,
]);
Operations method:
$client->operations()->orgs()->getOrgRole( org: 'generated',
role_id: 7,
);
You can find more about this operation over at the API method documentation.
List teams that are assigned to an organization role
Using the call
method:
$client->call('GET /orgs/{org}/organization-roles/{role_id}/teams', [
'org' => 'generated',
'role_id' => 7,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listOrgRoleTeams( org: 'generated',
role_id: 7,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List teams that are assigned to an organization role
Using the call
method:
$client->call('LIST /orgs/{org}/organization-roles/{role_id}/teams', [
'org' => 'generated',
'role_id' => 7,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listOrgRoleTeamsListing( org: 'generated',
role_id: 7,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List users that are assigned to an organization role
Using the call
method:
$client->call('GET /orgs/{org}/organization-roles/{role_id}/users', [
'org' => 'generated',
'role_id' => 7,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listOrgRoleUsers( org: 'generated',
role_id: 7,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List users that are assigned to an organization role
Using the call
method:
$client->call('LIST /orgs/{org}/organization-roles/{role_id}/users', [
'org' => 'generated',
'role_id' => 7,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listOrgRoleUsersListing( org: 'generated',
role_id: 7,
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 packages for an organization
Using the call
method:
$client->call('GET /orgs/{org}/packages', [
'package_type' => 'generated',
'org' => 'generated',
'visibility' => 'generated',
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->packages()->listPackagesForOrganization( package_type: 'generated',
org: 'generated',
visibility: 'generated',
page: 1,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
List packages for an organization
Using the call
method:
$client->call('LIST /orgs/{org}/packages', [
'package_type' => 'generated',
'org' => 'generated',
'visibility' => 'generated',
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->packages()->listPackagesForOrganizationListing( package_type: 'generated',
org: 'generated',
visibility: 'generated',
page: 1,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
Get a package for an organization
Using the call
method:
$client->call('GET /orgs/{org}/packages/{package_type}/{package_name}', [
'package_type' => 'generated',
'package_name' => 'generated',
'org' => 'generated',
]);
Operations method:
$client->operations()->packages()->getPackageForOrganization( package_type: 'generated',
package_name: 'generated',
org: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete a package for an organization
Using the call
method:
$client->call('DELETE /orgs/{org}/packages/{package_type}/{package_name}', [
'package_type' => 'generated',
'package_name' => 'generated',
'org' => 'generated',
]);
Operations method:
$client->operations()->packages()->deletePackageForOrg( package_type: 'generated',
package_name: 'generated',
org: 'generated',
);
You can find more about this operation over at the API method documentation.
Restore a package for an organization
Using the call
method:
$client->call('POST /orgs/{org}/packages/{package_type}/{package_name}/restore', [
'package_type' => 'generated',
'package_name' => 'generated',
'org' => 'generated',
'token' => 'generated',
]);
Operations method:
$client->operations()->packages()->restorePackageForOrg( package_type: 'generated',
package_name: 'generated',
org: 'generated',
token: 'generated',
);
You can find more about this operation over at the API method documentation.
List package versions for a package owned by an organization
Using the call
method:
$client->call('GET /orgs/{org}/packages/{package_type}/{package_name}/versions', [
'package_type' => 'generated',
'package_name' => 'generated',
'org' => 'generated',
'page' => 1,
'per_page' => 8,
'state' => 'generated',
]);
Operations method:
$client->operations()->packages()->getAllPackageVersionsForPackageOwnedByOrg( package_type: 'generated',
package_name: 'generated',
org: 'generated',
page: 1,
per_page: 8,
state: 'generated',
);
You can find more about this operation over at the API method documentation.
List package versions for a package owned by an organization
Using the call
method:
$client->call('LIST /orgs/{org}/packages/{package_type}/{package_name}/versions', [
'package_type' => 'generated',
'package_name' => 'generated',
'org' => 'generated',
'page' => 1,
'per_page' => 8,
'state' => 'generated',
]);
Operations method:
$client->operations()->packages()->getAllPackageVersionsForPackageOwnedByOrgListing( package_type: 'generated',
package_name: 'generated',
org: 'generated',
page: 1,
per_page: 8,
state: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a package version for an organization
Using the call
method:
$client->call('GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}', [
'package_type' => 'generated',
'package_name' => 'generated',
'org' => 'generated',
'package_version_id' => 18,
]);
Operations method:
$client->operations()->packages()->getPackageVersionForOrganization( package_type: 'generated',
package_name: 'generated',
org: 'generated',
package_version_id: 18,
);
You can find more about this operation over at the API method documentation.
Delete package version for an organization
Using the call
method:
$client->call('DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}', [
'package_type' => 'generated',
'package_name' => 'generated',
'org' => 'generated',
'package_version_id' => 18,
]);
Operations method:
$client->operations()->packages()->deletePackageVersionForOrg( package_type: 'generated',
package_name: 'generated',
org: 'generated',
package_version_id: 18,
);
You can find more about this operation over at the API method documentation.
Restore package version for an organization
Using the call
method:
$client->call('POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore', [
'package_type' => 'generated',
'package_name' => 'generated',
'org' => 'generated',
'package_version_id' => 18,
]);
Operations method:
$client->operations()->packages()->restorePackageVersionForOrg( package_type: 'generated',
package_name: 'generated',
org: 'generated',
package_version_id: 18,
);
You can find more about this operation over at the API method documentation.
List requests to access organization resources with fine-grained personal access tokens
Using the call
method:
$client->call('GET /orgs/{org}/personal-access-token-requests', [
'org' => 'generated',
'owner' => ,
'repository' => 'generated',
'permission' => 'generated',
'last_used_before' => '1970-01-01T00:00:00+00:00',
'last_used_after' => '1970-01-01T00:00:00+00:00',
'token_id' => ,
'per_page' => 8,
'page' => 1,
'sort' => 'generated',
'direction' => 'generated',
]);
Operations method:
$client->operations()->orgs()->listPatGrantRequests( org: 'generated',
owner: ,
repository: 'generated',
permission: 'generated',
last_used_before: '1970-01-01T00:00:00+00:00',
last_used_after: '1970-01-01T00:00:00+00:00',
token_id: ,
per_page: 8,
page: 1,
sort: 'generated',
direction: 'generated',
);
You can find more about this operation over at the API method documentation.
List requests to access organization resources with fine-grained personal access tokens
Using the call
method:
$client->call('LIST /orgs/{org}/personal-access-token-requests', [
'org' => 'generated',
'owner' => ,
'repository' => 'generated',
'permission' => 'generated',
'last_used_before' => '1970-01-01T00:00:00+00:00',
'last_used_after' => '1970-01-01T00:00:00+00:00',
'token_id' => ,
'per_page' => 8,
'page' => 1,
'sort' => 'generated',
'direction' => 'generated',
]);
Operations method:
$client->operations()->orgs()->listPatGrantRequestsListing( org: 'generated',
owner: ,
repository: 'generated',
permission: 'generated',
last_used_before: '1970-01-01T00:00:00+00:00',
last_used_after: '1970-01-01T00:00:00+00:00',
token_id: ,
per_page: 8,
page: 1,
sort: 'generated',
direction: 'generated',
);
You can find more about this operation over at the API method documentation.
Review requests to access organization resources with fine-grained personal access tokens
Using the call
method:
$client->call('POST /orgs/{org}/personal-access-token-requests', [
'org' => 'generated',
]);
Operations method:
$client->operations()->orgs()->reviewPatGrantRequestsInBulk( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Review a request to access organization resources with a fine-grained personal access token
Using the call
method:
$client->call('POST /orgs/{org}/personal-access-token-requests/{pat_request_id}', [
'org' => 'generated',
'pat_request_id' => 14,
]);
Operations method:
$client->operations()->orgs()->reviewPatGrantRequest( org: 'generated',
pat_request_id: 14,
);
You can find more about this operation over at the API method documentation.
List repositories requested to be accessed by a fine-grained personal access token
Using the call
method:
$client->call('GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories', [
'org' => 'generated',
'pat_request_id' => 14,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listPatGrantRequestRepositories( org: 'generated',
pat_request_id: 14,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List repositories requested to be accessed by a fine-grained personal access token
Using the call
method:
$client->call('LIST /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories', [
'org' => 'generated',
'pat_request_id' => 14,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listPatGrantRequestRepositoriesListing( org: 'generated',
pat_request_id: 14,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List fine-grained personal access tokens with access to organization resources
Using the call
method:
$client->call('GET /orgs/{org}/personal-access-tokens', [
'org' => 'generated',
'owner' => ,
'repository' => 'generated',
'permission' => 'generated',
'last_used_before' => '1970-01-01T00:00:00+00:00',
'last_used_after' => '1970-01-01T00:00:00+00:00',
'token_id' => ,
'per_page' => 8,
'page' => 1,
'sort' => 'generated',
'direction' => 'generated',
]);
Operations method:
$client->operations()->orgs()->listPatGrants( org: 'generated',
owner: ,
repository: 'generated',
permission: 'generated',
last_used_before: '1970-01-01T00:00:00+00:00',
last_used_after: '1970-01-01T00:00:00+00:00',
token_id: ,
per_page: 8,
page: 1,
sort: 'generated',
direction: 'generated',
);
You can find more about this operation over at the API method documentation.
List fine-grained personal access tokens with access to organization resources
Using the call
method:
$client->call('LIST /orgs/{org}/personal-access-tokens', [
'org' => 'generated',
'owner' => ,
'repository' => 'generated',
'permission' => 'generated',
'last_used_before' => '1970-01-01T00:00:00+00:00',
'last_used_after' => '1970-01-01T00:00:00+00:00',
'token_id' => ,
'per_page' => 8,
'page' => 1,
'sort' => 'generated',
'direction' => 'generated',
]);
Operations method:
$client->operations()->orgs()->listPatGrantsListing( org: 'generated',
owner: ,
repository: 'generated',
permission: 'generated',
last_used_before: '1970-01-01T00:00:00+00:00',
last_used_after: '1970-01-01T00:00:00+00:00',
token_id: ,
per_page: 8,
page: 1,
sort: 'generated',
direction: 'generated',
);
You can find more about this operation over at the API method documentation.
Update the access to organization resources via fine-grained personal access tokens
Using the call
method:
$client->call('POST /orgs/{org}/personal-access-tokens', [
'org' => 'generated',
]);
Operations method:
$client->operations()->orgs()->updatePatAccesses( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Update the access a fine-grained personal access token has to organization resources
Using the call
method:
$client->call('POST /orgs/{org}/personal-access-tokens/{pat_id}', [
'org' => 'generated',
'pat_id' => 6,
]);
Operations method:
$client->operations()->orgs()->updatePatAccess( org: 'generated',
pat_id: 6,
);
You can find more about this operation over at the API method documentation.
List repositories a fine-grained personal access token has access to
Using the call
method:
$client->call('GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories', [
'org' => 'generated',
'pat_id' => 6,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listPatGrantRepositories( org: 'generated',
pat_id: 6,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List repositories a fine-grained personal access token has access to
Using the call
method:
$client->call('LIST /orgs/{org}/personal-access-tokens/{pat_id}/repositories', [
'org' => 'generated',
'pat_id' => 6,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listPatGrantRepositoriesListing( org: 'generated',
pat_id: 6,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List private registries for an organization
Using the call
method:
$client->call('GET /orgs/{org}/private-registries', [
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->privateRegistries()->listOrgPrivateRegistries( org: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a private registry for an organization
Using the call
method:
$client->call('POST /orgs/{org}/private-registries', [
'org' => 'generated',
]);
Operations method:
$client->operations()->privateRegistries()->createOrgPrivateRegistry( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Get private registries public key for an organization
Using the call
method:
$client->call('GET /orgs/{org}/private-registries/public-key', [
'org' => 'generated',
]);
Operations method:
$client->operations()->privateRegistries()->getOrgPublicKey( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a private registry for an organization
Using the call
method:
$client->call('GET /orgs/{org}/private-registries/{secret_name}', [
'org' => 'generated',
'secret_name' => 'generated',
]);
Operations method:
$client->operations()->privateRegistries()->getOrgPrivateRegistry( org: 'generated',
secret_name: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete a private registry for an organization
Using the call
method:
$client->call('DELETE /orgs/{org}/private-registries/{secret_name}', [
'org' => 'generated',
'secret_name' => 'generated',
]);
Operations method:
$client->operations()->privateRegistries()->deleteOrgPrivateRegistry( org: 'generated',
secret_name: 'generated',
);
You can find more about this operation over at the API method documentation.
Update a private registry for an organization
Using the call
method:
$client->call('PATCH /orgs/{org}/private-registries/{secret_name}', [
'org' => 'generated',
'secret_name' => 'generated',
]);
Operations method:
$client->operations()->privateRegistries()->updateOrgPrivateRegistry( org: 'generated',
secret_name: '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.
Get all custom properties for an organization
Using the call
method:
$client->call('GET /orgs/{org}/properties/schema', [
'org' => 'generated',
]);
Operations method:
$client->operations()->orgs()->getAllCustomProperties( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Create or update custom properties for an organization
Using the call
method:
$client->call('PATCH /orgs/{org}/properties/schema', [
'org' => 'generated',
]);
Operations method:
$client->operations()->orgs()->createOrUpdateCustomProperties( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a custom property for an organization
Using the call
method:
$client->call('GET /orgs/{org}/properties/schema/{custom_property_name}', [
'org' => 'generated',
'custom_property_name' => 'generated',
]);
Operations method:
$client->operations()->orgs()->getCustomProperty( org: 'generated',
custom_property_name: 'generated',
);
You can find more about this operation over at the API method documentation.
Create or update a custom property for an organization
Using the call
method:
$client->call('PUT /orgs/{org}/properties/schema/{custom_property_name}', [
'org' => 'generated',
'custom_property_name' => 'generated',
]);
Operations method:
$client->operations()->orgs()->createOrUpdateCustomProperty( org: 'generated',
custom_property_name: 'generated',
);
You can find more about this operation over at the API method documentation.
Remove a custom property for an organization
Using the call
method:
$client->call('DELETE /orgs/{org}/properties/schema/{custom_property_name}', [
'org' => 'generated',
'custom_property_name' => 'generated',
]);
Operations method:
$client->operations()->orgs()->removeCustomProperty( org: 'generated',
custom_property_name: 'generated',
);
You can find more about this operation over at the API method documentation.
List custom property values for organization repositories
Using the call
method:
$client->call('GET /orgs/{org}/properties/values', [
'org' => 'generated',
'repository_query' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listCustomPropertiesValuesForRepos( org: 'generated',
repository_query: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List custom property values for organization repositories
Using the call
method:
$client->call('LIST /orgs/{org}/properties/values', [
'org' => 'generated',
'repository_query' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listCustomPropertiesValuesForReposListing( org: 'generated',
repository_query: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create or update custom property values for organization repositories
Using the call
method:
$client->call('PATCH /orgs/{org}/properties/values', [
'org' => 'generated',
]);
Operations method:
$client->operations()->orgs()->createOrUpdateCustomPropertiesValuesForRepos( org: 'generated',
);
You can find more about this operation over at the API method documentation.
List public organization members
Using the call
method:
$client->call('GET /orgs/{org}/public_members', [
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listPublicMembers( org: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List public organization members
Using the call
method:
$client->call('LIST /orgs/{org}/public_members', [
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->listPublicMembersListing( org: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Check public organization membership for a user
Using the call
method:
$client->call('GET /orgs/{org}/public_members/{username}', [
'org' => 'generated',
'username' => 'generated',
]);
Operations method:
$client->operations()->orgs()->checkPublicMembershipForUser( org: 'generated',
username: 'generated',
);
You can find more about this operation over at the API method documentation.
Set public organization membership for the authenticated user
Using the call
method:
$client->call('PUT /orgs/{org}/public_members/{username}', [
'org' => 'generated',
'username' => 'generated',
]);
Operations method:
$client->operations()->orgs()->setPublicMembershipForAuthenticatedUser( org: 'generated',
username: 'generated',
);
You can find more about this operation over at the API method documentation.
Remove public organization membership for the authenticated user
Using the call
method:
$client->call('DELETE /orgs/{org}/public_members/{username}', [
'org' => 'generated',
'username' => 'generated',
]);
Operations method:
$client->operations()->orgs()->removePublicMembershipForAuthenticatedUser( org: 'generated',
username: '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',
'direction' => 'generated',
'type' => 'generated',
'sort' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listForOrg( org: '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 organization repositories
Using the call
method:
$client->call('LIST /orgs/{org}/repos', [
'org' => 'generated',
'direction' => 'generated',
'type' => 'generated',
'sort' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->listForOrgListing( org: '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.
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.
Get all organization repository rulesets
Using the call
method:
$client->call('GET /orgs/{org}/rulesets', [
'org' => 'generated',
'targets' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->getOrgRulesets( org: 'generated',
targets: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get all organization repository rulesets
Using the call
method:
$client->call('LIST /orgs/{org}/rulesets', [
'org' => 'generated',
'targets' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->getOrgRulesetsListing( org: 'generated',
targets: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create an organization repository ruleset
Using the call
method:
$client->call('POST /orgs/{org}/rulesets', [
'org' => 'generated',
]);
Operations method:
$client->operations()->repos()->createOrgRuleset( org: 'generated',
);
You can find more about this operation over at the API method documentation.
List organization rule suites
Using the call
method:
$client->call('GET /orgs/{org}/rulesets/rule-suites', [
'org' => 'generated',
'ref' => 'generated',
'repository_name' => 'generated',
'actor_name' => 'generated',
'time_period' => 'generated',
'rule_suite_result' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->getOrgRuleSuites( org: 'generated',
ref: 'generated',
repository_name: 'generated',
actor_name: 'generated',
time_period: 'generated',
rule_suite_result: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List organization rule suites
Using the call
method:
$client->call('LIST /orgs/{org}/rulesets/rule-suites', [
'org' => 'generated',
'ref' => 'generated',
'repository_name' => 'generated',
'actor_name' => 'generated',
'time_period' => 'generated',
'rule_suite_result' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->repos()->getOrgRuleSuitesListing( org: 'generated',
ref: 'generated',
repository_name: 'generated',
actor_name: 'generated',
time_period: 'generated',
rule_suite_result: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get an organization rule suite
Using the call
method:
$client->call('GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}', [
'org' => 'generated',
'rule_suite_id' => 13,
]);
Operations method:
$client->operations()->repos()->getOrgRuleSuite( org: 'generated',
rule_suite_id: 13,
);
You can find more about this operation over at the API method documentation.
Get an organization repository ruleset
Using the call
method:
$client->call('GET /orgs/{org}/rulesets/{ruleset_id}', [
'org' => 'generated',
'ruleset_id' => 10,
]);
Operations method:
$client->operations()->repos()->getOrgRuleset( org: 'generated',
ruleset_id: 10,
);
You can find more about this operation over at the API method documentation.
Update an organization repository ruleset
Using the call
method:
$client->call('PUT /orgs/{org}/rulesets/{ruleset_id}', [
'org' => 'generated',
'ruleset_id' => 10,
]);
Operations method:
$client->operations()->repos()->updateOrgRuleset( org: 'generated',
ruleset_id: 10,
);
You can find more about this operation over at the API method documentation.
Delete an organization repository ruleset
Using the call
method:
$client->call('DELETE /orgs/{org}/rulesets/{ruleset_id}', [
'org' => 'generated',
'ruleset_id' => 10,
]);
Operations method:
$client->operations()->repos()->deleteOrgRuleset( org: 'generated',
ruleset_id: 10,
);
You can find more about this operation over at the API method documentation.
Get organization ruleset history
Using the call
method:
$client->call('GET /orgs/{org}/rulesets/{ruleset_id}/history', [
'org' => 'generated',
'ruleset_id' => 10,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->getOrgRulesetHistory( org: 'generated',
ruleset_id: 10,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get organization ruleset history
Using the call
method:
$client->call('LIST /orgs/{org}/rulesets/{ruleset_id}/history', [
'org' => 'generated',
'ruleset_id' => 10,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->orgs()->getOrgRulesetHistoryListing( org: 'generated',
ruleset_id: 10,
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Get organization ruleset version
Using the call
method:
$client->call('GET /orgs/{org}/rulesets/{ruleset_id}/history/{version_id}', [
'org' => 'generated',
'ruleset_id' => 10,
'version_id' => 10,
]);
Operations method:
$client->operations()->orgs()->getOrgRulesetVersion( org: 'generated',
ruleset_id: 10,
version_id: 10,
);
You can find more about this operation over at the API method documentation.
List secret scanning alerts for an organization
Using the call
method:
$client->call('GET /orgs/{org}/secret-scanning/alerts', [
'org' => 'generated',
'state' => 'generated',
'secret_type' => 'generated',
'resolution' => 'generated',
'before' => 'generated',
'after' => 'generated',
'validity' => 'generated',
'sort' => 'generated',
'direction' => 'generated',
'page' => 1,
'per_page' => 8,
'is_publicly_leaked' => ,
'is_multi_repo' => ,
]);
Operations method:
$client->operations()->secretScanning()->listAlertsForOrg( org: 'generated',
state: 'generated',
secret_type: 'generated',
resolution: 'generated',
before: 'generated',
after: 'generated',
validity: 'generated',
sort: 'generated',
direction: 'generated',
page: 1,
per_page: 8,
is_publicly_leaked: ,
is_multi_repo: ,
);
You can find more about this operation over at the API method documentation.
List secret scanning alerts for an organization
Using the call
method:
$client->call('LIST /orgs/{org}/secret-scanning/alerts', [
'org' => 'generated',
'state' => 'generated',
'secret_type' => 'generated',
'resolution' => 'generated',
'before' => 'generated',
'after' => 'generated',
'validity' => 'generated',
'sort' => 'generated',
'direction' => 'generated',
'page' => 1,
'per_page' => 8,
'is_publicly_leaked' => ,
'is_multi_repo' => ,
]);
Operations method:
$client->operations()->secretScanning()->listAlertsForOrgListing( org: 'generated',
state: 'generated',
secret_type: 'generated',
resolution: 'generated',
before: 'generated',
after: 'generated',
validity: 'generated',
sort: 'generated',
direction: 'generated',
page: 1,
per_page: 8,
is_publicly_leaked: ,
is_multi_repo: ,
);
You can find more about this operation over at the API method documentation.
List repository security advisories for an organization
Using the call
method:
$client->call('GET /orgs/{org}/security-advisories', [
'org' => 'generated',
'before' => 'generated',
'after' => 'generated',
'state' => 'generated',
'direction' => 'generated',
'sort' => 'generated',
'per_page' => 8,
]);
Operations method:
$client->operations()->securityAdvisories()->listOrgRepositoryAdvisories( org: 'generated',
before: 'generated',
after: 'generated',
state: 'generated',
direction: 'generated',
sort: 'generated',
per_page: 8,
);
You can find more about this operation over at the API method documentation.
List security manager teams
Using the call
method:
$client->call('GET /orgs/{org}/security-managers', [
'org' => 'generated',
]);
Operations method:
$client->operations()->orgs()->listSecurityManagerTeams( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Add a security manager team
Using the call
method:
$client->call('PUT /orgs/{org}/security-managers/teams/{team_slug}', [
'org' => 'generated',
'team_slug' => 'generated',
]);
Operations method:
$client->operations()->orgs()->addSecurityManagerTeam( org: 'generated',
team_slug: 'generated',
);
You can find more about this operation over at the API method documentation.
Remove a security manager team
Using the call
method:
$client->call('DELETE /orgs/{org}/security-managers/teams/{team_slug}', [
'org' => 'generated',
'team_slug' => 'generated',
]);
Operations method:
$client->operations()->orgs()->removeSecurityManagerTeam( org: 'generated',
team_slug: 'generated',
);
You can find more about this operation over at the API method documentation.
Get GitHub Actions billing for an organization
Using the call
method:
$client->call('GET /orgs/{org}/settings/billing/actions', [
'org' => 'generated',
]);
Operations method:
$client->operations()->billing()->getGithubActionsBillingOrg( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Get GitHub Packages billing for an organization
Using the call
method:
$client->call('GET /orgs/{org}/settings/billing/packages', [
'org' => 'generated',
]);
Operations method:
$client->operations()->billing()->getGithubPackagesBillingOrg( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Get shared storage billing for an organization
Using the call
method:
$client->call('GET /orgs/{org}/settings/billing/shared-storage', [
'org' => 'generated',
]);
Operations method:
$client->operations()->billing()->getSharedStorageBillingOrg( org: 'generated',
);
You can find more about this operation over at the API method documentation.
List hosted compute network configurations for an organization
Using the call
method:
$client->call('GET /orgs/{org}/settings/network-configurations', [
'org' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->hostedCompute()->listNetworkConfigurationsForOrg( org: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a hosted compute network configuration for an organization
Using the call
method:
$client->call('POST /orgs/{org}/settings/network-configurations', [
'org' => 'generated',
]);
Operations method:
$client->operations()->hostedCompute()->createNetworkConfigurationForOrg( org: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a hosted compute network configuration for an organization
Using the call
method:
$client->call('GET /orgs/{org}/settings/network-configurations/{network_configuration_id}', [
'org' => 'generated',
'network_configuration_id' => 'generated',
]);
Operations method:
$client->operations()->hostedCompute()->getNetworkConfigurationForOrg( org: 'generated',
network_configuration_id: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete a hosted compute network configuration from an organization
Using the call
method:
$client->call('DELETE /orgs/{org}/settings/network-configurations/{network_configuration_id}', [
'org' => 'generated',
'network_configuration_id' => 'generated',
]);
Operations method:
$client->operations()->hostedCompute()->deleteNetworkConfigurationFromOrg( org: 'generated',
network_configuration_id: 'generated',
);
You can find more about this operation over at the API method documentation.
Update a hosted compute network configuration for an organization
Using the call
method:
$client->call('PATCH /orgs/{org}/settings/network-configurations/{network_configuration_id}', [
'org' => 'generated',
'network_configuration_id' => 'generated',
]);
Operations method:
$client->operations()->hostedCompute()->updateNetworkConfigurationForOrg( org: 'generated',
network_configuration_id: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a hosted compute network settings resource for an organization
Using the call
method:
$client->call('GET /orgs/{org}/settings/network-settings/{network_settings_id}', [
'org' => 'generated',
'network_settings_id' => 'generated',
]);
Operations method:
$client->operations()->hostedCompute()->getNetworkSettingsForOrg( org: 'generated',
network_settings_id: 'generated',
);
You can find more about this operation over at the API method documentation.
Get Copilot metrics for a team
Using the call
method:
$client->call('GET /orgs/{org}/team/{team_slug}/copilot/metrics', [
'org' => 'generated',
'team_slug' => 'generated',
'since' => 'generated',
'until' => 'generated',
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->copilot()->copilotMetricsForTeam( org: 'generated',
team_slug: 'generated',
since: 'generated',
until: 'generated',
page: 1,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
Get Copilot metrics for a team
Using the call
method:
$client->call('LIST /orgs/{org}/team/{team_slug}/copilot/metrics', [
'org' => 'generated',
'team_slug' => 'generated',
'since' => 'generated',
'until' => 'generated',
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->copilot()->copilotMetricsForTeamListing( org: 'generated',
team_slug: 'generated',
since: 'generated',
until: 'generated',
page: 1,
per_page: 8,
);
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.
List pending team invitations
Using the call
method:
$client->call('GET /orgs/{org}/teams/{team_slug}/invitations', [
'org' => 'generated',
'team_slug' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listPendingInvitationsInOrg( org: 'generated',
team_slug: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List pending team invitations
Using the call
method:
$client->call('LIST /orgs/{org}/teams/{team_slug}/invitations', [
'org' => 'generated',
'team_slug' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->teams()->listPendingInvitationsInOrgListing( 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 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.
Enable or disable a security feature for an organization
Using the call
method:
$client->call('POST /orgs/{org}/{security_product}/{enablement}', [
'org' => 'generated',
'security_product' => 'generated',
'enablement' => 'generated',
]);
Operations method:
$client->operations()->orgs()->enableOrDisableSecurityProductOnAllOrgRepos( org: 'generated',
security_product: 'generated',
enablement: 'generated',
);
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',
'name' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->actions()->listArtifactsForRepo( owner: 'generated',
repo: 'generated',
name: '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 GitHub Actions cache usage for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/cache/usage', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->actions()->getActionsCacheUsage( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
List GitHub Actions caches for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/caches', [
'owner' => 'generated',
'repo' => 'generated',
'ref' => 'generated',
'key' => 'generated',
'per_page' => 8,
'page' => 1,
'sort' => 'generated',
'direction' => 'generated',
]);
Operations method:
$client->operations()->actions()->getActionsCacheList( owner: 'generated',
repo: 'generated',
ref: 'generated',
key: 'generated',
per_page: 8,
page: 1,
sort: 'generated',
direction: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete GitHub Actions caches for a repository (using a cache key)
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/actions/caches', [
'owner' => 'generated',
'repo' => 'generated',
'key' => 'generated',
'ref' => 'generated',
]);
Operations method:
$client->operations()->actions()->deleteActionsCacheByKey( owner: 'generated',
repo: 'generated',
key: 'generated',
ref: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete a GitHub Actions cache for a repository (using a cache ID)
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}', [
'owner' => 'generated',
'repo' => 'generated',
'cache_id' => 8,
]);
Operations method:
$client->operations()->actions()->deleteActionsCacheById( owner: 'generated',
repo: 'generated',
cache_id: 8,
);
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.
Re-run a job from a workflow run
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun', [
'owner' => 'generated',
'repo' => 'generated',
'job_id' => 6,
]);
Operations method:
$client->operations()->actions()->reRunJobForWorkflowRun( owner: 'generated',
repo: 'generated',
job_id: 6,
);
You can find more about this operation over at the API method documentation.
Get the customization template for an OIDC subject claim for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/oidc/customization/sub', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->actions()->getCustomOidcSubClaimForRepo( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Set the customization template for an OIDC subject claim for a repository
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/actions/oidc/customization/sub', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->actions()->setCustomOidcSubClaimForRepo( owner: 'generated',
repo: 'generated',
);
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.
List repository organization variables
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/organization-variables', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->actions()->listRepoOrganizationVariables( 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 the level of access for workflows outside of the repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/permissions/access', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->actions()->getWorkflowAccessToRepository( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Set the level of access for workflows outside of the repository
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/actions/permissions/access', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->actions()->setWorkflowAccessToRepository( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get allowed actions and reusable workflows 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 and reusable workflows 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.
Get default workflow permissions for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/permissions/workflow', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->actions()->getGithubActionsDefaultWorkflowPermissionsRepository( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Set default workflow permissions for a repository
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/actions/permissions/workflow', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->actions()->setGithubActionsDefaultWorkflowPermissionsRepository( 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', [
'name' => 'generated',
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->actions()->listSelfHostedRunnersForRepo( name: 'generated',
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 configuration for a just-in-time runner for a repository
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->actions()->generateRunnerJitconfigForRepo( 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 labels for a self-hosted runner for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels', [
'owner' => 'generated',
'repo' => 'generated',
'runner_id' => 9,
]);
Operations method:
$client->operations()->actions()->listLabelsForSelfHostedRunnerForRepo( owner: 'generated',
repo: 'generated',
runner_id: 9,
);
You can find more about this operation over at the API method documentation.
Set custom labels for a self-hosted runner for a repository
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels', [
'owner' => 'generated',
'repo' => 'generated',
'runner_id' => 9,
]);
Operations method:
$client->operations()->actions()->setCustomLabelsForSelfHostedRunnerForRepo( owner: 'generated',
repo: 'generated',
runner_id: 9,
);
You can find more about this operation over at the API method documentation.
Add custom labels to a self-hosted runner for a repository
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels', [
'owner' => 'generated',
'repo' => 'generated',
'runner_id' => 9,
]);
Operations method:
$client->operations()->actions()->addCustomLabelsToSelfHostedRunnerForRepo( owner: 'generated',
repo: 'generated',
runner_id: 9,
);
You can find more about this operation over at the API method documentation.
Remove all custom labels from a self-hosted runner for a repository
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels', [
'owner' => 'generated',
'repo' => 'generated',
'runner_id' => 9,
]);
Operations method:
$client->operations()->actions()->removeAllCustomLabelsFromSelfHostedRunnerForRepo( owner: 'generated',
repo: 'generated',
runner_id: 9,
);
You can find more about this operation over at the API method documentation.
Remove a custom label from a self-hosted runner for a repository
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}', [
'owner' => 'generated',
'repo' => 'generated',
'runner_id' => 9,
'name' => 'generated',
]);
Operations method:
$client->operations()->actions()->removeCustomLabelFromSelfHostedRunnerForRepo( owner: 'generated',
repo: 'generated',
runner_id: 9,
name: 'generated',
);
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.
Get the review history for a workflow run
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals', [
'owner' => 'generated',
'repo' => 'generated',
'run_id' => 6,
]);
Operations method:
$client->operations()->actions()->getReviewsForRun( owner: 'generated',
repo: 'generated',
run_id: 6,
);
You can find more about this operation over at the API method documentation.
Approve a workflow run for a fork pull request
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve', [
'owner' => 'generated',
'repo' => 'generated',
'run_id' => 6,
]);
Operations method:
$client->operations()->actions()->approveWorkflowRun( 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.
Review custom deployment protection rules for a workflow run
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule', [
'owner' => 'generated',
'repo' => 'generated',
'run_id' => 6,
]);
Operations method:
$client->operations()->actions()->reviewCustomGatesForRun( 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.
Get pending deployments for a workflow run
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments', [
'owner' => 'generated',
'repo' => 'generated',
'run_id' => 6,
]);
Operations method:
$client->operations()->actions()->getPendingDeploymentsForRun( owner: 'generated',
repo: 'generated',
run_id: 6,
);
You can find more about this operation over at the API method documentation.
Review pending deployments for a workflow run
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments', [
'owner' => 'generated',
'repo' => 'generated',
'run_id' => 6,
]);
Operations method:
$client->operations()->actions()->reviewPendingDeploymentsForRun( 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.
Re-run failed jobs from a workflow run
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs', [
'owner' => 'generated',
'repo' => 'generated',
'run_id' => 6,
]);
Operations method:
$client->operations()->actions()->reRunWorkflowFailedJobs( 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 variables
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/variables', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->actions()->listRepoVariables( 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 variable
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/actions/variables', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->actions()->createRepoVariable( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a repository variable
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/actions/variables/{name}', [
'owner' => 'generated',
'repo' => 'generated',
'name' => 'generated',
]);
Operations method:
$client->operations()->actions()->getRepoVariable( owner: 'generated',
repo: 'generated',
name: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete a repository variable
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/actions/variables/{name}', [
'owner' => 'generated',
'repo' => 'generated',
'name' => 'generated',
]);
Operations method:
$client->operations()->actions()->deleteRepoVariable( owner: 'generated',
repo: 'generated',
name: 'generated',
);
You can find more about this operation over at the API method documentation.
Update a repository variable
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}/actions/variables/{name}', [
'owner' => 'generated',
'repo' => 'generated',
'name' => 'generated',
]);
Operations method:
$client->operations()->actions()->updateRepoVariable( owner: 'generated',
repo: 'generated',
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 repository activities
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/activity', [
'owner' => 'generated',
'repo' => 'generated',
'before' => 'generated',
'after' => 'generated',
'ref' => 'generated',
'actor' => 'generated',
'time_period' => 'generated',
'activity_type' => 'generated',
'direction' => 'generated',
'per_page' => 8,
]);
Operations method:
$client->operations()->repos()->listActivities( owner: 'generated',
repo: 'generated',
before: 'generated',
after: 'generated',
ref: 'generated',
actor: 'generated',
time_period: 'generated',
activity_type: 'generated',
direction: 'generated',
per_page: 8,
);
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.
Create an attestation
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/attestations', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->createAttestation( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
List attestations
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/attestations/{subject_digest}', [
'owner' => 'generated',
'repo' => 'generated',
'before' => 'generated',
'after' => 'generated',
'subject_digest' => 'generated',
'predicate_type' => 'generated',
'per_page' => 8,
]);
Operations method:
$client->operations()->repos()->listAttestations( owner: 'generated',
repo: 'generated',
before: 'generated',
after: 'generated',
subject_digest: 'generated',
predicate_type: 'generated',
per_page: 8,
);
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.
Check if Dependabot security updates are enabled for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/automated-security-fixes', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->checkAutomatedSecurityFixes( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Enable Dependabot security updates
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/automated-security-fixes', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->enableAutomatedSecurityFixes( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Disable Dependabot security updates
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/automated-security-fixes', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->disableAutomatedSecurityFixes( owner: 'generated',
repo: 'generated',
);
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.
Rename a branch
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/branches/{branch}/rename', [
'owner' => 'generated',
'repo' => 'generated',
'branch' => 'generated',
]);
Operations method:
$client->operations()->repos()->renameBranch( 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',
'pr' => 2,
'before' => 'generated',
'after' => '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',
pr: 2,
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 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',
'pr' => 2,
'before' => 'generated',
'after' => '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',
pr: 2,
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 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.
Get the status of an autofix for a code scanning alert
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix', [
'owner' => 'generated',
'repo' => 'generated',
'alert_number' => 12,
]);
Operations method:
$client->operations()->codeScanning()->getAutofix( owner: 'generated',
repo: 'generated',
alert_number: 12,
);
You can find more about this operation over at the API method documentation.
Create an autofix for a code scanning alert
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix', [
'owner' => 'generated',
'repo' => 'generated',
'alert_number' => 12,
]);
Operations method:
$client->operations()->codeScanning()->createAutofix( owner: 'generated',
repo: 'generated',
alert_number: 12,
);
You can find more about this operation over at the API method documentation.
Commit an autofix for a code scanning alert
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/autofix/commits', [
'owner' => 'generated',
'repo' => 'generated',
'alert_number' => 12,
]);
Operations method:
$client->operations()->codeScanning()->commitAutofix( 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',
'pr' => 2,
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->codeScanning()->listAlertInstances( owner: 'generated',
repo: 'generated',
alert_number: 12,
ref: 'generated',
pr: 2,
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',
'pr' => 2,
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->codeScanning()->listAlertInstancesListing( owner: 'generated',
repo: 'generated',
alert_number: 12,
ref: 'generated',
pr: 2,
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' => ,
'pr' => 2,
'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: ,
pr: 2,
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' => ,
'pr' => 2,
'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: ,
pr: 2,
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.
List CodeQL databases for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/code-scanning/codeql/databases', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->codeScanning()->listCodeqlDatabases( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a CodeQL database for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}', [
'owner' => 'generated',
'repo' => 'generated',
'language' => 'generated',
]);
Operations method:
$client->operations()->codeScanning()->getCodeqlDatabase( owner: 'generated',
repo: 'generated',
language: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete a CodeQL database
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}', [
'owner' => 'generated',
'repo' => 'generated',
'language' => 'generated',
]);
Operations method:
$client->operations()->codeScanning()->deleteCodeqlDatabase( owner: 'generated',
repo: 'generated',
language: 'generated',
);
You can find more about this operation over at the API method documentation.
Create a CodeQL variant analysis
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->codeScanning()->createVariantAnalysis( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get the summary of a CodeQL variant analysis
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}', [
'owner' => 'generated',
'repo' => 'generated',
'codeql_variant_analysis_id' => 26,
]);
Operations method:
$client->operations()->codeScanning()->getVariantAnalysis( owner: 'generated',
repo: 'generated',
codeql_variant_analysis_id: 26,
);
You can find more about this operation over at the API method documentation.
Get the analysis status of a repository in a CodeQL variant analysis
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/code-scanning/codeql/variant-analyses/{codeql_variant_analysis_id}/repos/{repo_owner}/{repo_name}', [
'owner' => 'generated',
'repo' => 'generated',
'codeql_variant_analysis_id' => 26,
'repo_owner' => 'generated',
'repo_name' => 'generated',
]);
Operations method:
$client->operations()->codeScanning()->getVariantAnalysisRepoTask( owner: 'generated',
repo: 'generated',
codeql_variant_analysis_id: 26,
repo_owner: 'generated',
repo_name: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a code scanning default setup configuration
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/code-scanning/default-setup', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->codeScanning()->getDefaultSetup( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Update a code scanning default setup configuration
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}/code-scanning/default-setup', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->codeScanning()->updateDefaultSetup( owner: 'generated',
repo: 'generated',
);
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.
Get the code security configuration associated with a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/code-security-configuration', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->codeSecurity()->getConfigurationForRepository( owner: 'generated',
repo: '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 codespaces in a repository for the authenticated user
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/codespaces', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->codespaces()->listInRepositoryForAuthenticatedUser( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
Create a codespace in a repository
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/codespaces', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->codespaces()->createWithRepoForAuthenticatedUser( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
List devcontainer configurations in a repository for the authenticated user
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/codespaces/devcontainers', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->codespaces()->listDevcontainersInRepositoryForAuthenticatedUser( owner: 'generated',
repo: 'generated',
per_page: 8,
page: 1,
);
You can find more about this operation over at the API method documentation.
List available machine types for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/codespaces/machines', [
'owner' => 'generated',
'repo' => 'generated',
'location' => 'generated',
'client_ip' => 'generated',
'ref' => 'generated',
]);
Operations method:
$client->operations()->codespaces()->repoMachinesForAuthenticatedUser( owner: 'generated',
repo: 'generated',
location: 'generated',
client_ip: 'generated',
ref: 'generated',
);
You can find more about this operation over at the API method documentation.
Get default attributes for a codespace
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/codespaces/new', [
'owner' => 'generated',
'repo' => 'generated',
'ref' => 'generated',
'client_ip' => 'generated',
]);
Operations method:
$client->operations()->codespaces()->preFlightWithRepoForAuthenticatedUser( owner: 'generated',
repo: 'generated',
ref: 'generated',
client_ip: 'generated',
);
You can find more about this operation over at the API method documentation.
Check if permissions defined by a devcontainer have been accepted by the authenticated user
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/codespaces/permissions_check', [
'owner' => 'generated',
'repo' => 'generated',
'ref' => 'generated',
'devcontainer_path' => 'generated',
]);
Operations method:
$client->operations()->codespaces()->checkPermissionsForDevcontainer( owner: 'generated',
repo: 'generated',
ref: 'generated',
devcontainer_path: 'generated',
);
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}/codespaces/secrets', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->codespaces()->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}/codespaces/secrets/public-key', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->codespaces()->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}/codespaces/secrets/{secret_name}', [
'owner' => 'generated',
'repo' => 'generated',
'secret_name' => 'generated',
]);
Operations method:
$client->operations()->codespaces()->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}/codespaces/secrets/{secret_name}', [
'owner' => 'generated',
'repo' => 'generated',
'secret_name' => 'generated',
]);
Operations method:
$client->operations()->codespaces()->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}/codespaces/secrets/{secret_name}', [
'owner' => 'generated',
'repo' => 'generated',
'secret_name' => 'generated',
]);
Operations method:
$client->operations()->codespaces()->deleteRepoSecret( owner: 'generated',
repo: 'generated',
secret_name: '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.
Get community profile metrics
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/community/profile', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->repos()->getCommunityProfileMetrics( owner: 'generated',
repo: 'generated',
);
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 Dependabot alerts for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/dependabot/alerts', [
'owner' => 'generated',
'repo' => 'generated',
'state' => 'generated',
'severity' => 'generated',
'ecosystem' => 'generated',
'package' => 'generated',
'manifest' => 'generated',
'epss_percentage' => 'generated',
'scope' => 'generated',
'before' => 'generated',
'after' => 'generated',
'last' => 4,
'sort' => 'generated',
'direction' => 'generated',
'page' => 1,
'per_page' => 8,
'first' => 5,
]);
Operations method:
$client->operations()->dependabot()->listAlertsForRepo( owner: 'generated',
repo: 'generated',
state: 'generated',
severity: 'generated',
ecosystem: 'generated',
package: 'generated',
manifest: 'generated',
epss_percentage: 'generated',
scope: 'generated',
before: 'generated',
after: 'generated',
last: 4,
sort: 'generated',
direction: 'generated',
page: 1,
per_page: 8,
first: 5,
);
You can find more about this operation over at the API method documentation.
List Dependabot alerts for a repository
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/dependabot/alerts', [
'owner' => 'generated',
'repo' => 'generated',
'state' => 'generated',
'severity' => 'generated',
'ecosystem' => 'generated',
'package' => 'generated',
'manifest' => 'generated',
'epss_percentage' => 'generated',
'scope' => 'generated',
'before' => 'generated',
'after' => 'generated',
'last' => 4,
'sort' => 'generated',
'direction' => 'generated',
'page' => 1,
'per_page' => 8,
'first' => 5,
]);
Operations method:
$client->operations()->dependabot()->listAlertsForRepoListing( owner: 'generated',
repo: 'generated',
state: 'generated',
severity: 'generated',
ecosystem: 'generated',
package: 'generated',
manifest: 'generated',
epss_percentage: 'generated',
scope: 'generated',
before: 'generated',
after: 'generated',
last: 4,
sort: 'generated',
direction: 'generated',
page: 1,
per_page: 8,
first: 5,
);
You can find more about this operation over at the API method documentation.
Get a Dependabot alert
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}', [
'owner' => 'generated',
'repo' => 'generated',
'alert_number' => 12,
]);
Operations method:
$client->operations()->dependabot()->getAlert( owner: 'generated',
repo: 'generated',
alert_number: 12,
);
You can find more about this operation over at the API method documentation.
Update a Dependabot alert
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}', [
'owner' => 'generated',
'repo' => 'generated',
'alert_number' => 12,
]);
Operations method:
$client->operations()->dependabot()->updateAlert( owner: 'generated',
repo: 'generated',
alert_number: 12,
);
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}/dependabot/secrets', [
'owner' => 'generated',
'repo' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->dependabot()->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}/dependabot/secrets/public-key', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->dependabot()->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}/dependabot/secrets/{secret_name}', [
'owner' => 'generated',
'repo' => 'generated',
'secret_name' => 'generated',
]);
Operations method:
$client->operations()->dependabot()->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}/dependabot/secrets/{secret_name}', [
'owner' => 'generated',
'repo' => 'generated',
'secret_name' => 'generated',
]);
Operations method:
$client->operations()->dependabot()->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}/dependabot/secrets/{secret_name}', [
'owner' => 'generated',
'repo' => 'generated',
'secret_name' => 'generated',
]);
Operations method:
$client->operations()->dependabot()->deleteRepoSecret( owner: 'generated',
repo: 'generated',
secret_name: 'generated',
);
You can find more about this operation over at the API method documentation.
Get a diff of the dependencies between commits
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}', [
'owner' => 'generated',
'repo' => 'generated',
'basehead' => 'generated',
'name' => 'generated',
]);
Operations method:
$client->operations()->dependencyGraph()->diffRange( owner: 'generated',
repo: 'generated',
basehead: 'generated',
name: 'generated',
);
You can find more about this operation over at the API method documentation.
Export a software bill of materials (SBOM) for a repository.
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/dependency-graph/sbom', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->dependencyGraph()->exportSbom( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Create a snapshot of dependencies for a repository
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/dependency-graph/snapshots', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->dependencyGraph()->createRepositorySnapshot( owner: 'generated',
repo: 'generated',
);
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.
Get all deployment protection rules for an environment
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules', [
'environment_name' => 'generated',
'repo' => 'generated',
'owner' => 'generated',
]);
Operations method:
$client->operations()->repos()->getAllDeploymentProtectionRules( environment_name: 'generated',
repo: 'generated',
owner: 'generated',
);
You can find more about this operation over at the API method documentation.
Create a custom deployment protection rule on an environment
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules', [
'environment_name' => 'generated',
'repo' => 'generated',
'owner' => 'generated',
]);
Operations method:
$client->operations()->repos()->createDeploymentProtectionRule( environment_name: 'generated',
repo: 'generated',
owner: 'generated',
);
You can find more about this operation over at the API method documentation.
List custom deployment rule integrations available for an environment
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps', [
'environment_name' => 'generated',
'repo' => 'generated',
'owner' => 'generated',
'page' => 1,
'per_page' => 8,
]);
Operations method:
$client->operations()->repos()->listCustomDeploymentRuleIntegrations( environment_name: 'generated',
repo: 'generated',
owner: 'generated',
page: 1,
per_page: 8,
);
You can find more about this operation over at the API method documentation.
Get a custom deployment protection rule
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}', [
'owner' => 'generated',
'repo' => 'generated',
'environment_name' => 'generated',
'protection_rule_id' => 18,
]);
Operations method:
$client->operations()->repos()->getCustomDeploymentProtectionRule( owner: 'generated',
repo: 'generated',
environment_name: 'generated',
protection_rule_id: 18,
);
You can find more about this operation over at the API method documentation.
Disable a custom protection rule for an environment
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}', [
'environment_name' => 'generated',
'repo' => 'generated',
'owner' => 'generated',
'protection_rule_id' => 18,
]);
Operations method:
$client->operations()->repos()->disableDeploymentProtectionRule( environment_name: 'generated',
repo: 'generated',
owner: 'generated',
protection_rule_id: 18,
);
You can find more about this operation over at the API method documentation.
List environment secrets
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/environments/{environment_name}/secrets', [
'owner' => 'generated',
'repo' => 'generated',
'environment_name' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->actions()->listEnvironmentSecrets( 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.
Get an environment public key
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key', [
'owner' => 'generated',
'repo' => 'generated',
'environment_name' => 'generated',
]);
Operations method:
$client->operations()->actions()->getEnvironmentPublicKey( owner: 'generated',
repo: 'generated',
environment_name: 'generated',
);
You can find more about this operation over at the API method documentation.
Get an environment secret
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}', [
'owner' => 'generated',
'repo' => 'generated',
'environment_name' => 'generated',
'secret_name' => 'generated',
]);
Operations method:
$client->operations()->actions()->getEnvironmentSecret( owner: 'generated',
repo: 'generated',
environment_name: 'generated',
secret_name: 'generated',
);
You can find more about this operation over at the API method documentation.
Create or update an environment secret
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}', [
'owner' => 'generated',
'repo' => 'generated',
'environment_name' => 'generated',
'secret_name' => 'generated',
]);
Operations method:
$client->operations()->actions()->createOrUpdateEnvironmentSecret( owner: 'generated',
repo: 'generated',
environment_name: 'generated',
secret_name: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete an environment secret
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}', [
'owner' => 'generated',
'repo' => 'generated',
'environment_name' => 'generated',
'secret_name' => 'generated',
]);
Operations method:
$client->operations()->actions()->deleteEnvironmentSecret( owner: 'generated',
repo: 'generated',
environment_name: 'generated',
secret_name: 'generated',
);
You can find more about this operation over at the API method documentation.
List environment variables
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/environments/{environment_name}/variables', [
'owner' => 'generated',
'repo' => 'generated',
'environment_name' => 'generated',
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->actions()->listEnvironmentVariables( 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 an environment variable
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/environments/{environment_name}/variables', [
'owner' => 'generated',
'repo' => 'generated',
'environment_name' => 'generated',
]);
Operations method:
$client->operations()->actions()->createEnvironmentVariable( owner: 'generated',
repo: 'generated',
environment_name: 'generated',
);
You can find more about this operation over at the API method documentation.
Get an environment variable
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}', [
'owner' => 'generated',
'repo' => 'generated',
'environment_name' => 'generated',
'name' => 'generated',
]);
Operations method:
$client->operations()->actions()->getEnvironmentVariable( owner: 'generated',
repo: 'generated',
environment_name: 'generated',
name: 'generated',
);
You can find more about this operation over at the API method documentation.
Delete an environment variable
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}', [
'owner' => 'generated',
'repo' => 'generated',
'name' => 'generated',
'environment_name' => 'generated',
]);
Operations method:
$client->operations()->actions()->deleteEnvironmentVariable( owner: 'generated',
repo: 'generated',
name: 'generated',
environment_name: 'generated',
);
You can find more about this operation over at the API method documentation.
Update an environment variable
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}', [
'owner' => 'generated',
'repo' => 'generated',
'name' => 'generated',
'environment_name' => 'generated',
]);
Operations method:
$client->operations()->actions()->updateEnvironmentVariable( owner: 'generated',
repo: 'generated',
name: 'generated',
environment_name: 'generated',
);
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',
'per_page' => 8,
]);
Operations method:
$client->operations()->repos()->listWebhookDeliveries( owner: 'generated',
repo: 'generated',
hook_id: 7,
cursor: 'generated',
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 an import status
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/import', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->migrations()->getImportStatus( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Start an import
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/import', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->migrations()->startImport( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Cancel an import
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/import', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->migrations()->cancelImport( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Update an import
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}/import', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->migrations()->updateImport( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Get commit authors
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/import/authors', [
'owner' => 'generated',
'repo' => 'generated',
'since' => 5,
]);
Operations method:
$client->operations()->migrations()->getCommitAuthors( owner: 'generated',
repo: 'generated',
since: 5,
);
You can find more about this operation over at the API method documentation.
Map a commit author
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}/import/authors/{author_id}', [
'owner' => 'generated',
'repo' => 'generated',
'author_id' => 9,
]);
Operations method:
$client->operations()->migrations()->mapCommitAuthor( owner: 'generated',
repo: 'generated',
author_id: 9,
);
You can find more about this operation over at the API method documentation.
Get large files
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/import/large_files', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->migrations()->getLargeFiles( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Update Git LFS preference
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}/import/lfs', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->migrations()->setLfsPreference( owner: 'generated',
repo: 'generated',
);
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.
Get interaction restrictions for a repository
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/interaction-limits', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->interactions()->getRestrictionsForRepo( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Set interaction restrictions for a repository
Using the call
method:
$client->call('PUT /repos/{owner}/{repo}/interaction-limits', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->interactions()->setRestrictionsForRepo( owner: 'generated',
repo: 'generated',
);
You can find more about this operation over at the API method documentation.
Remove interaction restrictions for a repository
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/interaction-limits', [
'owner' => 'generated',
'repo' => 'generated',
]);
Operations method:
$client->operations()->interactions()->removeRestrictionsForRepo( 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',
'type' => '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',
type: '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',
'type' => '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',
type: '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.
Remove sub-issue
Using the call
method:
$client->call('DELETE /repos/{owner}/{repo}/issues/{issue_number}/sub_issue', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
]);
Operations method:
$client->operations()->issues()->removeSubIssue( owner: 'generated',
repo: 'generated',
issue_number: 12,
);
You can find more about this operation over at the API method documentation.
List sub-issues
Using the call
method:
$client->call('GET /repos/{owner}/{repo}/issues/{issue_number}/sub_issues', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listSubIssues( 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 sub-issues
Using the call
method:
$client->call('LIST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
'per_page' => 8,
'page' => 1,
]);
Operations method:
$client->operations()->issues()->listSubIssuesListing( 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.
Add sub-issue
Using the call
method:
$client->call('POST /repos/{owner}/{repo}/issues/{issue_number}/sub_issues', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
]);
Operations method:
$client->operations()->issues()->addSubIssue( owner: 'generated',
repo: 'generated',
issue_number: 12,
);
You can find more about this operation over at the API method documentation.
Reprioritize sub-issue
Using the call
method:
$client->call('PATCH /repos/{owner}/{repo}/issues/{issue_number}/sub_issues/priority', [
'owner' => 'generated',
'repo' => 'generated',
'issue_number' => 12,
]);
Operations method:
$client->operations()->issues()->reprioritizeSubIssue( owner: 'generated',
repo: 'generated',
issue_number: 12,
);
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'