API

CiStatus

Operations

Every route this entity exposes. Each route links to its own reference on this page.

Method Route SDK operation Returns
GET /api/v1/organizations/{org_slug}/repos/{repo_slug}/ci/status/ref load CI status for a ref

Fields

Field Type Required Description

load

GET /api/v1/organizations/{org_slug}/repos/{repo_slug}/ci/status/ref

Operation ID: api_v1_org_repo_ci_status_ref.

Authentication: bearer token (bearerAuth).

Parameters

Parameter In Type Required Description
org_slug path string Yes
repo_slug path string Yes
ref query string No Ref to summarize. Omitted, the repository's default branch is resolved server-side and echoed back as ref_name.

Responses

200: CI status for a ref

application/json

The response is object and object.

401: Unauthorized
403: Forbidden
404: Not found
422: Unprocessable entity
502: Bad gateway