Services /
List builds
Lists the builds for the service
URL parameters
project
string required
ID of the project
service
string required
ID of the service
Response attributes
object
builds
array required
An array of builds.
object
branch
string
Name of the branch the built commit belongs to.
pullRequestId
number
ID of the pull request the commit belongs to.
status
string
The status of the build.
sha
string
The sha of the built commit.
concluded
boolean
Whether the build has finished.
createdAt
number
Timestamp of the build initiation.
message
string
Description of the build status.
success
boolean
Whether the build was successful.
buildConcludedAt
number
Timestamp of the build concluding.
GET /v1beta/projects/{project}/services/{service}/build
Example response
200 OK
Returns a list of builds for the given service.
JSON
{
"builds": [
{
"branch": "main",
"status": "SUCCESS",
"sha": "12c15e7ee25fd78f567ebf87f9178b8ad70025b3",
"concluded": true,
"createdAt": 1606237892572,
"message": "Image successfully built",
"success": true,
"buildConcludedAt": 1606237973
}
]
}