1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

API: Return primary language and repository language stats API URL (#18396)

This commit is contained in:
Lauris BH
2022-01-25 08:33:40 +02:00
committed by GitHub
parent 9628a76ce6
commit 6392f4691a
7 changed files with 55 additions and 2 deletions

View File

@@ -59,6 +59,8 @@ type Repository struct {
Parent *Repository `json:"parent"`
Mirror bool `json:"mirror"`
Size int `json:"size"`
Language string `json:"language"`
LanguagesURL string `json:"languages_url"`
HTMLURL string `json:"html_url"`
SSHURL string `json:"ssh_url"`
CloneURL string `json:"clone_url"`