Projects
These are the endpoints for Projects. More information coming soon.
GET
List SSH keys
Request
GET
/v1/project/{projectId}/ssh-keyscurl '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
List
Description for this endpoint is coming soon.
Path attributes
- Name
pageToken
- Type
- string
- Description
- Name
pageSize
- Type
- integer
- Description
Request
GET
/v1/projectscurl '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
Create
Description for this endpoint is coming soon.
Request
POST
/v1/projectscurl '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
Get
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
Delete
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
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"
}