DataCenters

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


GET/v1/data-centers

List

Description for this endpoint is coming soon.

Path attributes

  • Name
    pageToken
    Type
    string
    Description
  • Name
    pageSize
    Type
    integer
    Description

Request

GET
/v1/data-centers
curl 'https://rest.compute.cudo.org/v1/data-centers' \
-H 'Accept: application/json'

Response

{
    "dataCenters": "array",
    "pageSize": "integer",
    "pageToken": "string"
}

POST/v1/data-centers

Create

Description for this endpoint is coming soon.

Request

POST
/v1/data-centers
curl 'https://rest.compute.cudo.org/v1/data-centers' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
    "billingAccountId": "string",
    "createBy": "string",
    "id": "string",
    "lngLat": "object",
    "oneFrontendId": "string",
    "regionId": "string",
    "renewableEnergy": "boolean",
    "supplierName": "string"
}'

Response

{
    "billingAccountId": "string",
    "createBy": "string",
    "id": "string",
    "lngLat": "object",
    "oneFrontendId": "string",
    "regionId": "string",
    "renewableEnergy": "boolean",
    "supplierName": "string"
}

PATCH/v1/data-centers/{dataCenter.id}

Update

Description for this endpoint is coming soon.

Body attributes

  • Name
    billingAccountId
    Type
    string
    Description
  • Name
    createBy
    Type
    string
    Description
  • Name
    lngLat
    Type
    object
    Description
  • Name
    oneFrontendId
    Type
    string
    Description
  • Name
    regionId
    Type
    string
    Description
  • Name
    renewableEnergy
    Type
    boolean
    Description
  • Name
    supplierName
    Type
    string
    Description

Path attributes

  • Name
    dataCenter.id
    Type
    string
    Description

Request

PATCH
/v1/data-centers/{dataCenter.id}
curl 'https://rest.compute.cudo.org/v1/data-centers/{dataCenter.id}' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
    "billingAccountId": "string",
    "createBy": "string",
    "lngLat": "object",
    "oneFrontendId": "string",
    "regionId": "string",
    "renewableEnergy": "boolean",
    "supplierName": "string"
}'

Response

{
    "billingAccountId": "string",
    "createBy": "string",
    "id": "string",
    "lngLat": "object",
    "oneFrontendId": "string",
    "regionId": "string",
    "renewableEnergy": "boolean",
    "supplierName": "string"
}

GET/v1/data-centers/{dataCenterId}/clusters

ListClusters

Description for this endpoint is coming soon.

Path attributes

  • Name
    dataCenterId
    Type
    string
    Description

Request

GET
/v1/data-centers/{dataCenterId}/clusters
curl 'https://rest.compute.cudo.org/v1/data-centers/{dataCenterId}/clusters' \
-H 'Accept: application/json'

Response

{
    "clusters": "array"
}

GET/v1/data-centers/{dataCenterId}/host-count

CountHosts

Description for this endpoint is coming soon.

Path attributes

  • Name
    dataCenterId
    Type
    string
    Description

Request

GET
/v1/data-centers/{dataCenterId}/host-count
curl 'https://rest.compute.cudo.org/v1/data-centers/{dataCenterId}/host-count' \
-H 'Accept: application/json'

Response

{
    "count": "integer"
}

GET/v1/data-centers/{dataCenterId}/hosts

ListHosts

Description for this endpoint is coming soon.

Path attributes

  • Name
    dataCenterId
    Type
    string
    Description

Request

GET
/v1/data-centers/{dataCenterId}/hosts
curl 'https://rest.compute.cudo.org/v1/data-centers/{dataCenterId}/hosts' \
-H 'Accept: application/json'

Response

{
    "hosts": "array"
}

GET/v1/data-centers/{id}

Get

Description for this endpoint is coming soon.

Path attributes

  • Name
    id
    Type
    string
    Description

Request

GET
/v1/data-centers/{id}
curl 'https://rest.compute.cudo.org/v1/data-centers/{id}' \
-H 'Accept: application/json'

Response

{
    "billingAccountId": "string",
    "createBy": "string",
    "id": "string",
    "lngLat": "object",
    "oneFrontendId": "string",
    "regionId": "string",
    "renewableEnergy": "boolean",
    "supplierName": "string"
}

DELETE/v1/data-centers/{id}

Delete

Description for this endpoint is coming soon.

Path attributes

  • Name
    id
    Type
    string
    Description

Request

DELETE
/v1/data-centers/{id}
curl 'https://rest.compute.cudo.org/v1/data-centers/{id}' \
-H 'Accept: application/json'

GET/v1/data-centers/{id}/revenue

Get

Description for this endpoint is coming soon.

Path attributes

  • Name
    id
    Type
    string
    Description

Request

GET
/v1/data-centers/{id}/revenue
curl 'https://rest.compute.cudo.org/v1/data-centers/{id}/revenue' \
-H 'Accept: application/json'

Response

{
    "dataCenterRevenueHistory": "array"
}

GET/v1/data-centers/{id}/revenue-total

Get

Description for this endpoint is coming soon.

Path attributes

  • Name
    id
    Type
    string
    Description

Request

GET
/v1/data-centers/{id}/revenue-total
curl 'https://rest.compute.cudo.org/v1/data-centers/{id}/revenue-total' \
-H 'Accept: application/json'

Response

{
    "amountCollected": "object",
    "amountReceivable": "object",
    "amountUncollectible": "object"
}