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

client = Gcore(
    api_key="My API Key",
)
waap_detailed_domain = client.waap.domains.get(
    1,
)
print(waap_detailed_domain.id)
{
  "id": 123,
  "name": "<string>",
  "custom_page_set": 123,
  "status": "active",
  "created_at": "2023-11-07T05:31:56Z",
  "quotas": {
    "firewall-rules": {
      "allowed": 5,
      "current": 2
    }
  }
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

domain_id
integer
required

The domain ID

Required range: x > 0

Response

Successful Response

Represents a WAAP domain, serving as a singular unit within the WAAP service.

Each domain functions autonomously, possessing its own set of rules and configurations to manage web application firewall settings and behaviors.

id
integer
required

The domain ID

Required range: x > 0
name
string
required

The domain name

Maximum length: 255
custom_page_set
integer | null
required

The ID of the custom page set

status
enum<string>
required

The different statuses a domain can have

Available options:
active,
bypass,
monitor,
locked
created_at
string<date-time>
required

The date and time the domain was created in ISO 8601 format

quotas
object | null

Domain level quotas

Examples:
{
"firewall-rules": { "allowed": 5, "current": 2 }
}
{
"custom-rules": { "allowed": 10, "current": 1 }
}