Trails

Submit an approval decision on a trail

post/api/v1/trails/{forge}/{owner}/{repo}/{number}/approvals

Path parameters

forgestring required
ownerstring required
repostring required
numberstring required

Request body

event'APPROVE' | 'REQUEST_CHANGES' required

Approval action

bodystring

Approval comment (required for REQUEST_CHANGES)

Response

Approval submitted

okboolean required

Changes

Changed in 2 of the 29 revisions of this API.22

    • ●

      added the new base_checks enum value to the //// response property for the response status

      response-property-enum-value-added

    • ●

      added the new base_checks enum value to the //// response property for the response status

      response-property-enum-value-added

    • ○

      added the optional property //// to the response with the status

      response-optional-property-added

    • ○

      added the optional property //// to the response with the status

      response-optional-property-added