Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 741 Bytes

File metadata and controls

28 lines (19 loc) · 741 Bytes

Repo / Custom Properties API

Back to the "Repos API" | Back to the navigation

For extended info see the GitHub documentation

List custom properties for a repository

$properties = $client->api('repo')->properties()->all('twbs', 'bootstrap');

Get a custom property for a repository

$property = $client->api('repo')->properties()->show('twbs', 'bootstrap', $propertyName);

Update a custom property for a repository

$parameters = [
    'property_name' => 'foo',
    'value' => 'bar'
]

$property = $client->api('repo')->properties()->update('twbs', 'bootstrap', $params);