Skip to main content
PUT
Update branch status check

Authorizations

Authorization
string
header
required

Use a JWT bearer token or a Veryfront API key in the Authorization header.

Path Parameters

project_reference
string
required

Project slug, UUID, or domain that identifies the project.

branch_id
string<uuid>
required

Branch UUID belonging to the selected project. Missing or foreign branches return 404.

check_name
string
required

Status check name, the key of the check on its branch, at most 100 characters. URL-encode it: names such as ci/build carry a slash.

Required string length: 1 - 100
Example:

"ci%2Fbuild"

Body

application/json
status
enum<string>
required

State to report: pending, success or failure.

Available options:
pending,
success,
failure
description
string

Description of the result.

external_url
string

Link to the external result.

Response

Status check created or replaced.

id
string<uuid>
required

Status check ID.

branch_id
string<uuid>
required

Branch the check reports on.

check_name
string
required

Check name; the key of the check on its branch.

status
enum<string>
required

Reported state.

Available options:
pending,
success,
failure
description
string | null
required

Result description, or null.

external_url
string | null
required

Link to the external result, or null.

started_at
string | null
required

Start time, or null when unavailable.

completed_at
string | null
required

Completion time, or null while pending.

created_at
string
required

Creation time.

updated_at
string
required

Last update time.