The approve-pull command is used to approve a pull request.

JSON Input Data Format
{
    "pullid": string,
    "email": string
}
pullid * Specifies the ID of the pull request.
email * Specifies the email address approving the pull, serving as identification.
* Indicates a mandatory field.

Code Snippets
Here are several code snippets provided for your direct use. Simply select your preferred tool/language by clicking on it.


Successful Response
{
    "result": "OK",
    "payload": "716db7a1-613c-4767-a7ee-6bf18534f770 : develop >> main : approved by user@domain.com at 8/20/2024  6:34 am"
}

Failed Response
{
    "result": "ERR",
    "message": "Error message ..."
}