Networks
These are the endpoints for Networks. More information coming soon.
GET
List networks
Description for this endpoint is coming soon.
Path attributes
- Name
projectId
- Type
- string
- Description
- Name
pageNumber
- Type
- integer
- Description
- Name
pageSize
- Type
- integer
- Description
Request
GET
/v1/projects/{projectId}/networkscurl 'https://rest.compute.cudo.org/v1/projects/{projectId}/networks' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
Response
{
"networks": [
{
"id": "string",
"dataCenterId": "string",
"ipRange": "string",
"gateway": "string",
"size": "string",
"priceHr": {
"value": "string"
},
"externalIpAddress": "string",
"internalIpAddress": "string",
"shortState": "string",
"state": "string",
"createTime": "string"
}
],
"totalCount": "integer",
"pageNumber": "integer",
"pageSize": "integer"
}
POST
Create network
Description for this endpoint is coming soon.
Body attributes
- Name
dataCenterId
- Type
- string
- Description
- Name
id
- Type
- string
- Description
- Name
cidrPrefix
- Type
- string
- Description
- Name
vrouterSize
- Type
- string
- Description
Path attributes
- Name
projectId
- Type
- string
- Description
Request
POST
/v1/projects/{projectId}/networkscurl 'https://rest.compute.cudo.org/v1/projects/{projectId}/networks' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dataCenterId": "string",
"id": "string",
"cidrPrefix": "string",
"vrouterSize": "string"
}'
GET
List security groups
Description for this endpoint is coming soon.
Path attributes
- Name
projectId
- Type
- string
- Description
- Name
dataCenterId
- Type
- string
- Description
- Name
pageNumber
- Type
- integer
- Description
- Name
pageSize
- Type
- integer
- Description
Request
GET
/v1/projects/{projectId}/networks/security-groupscurl 'https://rest.compute.cudo.org/v1/projects/{projectId}/networks/security-groups' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
Response
{
"securityGroups": [
{
"projectId": "string",
"dataCenterId": "string",
"id": "string",
"description": "string",
"rules": [
{
"id": "string",
"protocol": "string",
"ports": "string",
"ruleType": "string",
"ipRangeCidr": "string",
"icmpType": "string"
}
]
}
],
"totalCount": "integer",
"pageNumber": "integer",
"pageSize": "integer"
}
GET
Get a security group
Description for this endpoint is coming soon.
Path attributes
- Name
projectId
- Type
- string
- Description
- Name
id
- Type
- string
- Description
Request
GET
/v1/projects/{projectId}/networks/security-groups/{id}curl 'https://rest.compute.cudo.org/v1/projects/{projectId}/networks/security-groups/{id}' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
Response
{
"securityGroup": {
"projectId": "string",
"dataCenterId": "string",
"id": "string",
"description": "string",
"rules": [
{
"id": "string",
"protocol": "string",
"ports": "string",
"ruleType": "string",
"ipRangeCidr": "string",
"icmpType": "string"
}
]
}
}
DELETE
Delete security group
Description for this endpoint is coming soon.
Path attributes
- Name
projectId
- Type
- string
- Description
- Name
id
- Type
- string
- Description
Request
DELETE
/v1/projects/{projectId}/networks/security-groups/{id}curl 'https://rest.compute.cudo.org/v1/projects/{projectId}/networks/security-groups/{id}' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
GET
Get network
Description for this endpoint is coming soon.
Path attributes
- Name
projectId
- Type
- string
- Description
- Name
id
- Type
- string
- Description
Request
GET
/v1/projects/{projectId}/networks/{id}curl 'https://rest.compute.cudo.org/v1/projects/{projectId}/networks/{id}' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
Response
{
"network": {
"id": "string",
"dataCenterId": "string",
"ipRange": "string",
"gateway": "string",
"size": "string",
"priceHr": {
"value": "string"
},
"externalIpAddress": "string",
"internalIpAddress": "string",
"shortState": "string",
"state": "string",
"createTime": "string"
}
}
DELETE
Delete network
Description for this endpoint is coming soon.
Path attributes
- Name
projectId
- Type
- string
- Description
- Name
id
- Type
- string
- Description
Request
DELETE
/v1/projects/{projectId}/networks/{id}curl 'https://rest.compute.cudo.org/v1/projects/{projectId}/networks/{id}' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
POST
Start network
Description for this endpoint is coming soon.
Path attributes
- Name
projectId
- Type
- string
- Description
- Name
id
- Type
- string
- Description
Request
POST
/v1/projects/{projectId}/networks/{id}/startcurl 'https://rest.compute.cudo.org/v1/projects/{projectId}/networks/{id}/start' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
POST
Stop network
Description for this endpoint is coming soon.
Path attributes
- Name
projectId
- Type
- string
- Description
- Name
id
- Type
- string
- Description
Request
POST
/v1/projects/{projectId}/networks/{id}/stopcurl 'https://rest.compute.cudo.org/v1/projects/{projectId}/networks/{id}/stop' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Accept: application/json'
POST
Create security group
Description for this endpoint is coming soon.
Body attributes
- Name
dataCenterId
- Type
- string
- Description
- Name
id
- Type
- string
- Description
- Name
description
- Type
- string
- Description
- Name
rules
- Type
- array
- Description
Path attributes
- Name
securityGroup.projectId
- Type
- string
- Description
Request
POST
/v1/projects/{securityGroup.projectId}/networks/security-groupscurl 'https://rest.compute.cudo.org/v1/projects/{securityGroup.projectId}/networks/security-groups' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dataCenterId": "string",
"id": "string",
"description": "string",
"rules": "array"
}'
Response
{
"securityGroup": {
"projectId": "string",
"dataCenterId": "string",
"id": "string",
"description": "string",
"rules": [
{
"id": "string",
"protocol": "string",
"ports": "string",
"ruleType": "string",
"ipRangeCidr": "string",
"icmpType": "string"
}
]
}
}
PATCH
Update security group
Description for this endpoint is coming soon.
Body attributes
- Name
dataCenterId
- Type
- string
- Description
- Name
description
- Type
- string
- Description
- Name
rules
- Type
- array
- Description
Path attributes
- Name
securityGroup.projectId
- Type
- string
- Description
- Name
securityGroup.id
- Type
- string
- Description
Request
PATCH
/v1/projects/{securityGroup.projectId}/networks/security-groups/{securityGroup.id}curl 'https://rest.compute.cudo.org/v1/projects/{securityGroup.projectId}/networks/security-groups/{securityGroup.id}' \
-H 'Authorization: bearer <YOUR-API-KEY>'\
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dataCenterId": "string",
"description": "string",
"rules": "array"
}'
Response
{
"securityGroup": {
"projectId": "string",
"dataCenterId": "string",
"id": "string",
"description": "string",
"rules": [
{
"id": "string",
"protocol": "string",
"ports": "string",
"ruleType": "string",
"ipRangeCidr": "string",
"icmpType": "string"
}
]
}
}