Networks

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


GET/v1/projects/{projectId}/networks

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}/networks
curl 'https://rest.compute.cudo.org/v1/projects/{projectId}/networks' \
-H 'Accept: application/json'

Response

{
    "networks": "array",
    "pageNumber": "integer",
    "pageSize": "integer",
    "totalCount": "integer"
}

POST/v1/projects/{projectId}/networks

Create network

Description for this endpoint is coming soon.

Body attributes

  • Name
    cidrPrefix
    Type
    string
    Description
  • Name
    dataCenterId
    Type
    string
    Description
  • Name
    networkId
    Type
    string
    Description
  • Name
    vrouterSize
    Type
    string
    Description

Path attributes

  • Name
    projectId
    Type
    string
    Description

Request

POST
/v1/projects/{projectId}/networks
curl 'https://rest.compute.cudo.org/v1/projects/{projectId}/networks' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
    "cidrPrefix": "string",
    "dataCenterId": "string",
    "networkId": "string",
    "vrouterSize": "string"
}'

GET/v1/projects/{projectId}/networks/security-groups

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-groups
curl 'https://rest.compute.cudo.org/v1/projects/{projectId}/networks/security-groups' \
-H 'Accept: application/json'

Response

{
    "pageNumber": "integer",
    "pageSize": "integer",
    "securityGroups": "array",
    "totalCount": "integer"
}

GET/v1/projects/{projectId}/networks/security-groups/{id}

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 'Accept: application/json'

Response

{
    "securityGroup": "object"
}

DELETE/v1/projects/{projectId}/networks/security-groups/{id}

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 'Accept: application/json'

GET/v1/projects/{projectId}/networks/{id}

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 'Accept: application/json'

Response

{
    "network": "object"
}

DELETE/v1/projects/{projectId}/networks/{networkId}

Delete network

Description for this endpoint is coming soon.

Path attributes

  • Name
    projectId
    Type
    string
    Description
  • Name
    networkId
    Type
    string
    Description

Request

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

POST/v1/projects/{securityGroup.projectId}/networks/security-groups

Create security group

Description for this endpoint is coming soon.

Body attributes

  • Name
    securityGroup
    Type
    object
    Description

Path attributes

  • Name
    securityGroup.projectId
    Type
    string
    Description

Request

POST
/v1/projects/{securityGroup.projectId}/networks/security-groups
curl 'https://rest.compute.cudo.org/v1/projects/{securityGroup.projectId}/networks/security-groups' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
    "securityGroup": "object"
}'

Response

{
    "securityGroup": "object"
}

PATCH/v1/projects/{securityGroup.projectId}/networks/security-groups/{securityGroup.id}

Update security group

Description for this endpoint is coming soon.

Body attributes

  • Name
    securityGroup
    Type
    object
    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 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
    "securityGroup": "object"
}'

Response

{
    "securityGroup": "object"
}