Show filter page
curl --request GET \
--url https://{host}/v1/filter-pages/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{host}/v1/filter-pages/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{host}/v1/filter-pages/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}import requests
url = "https://{host}/v1/filter-pages/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"type": "filter-pages",
"id": "812",
"attributes": {
"name": "Rolex Air-King",
"autocompleteName": "Air-King",
"title": "Pre-owned Rolex Air-King watches",
"subtitle": "Every Air-King on Wristler",
"breadcrumbTitle": "Air-King",
"slug": "rolex/air-king",
"locale": "en",
"url": "https://wristler.eu/watches/rolex/air-king",
"seoTitle": "Buy a pre-owned Rolex Air-King",
"seoDescription": "Certified pre-owned Rolex Air-King watches, with warranty.",
"robots": "index, follow",
"watchCount": 110,
"search": {
"words": null,
"filters": {
"brand": [
"Rolex"
],
"watchModel": [
"Air-King",
"Air-King Date"
]
}
},
"breadcrumbs": [
{
"name": "Home",
"url": "https://wristler.eu"
},
{
"name": "Rolex",
"url": "https://wristler.eu/watches/rolex"
},
{
"name": "Air-King",
"url": "https://wristler.eu/watches/rolex/air-king"
}
],
"blocks": [
{
"kind": "content",
"heading": "About the Air-King",
"title": "Built for pilots",
"body": "<p>Introduced in the 1940s…</p>"
},
{
"kind": "links",
"groups": [
{
"name": "Popular models",
"links": [
{
"title": "Submariner",
"url": "https://wristler.eu/watches/rolex/submariner"
}
]
}
]
}
]
},
"links": {
"self": "https://api.wristler.eu/v1/filter-pages/812"
}
}
}{
"errors": [
{
"status": "404",
"code": "watch_reserved",
"title": "Not Found",
"detail": "<string>",
"meta": {},
"source": {
"pointer": "/data/attributes/reference",
"parameter": "<string>"
}
}
],
"jsonapi": {
"version": "1.0"
}
}{
"errors": [
{
"status": "404",
"code": "watch_reserved",
"title": "Not Found",
"detail": "<string>",
"meta": {},
"source": {
"pointer": "/data/attributes/reference",
"parameter": "<string>"
}
}
],
"jsonapi": {
"version": "1.0"
}
}Content (Filter pages)
Show filter page
Scope: content:read
The page with its blocks and its breadcrumbs. A page still being written
answers 404.
GET
/
v1
/
filter-pages
/
{id}
Show filter page
curl --request GET \
--url https://{host}/v1/filter-pages/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{host}/v1/filter-pages/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{host}/v1/filter-pages/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}import requests
url = "https://{host}/v1/filter-pages/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": {
"type": "filter-pages",
"id": "812",
"attributes": {
"name": "Rolex Air-King",
"autocompleteName": "Air-King",
"title": "Pre-owned Rolex Air-King watches",
"subtitle": "Every Air-King on Wristler",
"breadcrumbTitle": "Air-King",
"slug": "rolex/air-king",
"locale": "en",
"url": "https://wristler.eu/watches/rolex/air-king",
"seoTitle": "Buy a pre-owned Rolex Air-King",
"seoDescription": "Certified pre-owned Rolex Air-King watches, with warranty.",
"robots": "index, follow",
"watchCount": 110,
"search": {
"words": null,
"filters": {
"brand": [
"Rolex"
],
"watchModel": [
"Air-King",
"Air-King Date"
]
}
},
"breadcrumbs": [
{
"name": "Home",
"url": "https://wristler.eu"
},
{
"name": "Rolex",
"url": "https://wristler.eu/watches/rolex"
},
{
"name": "Air-King",
"url": "https://wristler.eu/watches/rolex/air-king"
}
],
"blocks": [
{
"kind": "content",
"heading": "About the Air-King",
"title": "Built for pilots",
"body": "<p>Introduced in the 1940s…</p>"
},
{
"kind": "links",
"groups": [
{
"name": "Popular models",
"links": [
{
"title": "Submariner",
"url": "https://wristler.eu/watches/rolex/submariner"
}
]
}
]
}
]
},
"links": {
"self": "https://api.wristler.eu/v1/filter-pages/812"
}
}
}{
"errors": [
{
"status": "404",
"code": "watch_reserved",
"title": "Not Found",
"detail": "<string>",
"meta": {},
"source": {
"pointer": "/data/attributes/reference",
"parameter": "<string>"
}
}
],
"jsonapi": {
"version": "1.0"
}
}{
"errors": [
{
"status": "404",
"code": "watch_reserved",
"title": "Not Found",
"detail": "<string>",
"meta": {},
"source": {
"pointer": "/data/attributes/reference",
"parameter": "<string>"
}
}
],
"jsonapi": {
"version": "1.0"
}
}Authorizations
oauth2bearerAuth
Headers
The language to answer in: specificationLabels, translatedDescription, facet
and label names, the content pages, and every other translated word in the
answer. Read on every request, whatever the endpoint. One we do not have falls
back to English rather than failing.
Available options:
en, nl, de, es, fr, it, pt, fi, pl