Back to the "Repos API" | Back to the navigation
https://docs.github.com/en/free-pro-team@latest/rest/reference/checks#create-a-check-suite
$params = [
'head_sha' => $commitSha, # required
];
$check = $client->api('repo')->checkSuites()->create('KnpLabs', 'php-github-api', $params);$params = [/*...*/];
$check = $client->api('repo')->checkSuites()->updatePreferences('KnpLabs', 'php-github-api', $params);https://docs.github.com/en/free-pro-team@latest/rest/reference/checks#get-a-check-suite
$check = $client->api('repo')->checkSuites()->getCheckSuite('KnpLabs', 'php-github-api', $checkSuiteId);https://docs.github.com/en/free-pro-team@latest/rest/reference/checks#rerequest-a-check-suite
$annotations = $client->api('repo')->checkSuites()->rerequest('KnpLabs', 'php-github-api', $checkSuiteId);$params = [/*...*/];
$checks = $client->api('repo')->checkSuites()->allForReference('KnpLabs', 'php-github-api', $reference, $params);