GET
/
cloud
/
v1
/
ddos
/
profiles
/
{project_id}
/
{region_id}
curl --request GET \
  --url https://api.gcore.com/cloud/v1/ddos/profiles/{project_id}/{region_id} \
  --header 'APIKey: <api-key>'
{
  "fields": [
    {
      "base_field": 123,
      "default": "<any>",
      "description": "<string>",
      "field_name": "<string>",
      "field_type": "<string>",
      "field_value": "<any>",
      "id": 123,
      "name": "<string>",
      "required": true,
      "validation_schema": "<any>",
      "value": "<string>"
    }
  ],
  "id": 123,
  "ip_address": "<string>",
  "options": {
    "active": true,
    "bgp": true
  },
  "profile_template": {
    "description": "description",
    "fields": [
      {
        "default": null,
        "description": "ARK server ports. Valid port values are in range 1000-65535",
        "field_type": null,
        "id": 11,
        "name": "ARK Ports",
        "required": true,
        "validation_schema": {
          "items": {
            "maximum": 65535,
            "minimum": 1000,
            "type": "integer"
          },
          "minItems": 1,
          "type": "array"
        }
      }
    ],
    "id": 123,
    "name": "ICMP port"
  },
  "protocols": [
    {
      "port": "<string>",
      "protocols": [
        {
          "additionalProp1": "string"
        }
      ]
    }
  ],
  "site": "<string>",
  "status": {
    "error_description": "",
    "status": "<string>"
  }
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

project_id
integer
required

Project ID

region_id
integer
required

Region ID

Response

200
application/json

List of active profiles

The response is of type object.