GET
/
waap
/
v1
/
domains
import os
from gcore import Gcore

client = Gcore(
    api_key=os.environ.get("GCORE_API_KEY"),  # This is the default and can be omitted
)
page = client.waap.domains.list()
page = page.results[0]
print(page.id)
{
  "limit": 123,
  "offset": 123,
  "count": 123,
  "results": [
    {
      "id": 123,
      "name": "<string>",
      "status": "active",
      "custom_page_set": 123,
      "created_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

APIKey
string
header
required

API key for authentication.

Query Parameters

ordering
enum<string>

Sort the response by given field.

Available options:
id,
name,
status,
created_at,
-id,
-name,
-status,
-created_at
limit
integer
default:100

Number of items to return

Required range: 0 <= x <= 100
offset
integer
default:0

Number of items to skip

Required range: 0 <= x <= 100000
status
enum<string>

Filter domains based on the domain status The different statuses a domain can have

Available options:
active,
bypass,
monitor,
locked
name
string

Filter domains based on the domain name. Supports '*' as a wildcard character

ids
integer[]

Filter domains based on their IDs

The domain ID

Response

200
application/json

Successful Response

The response is of type object.