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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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"`