Back to the "Repos API" | Back to the navigation
This Github API Endpoint is currently undocumented because it's new, but works just fine.
$release = $client->api('repo')->releases()->latest('twbs', 'bootstrap');
$release = $client->api('repo')->releases()->all('twbs', 'bootstrap', 'd890eec');
$releases = $client->api('repo')->releases()->all('twbs', 'bootstrap');
$release = $client->api('repo')->releases()->show('twbs', 'bootstrap', $id);
$release = $client->api('repo')->releases()->create('twbs', 'bootstrap', array('tag_name' => 'v1.1'));
$release = $client->api('repo')->releases()->edit('twbs', 'bootstrap', $id, array('name' => 'New release name'));
This works, but isn't thoroughly tested, use at your own risk.
$response = $client->api('repo')->releases()->remove('twbs', 'bootstrap', $id);