Back to the "Repos API" | Back to the navigation
$statuses = $client->api('repo')->statuses()->show('NimbleCI', 'docker-web-tester-behat', $commitSha);
$statuses = $client->api('repo')->statuses()->combined('NimbleCI', 'docker-web-tester-behat', $commitSha);
For the full list of parameters see https://developer.github.com/v3/repos/statuses/#parameters
$params = [
'state' => 'pending', # The 'state' element is required
'target_url' => 'https://nimbleci.com/...',
'description' => 'A great description...',
'context' => 'my-context',
];
$statuses = $client->api('repo')->statuses()->create('NimbleCI', 'docker-web-tester-behat', $commitSha, $params);