Skip to content

List commits

GET
/api/orgs/{org}/projects/{project}/log
curl --request GET \
--url https://api-dev.wrktr.com/api/orgs/example/projects/example/log \
--header 'Authorization: Bearer <token>'

Newest first, from ref (a branch or a commit; the default branch if omitted).

org
required
string
project
required
string
ref
Any of:
string
limit
Any of:
string

Success

Media typeapplication/json
Array<object>
object
sha
required
string
parents
required
Array<string>
message
required
string
author
required
string
committedAt
required
Any of:
number
Example
[
{
"committedAt": "Infinity"
}
]

Unauthorized

Media typeapplication/json
object
_tag
required
string
Allowed values: Unauthorized
message
required
string
Example
{
"_tag": "Unauthorized"
}

ProjectNotFound

Media typeapplication/json
object
_tag
required
string
Allowed values: ProjectNotFound
project
required
string
Example
{
"_tag": "ProjectNotFound"
}