Projects

These are the endpoints for Projects. More information coming soon.

GET
/v1/project/{projectId}/ssh-keys

List SSH keys

Description for this endpoint is coming soon.

Path attributes

  • Name
    projectId
    Type
    string
    Description
Request
GET
/v1/project/{projectId}/ssh-keys
curl 'https://rest.compute.cudo.org/v1/project/{projectId}/ssh-keys' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
Response
{
  "sshKeys": [
    {
      "id": "string",
      "createTime": "string",
      "publicKey": "string",
      "fingerprint": "string",
      "type": "string",
      "comment": "string"
    }
  ]
}

GET
/v1/projects

List

Description for this endpoint is coming soon.

Path attributes

  • Name
    pageToken
    Type
    string
    Description
  • Name
    pageSize
    Type
    integer
    Description
Request
GET
/v1/projects
curl 'https://rest.compute.cudo.org/v1/projects' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
Response
{
  "projects": [
    {
      "id": "string",
      "billingAccountId": "string",
      "resourceCount": "integer",
      "createBy": "string"
    }
  ],
  "pageToken": "string",
  "pageSize": "integer"
}

POST
/v1/projects

Create

Description for this endpoint is coming soon.

Request
POST
/v1/projects
curl 'https://rest.compute.cudo.org/v1/projects' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
    "id": "string",
    "billingAccountId": "string"
}'
Response
{
  "id": "string",
  "billingAccountId": "string",
  "resourceCount": "integer",
  "createBy": "string"
}

GET
/v1/projects/{id}

Get

Description for this endpoint is coming soon.

Path attributes

  • Name
    id
    Type
    string
    Description
Request
GET
/v1/projects/{id}
curl 'https://rest.compute.cudo.org/v1/projects/{id}' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
Response
{
  "id": "string",
  "billingAccountId": "string",
  "resourceCount": "integer",
  "createBy": "string"
}

DELETE
/v1/projects/{id}

Delete

Description for this endpoint is coming soon.

Path attributes

  • Name
    id
    Type
    string
    Description
Request
DELETE
/v1/projects/{id}
curl 'https://rest.compute.cudo.org/v1/projects/{id}' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
Response
{}

PATCH
/v1/projects/{project.id}

Update

Description for this endpoint is coming soon.

Body attributes

  • Name
    project
    Type
    object
    Description
  • Name
    updateMask
    Type
    string
    Description

Path attributes

  • Name
    project.id
    Type
    string
    Description
Request
PATCH
/v1/projects/{project.id}
curl 'https://rest.compute.cudo.org/v1/projects/{project.id}' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
    "project": "object",
    "updateMask": "string"
}'
Response
{
  "id": "string",
  "billingAccountId": "string",
  "resourceCount": "integer",
  "createBy": "string"
}