Get a list of all commits from a repository
Changed onRequest
- Base URLhttps://demo.gitea.com/api/v1
- Auth
- HTTP basic
- or API key in query parameter token
- or API key in query parameter access_token
- or API key in header Authorization
- or API key in query parameter sudo
- or API key in header Sudo
- or API key in header X-GITEA-OTP
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
owner of the repo
name of the repo
Query parameters
SHA or branch to start listing commits from (usually 'master')
filepath of a file/dir
Only commits after this date will be returned (ISO 8601 format)
Only commits before this date will be returned (ISO 8601 format)
include diff stats for every commit (disable for speedup, default 'true')
include verification for every commit (disable for speedup, default 'true')
include a list of affected files for every commit (disable for speedup, default 'true')
page number of results to return (1-based)
page size of results (ignored if used with 'path')
commits that match the given specifier will not be listed.
Response
CommitList
Changes
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
- warning
the optional response header
X-Totalremoved for the status200
- warning