The list-pull command is used to retrieve a list of pull requests.
JSON Input Data Format

    {
        "id": string
    }

id * | Specifies the ID of the repository.

* 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": [
            {
                "pullid": "716db7a1-613c-4767-a7ee-6bf18534f770",
                "repoid": "V72faa43d4-072d-4bc0-96c6-57c28f5e0d89",
                "requestor": "user@domain.com",
                "frombranch": "develop",
                "tobranch": "main",
                "status": "opened at 8/20/2024  6:10 am"
            },
            ...
        ]
    }

Failed Response

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