JGithubPackageDataBlobs
class JGithubPackageDataBlobs extends JGithubPackage
GitHub API Data Blobs class for the Joomla Platform.
Since blobs can be any arbitrary binary data, the input and responses for the blob API takes an encoding parameter that can be either utf-8 or base64. If your data cannot be losslessly sent as a UTF-8 string, you can base64 encode it.
Methods
object
get(
string $owner,
string $repo,
string $sha)
Get a Blob.
object
create(
string $owner,
string $repo,
string $content,
string $encoding = 'utf-8')
Create a Blob.