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

Add last_committer_date and last_author_date for file contents API (#32921)

Fix #32886

Add `last_committer_date` and `last_author_date` in the content API
which is not implemented by Github API v3 at the moment.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
Lunny Xiao
2025-04-02 21:47:31 -07:00
committed by GitHub
parent c27d87a9ac
commit 45c45934aa
11 changed files with 264 additions and 176 deletions

View File

@@ -20411,10 +20411,20 @@
"type": "string",
"x-go-name": "HTMLURL"
},
"last_author_date": {
"type": "string",
"format": "date-time",
"x-go-name": "LastAuthorDate"
},
"last_commit_sha": {
"type": "string",
"x-go-name": "LastCommitSHA"
},
"last_committer_date": {
"type": "string",
"format": "date-time",
"x-go-name": "LastCommitterDate"
},
"name": {
"type": "string",
"x-go-name": "Name"