[Feature request] [API] Add license endpoint #12905
Labels
modifies/api
This PR adds API routes or modifies them
type/proposal
The new feature has not been accepted yet but needs to be discussed first.
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
The text was updated successfully, but these errors were encountered: