Skip to content

[API] Get LFS objects #19685

@qwerty287

Description

@qwerty287

Feature Description

It is not possible to get files stored with LFS using the API. The raw files endpoint just returns something like

version https://git-lfs.github.com/spec/v1
oid sha256:c5f52283c3726e84b1a76cb6f2e804a4c08463c6c113c00c9f590b2b8aed6c58
size 94318

Then, a possibility to get the file content itself would be good, perhaps using the filepath (the more easy option for clients, similar to the <owner>/<repo>/media/<file> endpoint in the web ui), or using the SHA sum the raw endpoint returns.

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/featureCompletely new functionality. Can only be merged if feature freeze is not active.type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions