[OpenAPI] Add lfs flag to the metadata of entries #13176

Closed
opened 2025-11-02 10:33:43 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @onichandame on GitHub (Jun 19, 2024).

Feature Description

https://docs.gitea.com/api/1.20/#tag/repository/operation/repoGetContents

With the getContents api, I can get a list of entries at certain path. However I couldn't tell which entries are tracked by lfs and which are not. It'd be ideal if an lfs flag is added to each entry indicating that whether it is tracked by lfs.

Screenshots

No response

Originally created by @onichandame on GitHub (Jun 19, 2024). ### Feature Description https://docs.gitea.com/api/1.20/#tag/repository/operation/repoGetContents With the getContents api, I can get a list of entries at certain path. However I couldn't tell which entries are tracked by lfs and which are not. It'd be ideal if an `lfs` flag is added to each entry indicating that whether it is tracked by lfs. ### Screenshots _No response_
GiteaMirror added the topic/apitype/proposal labels 2025-11-02 10:33:43 -06:00
Author
Owner

@starrysky8 commented on GitHub (Jun 19, 2025):

Any updates on this? I have the same need.

@starrysky8 commented on GitHub (Jun 19, 2025): Any updates on this? I have the same need.
Author
Owner

@lunny commented on GitHub (Jun 19, 2025):

This is similar to #30209 .

@lunny commented on GitHub (Jun 19, 2025): This is similar to #30209 .
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13176