Skip to content

File size limited to 1MB #85

@ghost

Description

I tried to delete a file with 3MB from my repository. But to do that I need to call GHRepository.getFileContent first and that leads to the following error:

Exception: {"message":"This API returns blobs up to 1 MB in size. The requested blob is too large to fetch via the API, but you can use the Git Data API to request blobs up to 100 MB in size.","documentation_url":"https://developer.github.com/v3/repos/contents/#get-contents","errors":[{"resource":"Blob","field":"data","code":"too_large"}]}

The same happens with GHRepository.createContent.

Is there a way to use the git blobs api: https://developer.github.com/v3/git/blobs/?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions