Organizations
Read your Cloud coding push approval
Changed onReturns the current status of your approval and a link to the pull request after it opens.
get/v1/cloud-coding/approvals/{approvalId}
Request
- Base URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
approvalId, string required
Response
Read your Cloud coding push approval
Cloud Coding Push Approval 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, Cloud Coding File Change[] required
fileCount, integer required
tests, Cloud Coding Test Report 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
agentIdto the response with the status - info
added the optional property
agentNameto the response with the status
- info
- breaking
response property
headShalist-of-types was widened by adding typesnullto media typeapplication/jsonof response200
1 more change in this revision
- breaking