module GitHub::REST::Blobs

Overview

This module is specifically for interacting with the Blobs endpoints GitHub offers us to use. see GitHub Blobs endpoints

Direct including types

Defined in:

githubcr/rest.cr

Instance Method Summary

Instance Method Detail

def create_blob(owner : String, repository : String, payload : BlobPayload) #

[View source]
def get_blob(owner : String, repository : String, file_sha : String) : Blob #

The content in the response will always be Base64 encoded.

NOTE This API supports blobs up to 100 megabytes in size.


[View source]