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

Add file status for API "Get a single commit from a repository" (#16205) (#25831)

#16205 To obtain a closer behavior to the api from github, the status
(added, modified, removed) of a file should be available in addition to
the filename.
See github doc :

https://docs.github.com/fr/rest/commits/commits?apiVersion=2022-11-28#get-a-commit
This commit is contained in:
jeremiepozzigithub
2023-07-20 10:35:47 +02:00
committed by GitHub
parent df55f9b189
commit d7a8d09da0
3 changed files with 7 additions and 1 deletions

View File

@@ -16399,6 +16399,10 @@
"filename": {
"type": "string",
"x-go-name": "Filename"
},
"status": {
"type": "string",
"x-go-name": "Status"
}
},
"x-go-package": "code.gitea.io/gitea/modules/structs"