[Feature request] [API] Add license endpoint #6030

Open
opened 2025-11-02 06:43:11 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @jellykells on GitHub (Sep 20, 2020).

Specifically, an endpoint to view the license of a given repository would be nice.

Discussion of #278 considers using a license detector, but being able to set a license in a repository's configuration would work well enough. Gitea already has an interface for selecting a license on repository creation :)

GitHub's API for reference: https://docs.github.com/en/rest/reference/licenses

Originally created by @jellykells on GitHub (Sep 20, 2020). Specifically, an endpoint to view the license of a given repository would be nice. Discussion of #278 considers using a license detector, but being able to set a license in a repository's configuration would work well enough. Gitea already has an interface for selecting a license on repository creation :) GitHub's API for reference: https://docs.github.com/en/rest/reference/licenses
GiteaMirror added the type/proposalmodifies/api labels 2025-11-02 06:43:11 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#6030