Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jellykells opened this issue Sep 20, 2020 · 0 comments
Open

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

jellykells opened this issue Sep 20, 2020 · 0 comments
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.

Comments

@jellykells
Copy link

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

@6543 6543 added 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. labels Sep 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

2 participants