Table 5.16. Create directory
Method | URI | Description |
---|---|---|
PUT | /admin/<object_type>/<full_directory_name> | Creates a new directory in the given path |
Table 5.17. Parameters
Parameter | Description | Required |
---|---|---|
object_type | Identifies the type of the new metadata object. May be one of the following: workflow, scripts, ui, agent, heat. | true |
full_directory_name | Defines a name of a new directory. If any components of the path are missing, they will be created. If the directory already exists, nothing will happen. | true |
Table 5.18. Error Response Codes
Code | Description |
---|---|
401 | User is not authorized to access this tenant resources |
404 | The object_type is unknown |
403 | The object_type is "manifest" |
Payload
None
Returns
In case of successful result this call returns a json:
{"result": "success"}