The create command is used to create a new repository.

JSON Input Data Format
{
    "cloudid": string,
    "name": string,
    "trigger": boolean,
    "queue": string
}
cloudid * Specifies the ID of the {ANYNODE} on which the repository will be created.
name * Specifies the name for the repository. Input rules require that only lowercase letters (a-z) and numbers (0-9) are allowed, with no spaces permitted.
trigger * Specifies whether repository events should be sent to an Event Hub.
queue Specifies the Event Hub ID for the trigger. This field is required if the trigger is enabled.
* 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",
    "id": "V7-49ff499f-xxxx-xxxx-xxxx-b47fxxxx99af"
}

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