updateBranchStatusCheck

Create or replace one named status check on a branch. Requires project.files.write.

Arguments

  • branchIdID!required

    Branch the check reports on. A missing branch and one the caller cannot read are both not found.

  • checkNameString!required

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

  • inputUpdateBranchStatusCheckInput!required

  • input.statusStatusCheckStatus!required

    State to report. One of pending, success, failure.

  • input.descriptionString

    Description of the result, at most 1000 characters.

  • input.externalUrlString

    Link to the external result; a URL of at most 2000 characters.

Responses

mutation UpdateBranchStatusCheck($branchId: ID!, $checkName: String!, $input: UpdateBranchStatusCheckInput!) {  updateBranchStatusCheck(branchId: $branchId, checkName: $checkName, input: $input) {    id    branchId    checkName    status    description    externalUrl    startedAt    completedAt    createdAt    updatedAt  }}
{  "data": {    "updateBranchStatusCheck": {      "id": "string",      "branchId": "string",      "checkName": "string",      "status": "pending",      "description": "string",      "externalUrl": "https://example.com",      "startedAt": "string",      "completedAt": "string",      "createdAt": "string",      "updatedAt": "string"    }  }}

The BranchStatusCheck! in data.updateBranchStatusCheck.