GET
/
waap
/
v1
/
domains
/
{domain_id}
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_detailed_domain = client.waap.domains.get(
    0,
)
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

APIKey
string
header
required

API key for authentication.

Path Parameters

domain_id
integer
required

The domain ID

Response

200
application/json

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.