-
Notifications
You must be signed in to change notification settings - Fork 0
s3 post create
Creates a new bucket via s3 on the cloud provider.
| Header | Value |
|---|---|
| content-type | application/json |
| Async | boolean |
NOTE: The async header is optional. If set to true,
the request will be processed asynchronously and the response will contain a poolingURL
with the URL to check the status of the request.
If set to false, the request will be processed synchronously and the response will contain the result of the request.
{
"client_uid": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"req": {
"name": "s3test",
"region": "eu-central-2"
}
}Type: string
Description:
The unique identifier of the client.
Type: object
Description:
The request object.
Attributes:
-
name:-
Type:
string - Description: The name of the bucket.
-
Type:
-
region:-
Type:
string - Description: The region of the bucket.
-
Type:
| Header | Value |
|---|---|
| content-type | application/json |
{
"id": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"name": "s3test",
"region": "eu-central-2",
"size": 1,
"client_uid": "ffffffff-ffff-ffff-ffff-ffffffffffff"
}Type: string
Description:
An uuid4 that identifies the bucket.
Type: string
Description:
The name of the bucket.
Type: string
Description:
The region of the bucket.
Type: integer
Description:
The size of the bucket in GB.
Type: string
Description:
The unique identifier of the client.
{
"service_id": "ffffffff-ffff-ffff-ffff-ffffffffffff",
"poolingURL": "https://<meson_ip>:7770/api/v1.0/running/<bucket_id>"
}Type: string
Description:
The unique identifier of the bucket on the cloud provider.
Type: string
Description:
The URL to check the status of the request.