The create-pull command is used to create a pull request in a repositoey.

JSON Input Data Format
{
    "id": string,
    "frombranch": string,
    "tobranch": string,
    "email": string
}
id * Specifies the ID of the repository.
frombranch * Specifies the name of the branch to be merged into the destination branch.
tobranch * Specifies the name of the branch that will serve as the destination for the merge.
email * Specifies the email address requesting 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": "The process was successfully completed"
}

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