v2

latestSwagger 2.02026-08-01331211921.0 KB
Pullrequests

Approve a pull request

Approve the specified pull request as the authenticated user.

post/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/approve

Response

The participant object recording that the authenticated user approved the pull request.

typestring required
role'PARTICIPANT' | 'REVIEWER'
approvedboolean
statestring
participated_onstring date-time

The ISO8601 timestamp of the participant's action. For approvers, this is the time of their approval. For commenters and pull request reviewers who are not approvers, this is the time they last commented, or null if they have not commented.