Back to the "Repos API" | Back to the navigation
$assets = $client->api('repo')->releases()->assets()->all('twbs', 'bootstrap', $releaseId);
$asset = $client->api('repo')->releases()->assets()->show('twbs', 'bootstrap', $assetId);
$asset = $client->api('repo')->releases()->assets()->show('twbs', 'bootstrap', $assetId, true);
$asset = $client->api('repo')->releases()->assets()->create('twbs', 'bootstrap', $releaseId, $name, $contentType, $content);
$asset = $client->api('repo')->releases()->assets()->edit('twbs', 'bootstrap', $assetId, array('name' => 'New name'));
$asset = $client->api('repo')->releases()->assets()->remove('twbs', 'bootstrap', $assetId);