from gcore import Gcore
client = Gcore(
api_key="My API Key",
)
waap_custom_page_set = client.waap.custom_page_sets.get(
0,
)
print(waap_custom_page_set.id)
{
"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
}
Retrieve a custom page set based on the provided ID
from gcore import Gcore
client = Gcore(
api_key="My API Key",
)
waap_custom_page_set = client.waap.custom_page_sets.get(
0,
)
print(waap_custom_page_set.id)
{
"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
}
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
The ID of the custom page set
Successful Response
The response is of type object
.
Was this page helpful?