CreateCloudStorageMetaDataCache
Select
SaaS
Customer Managed
Add metadata cache paths to storage
Path Parameters
- cloudStorageId int32 required
Id of cloud Storage
- application/json
Request Body
mediaAgent object required
credentials object
savedCredentials object
- path string required
Metadata cache will be stored on this path
Responses
- 200
- 404
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Requested Details not found
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
POST /v4/storage/cloud/:cloudstorageid/metadatacache
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Cloud/:cloudStorageId/MetadataCache' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"mediaAgent": {
"id": 0,
"name": "string"
},
"credentials": {
"name": "string",
"password": "string"
},
"savedCredentials": {
"id": 0,
"name": "string"
},
"path": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Cloud/:cloudStorageId/MetadataCache' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"mediaAgent": {
"id": 0,
"name": "string"
},
"credentials": {
"name": "string",
"password": "string"
},
"savedCredentials": {
"id": 0,
"name": "string"
},
"path": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Cloud/:cloudStorageId/MetadataCache' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"mediaAgent": {
"id": 0,
"name": "string"
},
"credentials": {
"name": "string",
"password": "string"
},
"savedCredentials": {
"id": 0,
"name": "string"
},
"path": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Cloud/:cloudStorageId/MetadataCache' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"mediaAgent": {
"id": 0,
"name": "string"
},
"credentials": {
"name": "string",
"password": "string"
},
"savedCredentials": {
"id": 0,
"name": "string"
},
"path": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Cloud/:cloudStorageId/MetadataCache' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"mediaAgent": {
"id": 0,
"name": "string"
},
"credentials": {
"name": "string",
"password": "string"
},
"savedCredentials": {
"id": 0,
"name": "string"
},
"path": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Cloud/:cloudStorageId/MetadataCache' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"mediaAgent": {
"id": 0,
"name": "string"
},
"credentials": {
"name": "string",
"password": "string"
},
"savedCredentials": {
"id": 0,
"name": "string"
},
"path": "string"
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Storage/Cloud/:cloudStorageId/MetadataCache' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"mediaAgent": {
"id": 0,
"name": "string"
},
"credentials": {
"name": "string",
"password": "string"
},
"savedCredentials": {
"id": 0,
"name": "string"
},
"path": "string"
}'