Skip to main content
GET
/
projects
/
{slug}
/
computes
Get Project Compute Resources List
curl --request GET \
  --url https://relytone.data.cloud/api/v1/projects/{slug}/computes \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "slug": "<string>",
    "name": "<string>",
    "status": "READY",
    "cloudProvider": "aws",
    "instanceType": "<string>",
    "host": "<string>",
    "poolerHost": "<string>",
    "bizId": 123,
    "taskId": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "branchId": "<string>",
    "createUser": {
      "id": "<string>",
      "name": "<string>",
      "email": "<string>"
    }
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

slug
string
required

Project identifier

Query Parameters

compute
string

Compute resource identifier (optional, for getting specific compute resource)

Response

Successfully retrieved compute resources list

id
string

Compute resource unique identifier

slug
string

Compute resource identifier

name
string

Compute resource name

status
enum<string>

Compute resource status

Available options:
READY,
FROZEN,
CREATING,
PROVISIONING,
ERROR
cloudProvider
enum<string>

Cloud service provider

Available options:
aws,
gcp,
azure,
aliyun
instanceType
string

Instance type

host
string

Host address

poolerHost
string

Connection pool host address

bizId
integer

Business ID

taskId
string

Task ID

createdAt
string<date-time>

Creation time

updatedAt
string<date-time>

Update time

branchId
string

Parent branch ID

createUser
object
I