The github-populate command is used to populate the main branch from a GitHub repository.
JSON Input Data Format

    {
        "id": string,
        "address": string,
        "gituser": string,
        "gitpass": string
    }

id * | Specifies the ID of the repository.
address * | Specifies the GitHub repository address. For example: https://github.com/digitalocean/sample-dockerfile.git.
gituser | Specifies the GitHub user name for private repositories.
gitpass | Specifies the GitHub password/token for private repositories.

* 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 ..."
    }