Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Format

MethodPOST
URL

/tasks/create

Request contentDirectStorageCreate Object
Successful answerTaskResult Object
Unexpected errorHTTP 500

DirectStorageCreate Object

Schema

repeatStringReserved
retriesStringNumber of times this task will be retried, in case of error
typeStringTask type identifier. In this case, "dstorage_create"
dstorage_idStringNew unique identifier of the Direct Storage
host_listStringComma-separated host list of this Direct Storage

JSON example

{
    "repeat": "0",    
    "retries": "0",
    "type": "dstorage_create",
    "dstorage_id": "cifs",
    "host_list": "flexdev01,flexdev02"
}

 

 

Task type identifier. In this case,

dstorage_id
  • No labels