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 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
    "dataCenterId": "string"
}'

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 'Accept: application/json'

Response

{
    "buckets": [
        {
            "billableBytes": "string",
            "dataCenterId": "string",
            "endpoint": "string",
            "id": "string",
            "objectCount": "string",
            "projectId": "string",
            "sizeBytes": "string"
        }
    ],
    "pageNumber": "integer",
    "pageSize": "integer",
    "totalCount": "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 'Accept: application/json'

Response

{
    "billableBytes": "string",
    "dataCenterId": "string",
    "endpoint": "string",
    "id": "string",
    "objectCount": "string",
    "projectId": "string",
    "sizeBytes": "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 'Accept: application/json'

Response

{
    "accessKey": "string",
    "endpoint": "string",
    "secretKey": "string",
    "sessionName": "string",
    "sessionToken": "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 'Accept: application/json'

Response

{
    "pageNumber": "integer",
    "pageSize": "integer",
    "totalCount": "integer",
    "users": [
        {
            "createBy": "string",
            "createTime": "string",
            "id": "string",
            "keyCount": "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 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
    "id": "string"
}'

Response

{
    "createBy": "string",
    "createTime": "string",
    "id": "string",
    "keyCount": "integer"
}

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 'Accept: application/json'

Response

{
    "accessKey": "string",
    "createBy": "string",
    "createTime": "string",
    "id": "string",
    "secretKey": "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 'Accept: application/json'

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 'Accept: application/json'

Response

{
    "keys": [
        {
            "accessKey": "string",
            "createBy": "string",
            "createTime": "string",
            "id": "string",
            "secretKey": "string"
        }
    ],
    "pageNumber": "integer",
    "pageSize": "integer",
    "totalCount": "integer"
}

POST/v1/projects/{projectId}/object-storage/users/{id}/keys

Delete object storage user

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

POST
/v1/projects/{projectId}/object-storage/users/{id}/keys
curl 'https://rest.compute.cudo.org/v1/projects/{projectId}/object-storage/users/{id}/keys' \
-H 'Accept: application/json'