GET
/
waap
/
v1
/
domains
/
{domain_id}
/
settings
import os
from gcore import Gcore

client = Gcore(
    api_key=os.environ.get("GCORE_API_KEY"),  # This is the default and can be omitted
)
waap_domain_settings = client.waap.domains.settings.get(
    0,
)
print(waap_domain_settings.api)
{
  "ddos": {
    "global_threshold": 25125,
    "burst_threshold": 5015,
    "sub_second_threshold": 512
  },
  "api": {
    "is_api": false,
    "api_urls": [
      "api/v1/.*",
      "v2/.*"
    ]
  }
}

Authorizations

APIKey
string
header
required

API key for authentication.

Path Parameters

domain_id
integer
required

The domain ID

Response

200
application/json

Successful Response

Settings for a domain.