Creating an ImageStorage

Format

MethodPOST
URL

/tasks/create

Request contentsImageStorageCreate Object
Successful answerTaskResult Object
Unexpected errorHTTP 500

ImageStorageCreate Object

Schema

repeatStringReserved
retriesStringNumber of times this task will be retried, in case of an error
typeStringTask type identifier. In this case, "istorage_create"
istorage_idStringUnique identifier for the new ImageStorage
host_listStringList of Hosts linked to this ImageStorage, separated by commas

JSON example

 

{
    "repeat": "0",   
    "retries": "0",
    "type": "istorage_create",
    "istorage_id": "local",
    "host_list": "flexdev01,flexdev02"
}