Fetch Continuous Integration run

Version 4.0.25.6 (latest)

Fetches a CI Run.

Request

GET /projects/{project_id}/ci/runs/{run_id}
Datatype
Description
Request
HTTP Request
path
HTTP Path
Expand HTTP Path definition...
project_id
string
Project Id
run_id
string
Run Id
query
HTTP Query
Expand HTTP Query definition...
fields
string
Requested fields

Response

200: CI Run

Datatype
Description
(object)
run
Continuous Integration Run
Expand CIRun definition...
run_id
string
Run ID
created_at
string
Run created time.
started_at
string
Run start time.
finished_at
string
Run completed time.
status_url
string
Run status url
status
string
Run status.
git_service
string
Git service for run
git_state
Git state for run
Expand CIGitState definition...
branch
string
Git branch for run
repository
string
Git repository for run
commit_ref
string
Git commit for run
target
string
Run start time.
result
Expand CIRunResult definition...
status
string
Run result status
validator
string
Run result validator
schedule
Schedule for run
Expand CIScheduleTrigger definition...
enabled
boolean
Whether schedule is active
day
string
Day of week (0 = Sunday, 6 = Saturday)
hour
string
Hour of the day (24 hour format)
frequency
string
How often the schedule is configured to run
target_branch
string
Target branch for run
title
string
Suite title
trigger
string
Trigger for run
change_request
Change request for run
Expand CIChangeRequest definition...
change_request_number
integer
Change request number
change_request_url
string
Change request url
change_request_name
string
Change request name
change_request_commits_url
string
Change request commits url
suite_id
string
The Id of the suite used
username
string
User who triggered the run

400: Bad Request

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

404: Not Found

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

429: Too Many Requests

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link