The builder-git-pull command pulls a repository into the builder space.

JSON Input Data Format
{
    "pid": string,
    "cloudid": string,
    "gitrepo": string,
    "gitbranch": string
}
pid * Specifies the build space ID, which can be any value, but must remain consistent throughout the build process. In Flow-fx, this ID is automatically set to match the ID of the Flow-fx.
cloudid * Specifies the {ANYNODE} ID on which the builder will be activated.
gitrepo * Specifies the repository URL. For example: git@sky.git:mynginx.repo or https://github.com/v7v-575/mitest.git
gitbranch Specifies the repository branch name to be pulled. The default value is main.
* 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 ..."
}