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 'Accept: application/json'
Response
{
  "sshKeys": [
    {
      "comment": "string",
      "createTime": "string",
      "fingerprint": "string",
      "id": "string",
      "publicKey": "string",
      "type": "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 'Accept: application/json'
Response
{
  "pageSize": "integer",
  "pageToken": "string",
  "projects": [
    {
      "billingAccountId": "string",
      "createBy": "string",
      "id": "string",
      "resourceCount": "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 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
    "billingAccountId": "string",
    "id": "string"
}'
Response
{
  "billingAccountId": "string",
  "createBy": "string",
  "id": "string",
  "resourceCount": "integer"
}

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 'Accept: application/json'
Response
{
  "billingAccountId": "string",
  "createBy": "string",
  "id": "string",
  "resourceCount": "integer"
}

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

PATCH
/v1/projects/{project.id}

Update

Description for this endpoint is coming soon.

Body attributes

  • Name
    billingAccountId
    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 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
    "billingAccountId": "string"
}'
Response
{
  "billingAccountId": "string",
  "createBy": "string",
  "id": "string",
  "resourceCount": "integer"
}