GET
/
waap
/
v1
/
custom-page-sets
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.custom_page_sets.list()
page = page.results[0]
print(page.id)
{
  "limit": 123,
  "offset": 123,
  "count": 123,
  "results": [
    {
      "domains": [
        123
      ],
      "block": {
        "logo": "<string>",
        "header": "<string>",
        "title": "<string>",
        "text": "<string>",
        "enabled": true
      },
      "block_csrf": {
        "logo": "<string>",
        "header": "<string>",
        "title": "<string>",
        "text": "<string>",
        "enabled": true
      },
      "captcha": {
        "logo": "<string>",
        "header": "<string>",
        "title": "<string>",
        "text": "<string>",
        "error": "<string>",
        "enabled": true
      },
      "cookie_disabled": {
        "header": "<string>",
        "text": "<string>",
        "enabled": true
      },
      "handshake": {
        "logo": "<string>",
        "header": "<string>",
        "title": "<string>",
        "enabled": true
      },
      "javascript_disabled": {
        "header": "<string>",
        "text": "<string>",
        "enabled": true
      },
      "name": "<string>",
      "id": 123
    }
  ]
}

Authorizations

APIKey
string
header
required

API key for authentication.

Query Parameters

ordering
enum<string>

Sort the response by given field.

Available options:
name,
-name,
id,
-id
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
name
string

Filter page sets based on their name. Supports '*' as a wildcard character

ids
integer[]

Filter page sets based on their IDs

Response

200
application/json

Successful Response

The response is of type object.