Workbot

Allow once or deny your push

Changed on

Decides a pending push for the member signed in to Workbot. Allow once applies only to the commit shown in the approval.

post/v1/workbot/cloud-coding/approvals/{approvalId}/decision

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    HTTP bearer

Path parameters

approvalId, string required

Request body

CloudCodingPushDecisionInput required
decision, 'allow_once' | 'deny' required

Response

Allow once or deny your push

CloudCodingPushApproval required
id, string required
taskId, string required
agentId, string nullable
agentName, string nullable
status, 'pending' | 'approved' | 'denied' | 'pushed' | 'expired' | 'superseded' required
repositoryFullName, string required
branch, string required
baseBranch, string required
headSha, string nullable required
title, string required
files, CloudCodingFileChange[] required
fileCount, integer required
tests, CloudCodingTestReport required
requestedAt, string date-time required
expiresAt, string date-time required
decidedAt, string date-time nullable required
pullRequest, object nullable required

Changes

    • info

      added the optional property agentId to the response with the status

    • info

      added the optional property agentName to the response with the status

    • breaking

      response property headSha list-of-types was widened by adding types null to media type application/json of response 200

    1 more change in this revision