Object Storage

These are the endpoints for Object Storage. More information coming soon.

POST
/v1/projects/{projectId}/object-storage/activate

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/activate
curl '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
/v1/projects/{projectId}/object-storage/buckets

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/buckets
curl '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
/v1/projects/{projectId}/object-storage/buckets/{id}

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
/v1/projects/{projectId}/object-storage/session-key

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-key
curl '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
/v1/projects/{projectId}/object-storage/users

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/users
curl '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
/v1/projects/{projectId}/object-storage/users

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/users
curl '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
/v1/projects/{projectId}/object-storage/users/{id}

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
/v1/projects/{projectId}/object-storage/users/{id}

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
/v1/projects/{projectId}/object-storage/users/{id}/keys

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}/keys
curl '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
/v1/projects/{projectId}/object-storage/users/{id}/keys/{accessKey}

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'