Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 365 Bytes

blobs.md

File metadata and controls

14 lines (10 loc) · 365 Bytes

Blobs API

Back to the navigation

Show a blob

$blob = $client->api('gitData')->blobs()->show('KnpLabs', 'php-github-api', '839e5185da9434753db47959bee16642bb4f2ce4');

Create a blob

$blob = $client->api('gitData')->blobs()->create('KnpLabs', 'php-github-api', ['content' => 'Test content', 'encoding' => 'utf-8']);