Add S3 Storage
Use this endpoint to add S3 Storage
Authorized Roles : PROVIDER
Request
URI
POST
https://{api_host}/provider/s3storages
COPY
Request Body
S3StorageDetailsDto
of type(s)
application/json
Required
Show optional properties
{
"name": "string",
"endpoint": "string",
"bucket": "string",
"accessKey": "string",
"secretKey": [
{}
]
}
{
"id": "string",
"name": "string",
"endpoint": "string",
"bucket": "string",
"accessKey": "string",
"secretKey": [
"string"
],
"region": "string",
"thumbprint": "string",
"templateStorage": false
}
string As uuid
As uuid
id
Optional
id
string
name
Required
name
string
endpoint
Required
endpoint
string
bucket
Required
bucket
string
accessKey
Required
accessKey
array of
string
secretKey
Required
secretKey
string
region
Optional
region
string
thumbprint
Optional
thumbprint
boolean
templateStorage
Optional
templateStorage
Responses
201
Created
Returns
S3StorageDetailsDto
of type(s)
application/vnd.vmware.dms-v1+json
"S3StorageDetailsDto Object"
string As uuid
As uuid
id
Optional
id
string
name
Required
name
string
endpoint
Required
endpoint
string
bucket
Required
bucket
string
accessKey
Required
accessKey
array of
string
secretKey
Required
secretKey
string
region
Optional
region
string
thumbprint
Optional
thumbprint
boolean
templateStorage
Optional
templateStorage
400
Bad Request
Operation doesn't return any data structure
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"accessKey:"string","bucket:"string","endpoint:"string","name:"string","secretKey":["string"]}' https://{api_host}/provider/s3storages
Storage Information Operations
GET
Get S3 Storage
PUT
Update S3 Storage
DELETE
Remove S3 Storage
GET
List All S3 Storage
POST
Add S3 Storage
GET
Get Environment Storage Details