Create a Continuous Integration run

Version 4.0.25.8 (latest)

Creates a CI Run.

Request

POST /projects/{project_id}/ci/run
Datatype
Description
Request
HTTP Request
path
HTTP Path
Expand HTTP Path definition...
project_id
string
Project Id
body
HTTP Body
Expand HTTP Body definition...
body
Options for creating a CI run
Expand CreateCIRunRequest definition...
suite_id
string
ID of the CI suite
branch
string
Branch that the CI run should validate. Omit to test production.
commit
string
Commit that the CI run should validate. Omit to test production.
query
HTTP Query
Expand HTTP Query definition...
fields
string
Requested fields

Response

200: CI Run

Datatype
Description
run_id
string
ID of the CI run
status
string
Status of the CI run (unknown, failed, passed, skipped, errored, cancelled, queued, running)

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

409: Resource Already Exists

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

422: Validation Error

Datatype
Description
(object)
message
string
Error details
Expand ValidationErrorDetail definition...
field
string
Field with error
code
string
Error code
message
string
Error info message
documentation_url
string
Documentation link
documentation_url
string
Documentation link

429: Too Many Requests

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