The commits of one branch, newest first.
Request
Add parameter in header API-key
Example:API-key: ********************
or
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
or
Request Code Samples
curl --location 'https://mijn.host/api/v2/hosting/12345/git/09e5044d238ec4b19ba1b5c57e0e6dae/commits?branch=main&limit=20&skip=0' \
--header 'Accept: application/json' \
--header 'User-Agent: my-application/1.0.0' \
--header 'API-key: <api-key>' \
--header 'Content-Type: application/json'
Responses
application/json
{
"status": 200,
"status_description": "string",
"data": {
"branch": "string",
"commits": [
{
"hash": "string",
"message": "string",
"author": {
"name": "string",
"email": "string"
},
"committed_at": "2026-11-19T10:30:00Z"
}
],
"more_older": true,
"more_newer": true
}
}
Modified at 2026-11-20 15:12:54