Object Storage
These are the endpoints for Object Storage. More information coming soon.
POST
Allow the use of S3 compatible storage in a project
Description for this endpoint is coming soon.
Body attributes
- Name
dataCenterId
- Type
- string
- Description
Path attributes
- Name
projectId
- Type
- string
- Description
Request
POST
/v1/projects/{projectId}/object-storage/activatecurl 'https://rest.compute.cudo.org/v1/projects/{projectId}/object-storage/activate' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dataCenterId": "string"
}'
Response
{}
GET
List buckets
Description for this endpoint is coming soon.
Path attributes
- Name
projectId
- Type
- string
- Description
- Name
pageNumber
- Type
- integer
- Description
- Name
pageSize
- Type
- integer
- Description
Request
GET
/v1/projects/{projectId}/object-storage/bucketscurl 'https://rest.compute.cudo.org/v1/projects/{projectId}/object-storage/buckets' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
Response
{
"buckets": [
{
"projectId": "string",
"id": "string",
"dataCenterId": "string",
"endpoint": "string",
"objectCount": "string",
"sizeBytes": "string",
"billableBytes": "string"
}
],
"totalCount": "integer",
"pageNumber": "integer",
"pageSize": "integer"
}
GET
Get details for a bucket
Description for this endpoint is coming soon.
Path attributes
- Name
projectId
- Type
- string
- Description
- Name
id
- Type
- string
- Description
Request
GET
/v1/projects/{projectId}/object-storage/buckets/{id}curl 'https://rest.compute.cudo.org/v1/projects/{projectId}/object-storage/buckets/{id}' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
Response
{
"projectId": "string",
"id": "string",
"dataCenterId": "string",
"endpoint": "string",
"objectCount": "string",
"sizeBytes": "string",
"billableBytes": "string"
}
GET
Generate temporary key for storage bucket access
Description for this endpoint is coming soon.
Path attributes
- Name
projectId
- Type
- string
- Description
- Name
dataCenterId
- Type
- string
- Description
Request
GET
/v1/projects/{projectId}/object-storage/session-keycurl 'https://rest.compute.cudo.org/v1/projects/{projectId}/object-storage/session-key' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
Response
{
"sessionName": "string",
"accessKey": "string",
"secretKey": "string",
"sessionToken": "string",
"endpoint": "string"
}
GET
List storage users
Description for this endpoint is coming soon.
Path attributes
- Name
projectId
- Type
- string
- Description
- Name
pageNumber
- Type
- integer
- Description
- Name
pageSize
- Type
- integer
- Description
Request
GET
/v1/projects/{projectId}/object-storage/userscurl 'https://rest.compute.cudo.org/v1/projects/{projectId}/object-storage/users' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
Response
{
"users": [
{
"id": "string",
"keyCount": "integer",
"createBy": "string",
"createTime": "string"
}
],
"totalCount": "integer",
"pageNumber": "integer",
"pageSize": "integer"
}
POST
Create user that stores keys for storage buckets
Description for this endpoint is coming soon.
Body attributes
- Name
id
- Type
- string
- Description
Path attributes
- Name
projectId
- Type
- string
- Description
Request
POST
/v1/projects/{projectId}/object-storage/userscurl 'https://rest.compute.cudo.org/v1/projects/{projectId}/object-storage/users' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"id": "string"
}'
Response
{
"id": "string",
"keyCount": "integer",
"createBy": "string",
"createTime": "string"
}
DELETE
Delete object storage user
Description for this endpoint is coming soon.
Path attributes
- Name
projectId
- Type
- string
- Description
- Name
id
- Type
- string
- Description
Request
DELETE
/v1/projects/{projectId}/object-storage/users/{id}curl 'https://rest.compute.cudo.org/v1/projects/{projectId}/object-storage/users/{id}' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
POST
Generate access key for storage buckets
Description for this endpoint is coming soon.
Path attributes
- Name
projectId
- Type
- string
- Description
- Name
id
- Type
- string
- Description
Request
POST
/v1/projects/{projectId}/object-storage/users/{id}curl 'https://rest.compute.cudo.org/v1/projects/{projectId}/object-storage/users/{id}' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
Response
{
"id": "string",
"accessKey": "string",
"secretKey": "string",
"createBy": "string",
"createTime": "string"
}
GET
List storage user keys
Description for this endpoint is coming soon.
Path attributes
- Name
projectId
- Type
- string
- Description
- Name
id
- Type
- string
- Description
- Name
pageNumber
- Type
- integer
- Description
- Name
pageSize
- Type
- integer
- Description
Request
GET
/v1/projects/{projectId}/object-storage/users/{id}/keyscurl 'https://rest.compute.cudo.org/v1/projects/{projectId}/object-storage/users/{id}/keys' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
Response
{
"keys": [
{
"id": "string",
"accessKey": "string",
"secretKey": "string",
"createBy": "string",
"createTime": "string"
}
],
"totalCount": "integer",
"pageNumber": "integer",
"pageSize": "integer"
}
DELETE
Delete object storage user key
Description for this endpoint is coming soon.
Path attributes
- Name
projectId
- Type
- string
- Description
- Name
id
- Type
- string
- Description
- Name
accessKey
- Type
- string
- Description
Request
DELETE
/v1/projects/{projectId}/object-storage/users/{id}/keys/{accessKey}curl 'https://rest.compute.cudo.org/v1/projects/{projectId}/object-storage/users/{id}/keys/{accessKey}' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'