Virtual machines

These are the endpoints for Virtual machines. More information coming soon.


GET/v1/projects/{projectId}/instance-count

Count

Description for this endpoint is coming soon.

Path attributes

  • Name
    projectId
    Type
    string
    Description

Request

GET
/v1/projects/{projectId}/instance-count
curl 'https://rest.compute.cudo.org/v1/projects/{projectId}/instance-count' \
-H 'Accept: application/json'

Response

{
    "count": "integer"
}

GET/v1/projects/{projectId}/instances

List

Description for this endpoint is coming soon.

Path attributes

  • Name
    projectId
    Type
    string
    Description
  • Name
    status
    Type
    string
    Description

Request

GET
/v1/projects/{projectId}/instances
curl 'https://rest.compute.cudo.org/v1/projects/{projectId}/instances' \
-H 'Accept: application/json'

Response

{
    "instances": "array"
}

GET/v1/projects/{projectId}/instances/{instanceId}

Get

Description for this endpoint is coming soon.

Path attributes

  • Name
    projectId
    Type
    string
    Description
  • Name
    instanceId
    Type
    string
    Description

Request

GET
/v1/projects/{projectId}/instances/{instanceId}
curl 'https://rest.compute.cudo.org/v1/projects/{projectId}/instances/{instanceId}' \
-H 'Accept: application/json'

Response

{
    "compute": "object"
}

GET/v1/projects/{projectId}/instances/{instanceId}/monitor

Monitor

Description for this endpoint is coming soon.

Path attributes

  • Name
    projectId
    Type
    string
    Description
  • Name
    instanceId
    Type
    string
    Description

Request

GET
/v1/projects/{projectId}/instances/{instanceId}/monitor
curl 'https://rest.compute.cudo.org/v1/projects/{projectId}/instances/{instanceId}/monitor' \
-H 'Accept: application/json'

Response

{
    "items": "array"
}

PUT/v1/projects/{projectId}/instances/{instanceId}/reboot

Reboot

Description for this endpoint is coming soon.

Path attributes

  • Name
    projectId
    Type
    string
    Description
  • Name
    instanceId
    Type
    string
    Description

Request

PUT
/v1/projects/{projectId}/instances/{instanceId}/reboot
curl 'https://rest.compute.cudo.org/v1/projects/{projectId}/instances/{instanceId}/reboot' \
-H 'Accept: application/json'

Response

{
    "compute": "object"
}

POST/v1/projects/{projectId}/instances/{instanceId}/start

Start

Description for this endpoint is coming soon.

Path attributes

  • Name
    projectId
    Type
    string
    Description
  • Name
    instanceId
    Type
    string
    Description

Request

POST
/v1/projects/{projectId}/instances/{instanceId}/start
curl 'https://rest.compute.cudo.org/v1/projects/{projectId}/instances/{instanceId}/start' \
-H 'Accept: application/json'

POST/v1/projects/{projectId}/instances/{instanceId}/stop

Stop

Description for this endpoint is coming soon.

Path attributes

  • Name
    projectId
    Type
    string
    Description
  • Name
    instanceId
    Type
    string
    Description

Request

POST
/v1/projects/{projectId}/instances/{instanceId}/stop
curl 'https://rest.compute.cudo.org/v1/projects/{projectId}/instances/{instanceId}/stop' \
-H 'Accept: application/json'

POST/v1/projects/{projectId}/instances/{instanceId}/terminate

Terminate

Description for this endpoint is coming soon.

Path attributes

  • Name
    projectId
    Type
    string
    Description
  • Name
    instanceId
    Type
    string
    Description

Request

POST
/v1/projects/{projectId}/instances/{instanceId}/terminate
curl 'https://rest.compute.cudo.org/v1/projects/{projectId}/instances/{instanceId}/terminate' \
-H 'Accept: application/json'

GET/v1/projects/{projectId}/instances/{instanceId}/vnc

VNC

Description for this endpoint is coming soon.

Path attributes

  • Name
    projectId
    Type
    string
    Description
  • Name
    instanceId
    Type
    string
    Description
  • Name
    connectionId
    Type
    string
    Description

Request

GET
/v1/projects/{projectId}/instances/{instanceId}/vnc
curl 'https://rest.compute.cudo.org/v1/projects/{projectId}/instances/{instanceId}/vnc' \
-H 'Accept: application/json'

Response

{
    "connectUrl": "string",
    "token": "string"
}