Download OpenAPI specification:
Public facing Render Graph API for building pages
Health check information for the Render Graph service
{- "data": {
- "status": "pass",
- "version": "1.0",
- "releaseId": "1234567890",
- "service": "inventory",
- "details": {
- "time": "2023-11-15T12:19:05.737Z",
- "env": "dev",
- "commitId": "368de0fbdff3a5634895d69f8b17cbdfd5e77bfb"
}
}
}Retrieve a render graph page for a give site, locale and URL
| siteKey required | string The key of the site for delivery options |
| locale required | string The ISO locale code |
| url required | string The url of page to retrieve |
{- "data": {
- "urlInfo": {
- "canonical": "string",
- "hreflang": "string",
- "siteKey": "string",
- "locale": "string",
- "alternate": [
- {
- "href": "string",
- "hreflang": "string",
- "siteKey": "string",
- "locale": "string",
- "include": true
}
]
}, - "page": {
- "_type": "string",
- "_meta": {
- "id": "string",
- "key": "string"
}, - "summary": {
- "title": "string",
- "description": "string"
}, - "crumbtrial": {
- "hide": true,
- "items": [
- {
- "title": "string",
- "url": "string"
}
]
}, - "seo": {
- "title": "string",
- "metaDescription": "string",
- "noFollow": true,
- "noIndex": true,
- "openGraphMetaImage": {
- "url": "string",
- "title": "string",
- "_type": "Image"
}
}, - "componentTop": {
- "_type": "string",
- "property1": null,
- "property2": null
}, - "componentsMain": [
- {
- "_type": "string",
- "property1": null,
- "property2": null
}
], - "componentBottom": {
- "_type": "string",
- "property1": null,
- "property2": null
}
}
}, - "context": {
- "siteKey": "specsavers-gb",
- "build": {
- "env": "dev",
- "releaseId": "911",
- "commitId": "3d13f3c6c4f017d66d2a9c16c566ffb11f05f32c"
}
}, - "metrics": {
- "durationMs": 0
}
}Retrieve a component for a give site and locale by ID
| siteKey required | string The key of the site for delivery options |
| locale required | string The ISO locale code |
| id required | string The resource id |
{- "data": {
- "page": {
- "_type": "string",
- "_meta": {
- "id": "string",
- "key": "string"
}, - "summary": {
- "title": "string",
- "description": "string"
}, - "crumbtrial": {
- "hide": true,
- "items": [
- {
- "title": "string",
- "url": "string"
}
]
}, - "seo": {
- "title": "string",
- "metaDescription": "string",
- "noFollow": true,
- "noIndex": true,
- "openGraphMetaImage": {
- "url": "string",
- "title": "string",
- "_type": "Image"
}
}, - "componentTop": {
- "_type": "string",
- "property1": null,
- "property2": null
}, - "componentsMain": [
- {
- "_type": "string",
- "property1": null,
- "property2": null
}
], - "componentBottom": {
- "_type": "string",
- "property1": null,
- "property2": null
}
}, - "urlInfo": {
- "canonical": "string",
- "hreflang": "string",
- "siteKey": "string",
- "locale": "string",
- "alternate": [
- {
- "hreflang": "string",
- "href": "string",
- "siteKey": "string",
- "locale": "string",
- "include": true
}
]
}, - "asset": {
- "type": "string",
- "key": "string"
}
}, - "context": {
- "siteKey": "specsavers-gb",
- "build": {
- "env": "dev",
- "releaseId": "911",
- "commitId": "3d13f3c6c4f017d66d2a9c16c566ffb11f05f32c"
}
}, - "metrics": {
- "durationMs": 0
}
}Retrieves a site asset for the given site key and locale
| siteKey required | string The key of the site for delivery options |
| locale required | string The ISO locale code |
{- "data": {
- "key": "string",
- "name": "string",
- "shorthand": "string",
- "currencies": {
- "default": "string"
}, - "locales": [
- {
- "code": "string",
- "prefix": "string",
- "isDefault": true
}
], - "opticalRanges": {
- "sphere": [
- "string"
], - "cylinder": [
- "string"
], - "add": [
- "string"
]
}, - "readingGlassesLimits": {
- "maxSphere": 0,
- "maxSum": 0,
- "maxSphereDifference": 0,
- "acceptableSphereValues": [
- "string"
], - "acceptableCylinderValues": [
- "string"
]
}, - "distanceGlassesLimits": {
- "maxSphere": 0,
- "maxSum": 0,
- "maxSphereDifference": 0,
- "acceptableSphereValues": [
- "string"
], - "acceptableCylinderValues": [
- "string"
]
}, - "planoPrescriptionValidation": {
- "enabled": true,
- "threshold": 0
}, - "noFramePrescriptionRequired": true,
- "prescriptionConfig": {
- "internal": {
- "dateFormat": "string",
- "validateDate": true,
- "confirmValidSchema": true,
- "confirmValidSchemaRequired": true
}, - "external": {
- "dateFormat": "string",
- "validateDate": true,
- "confirmValidSchema": true,
- "confirmValidSchemaRequired": true
}
}, - "components": {
- "header": {
- "default": {
- "_type": "string",
- "property1": null,
- "property2": null
}, - "checkout": {
- "_type": "string",
- "property1": null,
- "property2": null
}
}, - "footer": {
- "default": {
- "_type": "string",
- "property1": null,
- "property2": null
}
}, - "emptyBasketActionCards": [
- {
- "_type": "string",
- "property1": null,
- "property2": null
}
], - "helpPrescriptionModal": {
- "default": {
- "_type": "string",
- "property1": null,
- "property2": null
}
}, - "helpSunProtectionModal": {
- "default": {
- "_type": "string",
- "property1": null,
- "property2": null
}
}, - "helpLensThicknessModal": {
- "default": {
- "_type": "string",
- "property1": null,
- "property2": null
}
}, - "helpLensExtrasModal": {
- "default": {
- "_type": "string",
- "property1": null,
- "property2": null
}
}, - "helpAddModal": {
- "default": {
- "_type": "string",
- "property1": null,
- "property2": null
}
}, - "helpLensTypeModal": {
- "default": {
- "_type": "string",
- "property1": null,
- "property2": null
}
}, - "cartTwoForOnePromoBanner": {
- "_type": "string",
- "property1": null,
- "property2": null
}, - "subscriptionCardBenefits": [
- {
- "title": "string",
- "body": "string",
- "linkText": "string",
- "linkTarget": {
- "_type": "string",
- "_meta": {
- "key": "string",
- "id": "string"
}, - "label": "string",
- "target": {
- "type": "content-page",
- "value": "string"
}, - "noFollow": true,
- "newWindow": true,
- "url": "string"
}, - "icon": "string"
}
], - "subscriptionModalBenefits": [
- {
- "title": "string",
- "body": "string",
- "linkText": "string",
- "linkTarget": {
- "_type": "string",
- "_meta": {
- "key": "string",
- "id": "string"
}, - "label": "string",
- "target": {
- "type": "content-page",
- "value": "string"
}, - "noFollow": true,
- "newWindow": true,
- "url": "string"
}, - "icon": "string"
}
], - "noResultsPageGallery": {
- "_type": "string",
- "property1": null,
- "property2": null
}, - "notFoundPage": [
- {
- "_type": "string",
- "property1": null,
- "property2": null
}
], - "cardRetentionPolicy": {
- "_type": "string",
- "property1": null,
- "property2": null
}
}, - "deliveryCountryCodes": [
- "string"
], - "titleSuffix": "string",
- "subscriptionDetailText": "string",
- "enableAnnualOverview": true,
- "paymentMethods": [
- "string"
], - "externalUrls": {
- "bookAppointment": "string",
- "storeFinder": "string"
}, - "internalUrls": {
- "termsAndConditions": {
- "_type": "string",
- "_meta": {
- "key": "string",
- "id": "string"
}, - "label": "string",
- "target": {
- "type": "content-page",
- "value": "string"
}, - "noFollow": true,
- "newWindow": true,
- "url": "string"
}, - "privacyPolicy": {
- "_type": "string",
- "_meta": {
- "key": "string",
- "id": "string"
}, - "label": "string",
- "target": {
- "type": "content-page",
- "value": "string"
}, - "noFollow": true,
- "newWindow": true,
- "url": "string"
}, - "deliveryPolicy": {
- "_type": "string",
- "_meta": {
- "key": "string",
- "id": "string"
}, - "label": "string",
- "target": {
- "type": "content-page",
- "value": "string"
}, - "noFollow": true,
- "newWindow": true,
- "url": "string"
}, - "returnsPolicy": {
- "_type": "string",
- "_meta": {
- "key": "string",
- "id": "string"
}, - "label": "string",
- "target": {
- "type": "content-page",
- "value": "string"
}, - "noFollow": true,
- "newWindow": true,
- "url": "string"
}, - "offersLegal": {
- "_type": "string",
- "_meta": {
- "key": "string",
- "id": "string"
}, - "label": "string",
- "target": {
- "type": "content-page",
- "value": "string"
}, - "noFollow": true,
- "newWindow": true,
- "url": "string"
}, - "faqHub": {
- "_type": "string",
- "_meta": {
- "key": "string",
- "id": "string"
}, - "label": "string",
- "target": {
- "type": "content-page",
- "value": "string"
}, - "noFollow": true,
- "newWindow": true,
- "url": "string"
}, - "glassesCategory": {
- "_type": "string",
- "_meta": {
- "key": "string",
- "id": "string"
}, - "label": "string",
- "target": {
- "type": "content-page",
- "value": "string"
}, - "noFollow": true,
- "newWindow": true,
- "url": "string"
}, - "contactLensCategory": {
- "_type": "string",
- "_meta": {
- "key": "string",
- "id": "string"
}, - "label": "string",
- "target": {
- "type": "content-page",
- "value": "string"
}, - "noFollow": true,
- "newWindow": true,
- "url": "string"
}, - "contactUs": {
- "_type": "string",
- "_meta": {
- "key": "string",
- "id": "string"
}, - "label": "string",
- "target": {
- "type": "content-page",
- "value": "string"
}, - "noFollow": true,
- "newWindow": true,
- "url": "string"
}
}, - "contact": {
- "email": "string",
- "phone": "string"
}, - "productColors": [
- { }
], - "subscriptions": {
- "enabled": true,
- "supportedPlanTypes": [
- "string"
], - "isSubscriptionDefaultOnPDP": true
}, - "facetValues": {
- "property1": "string",
- "property2": "string"
}, - "isAftercareStoresEnabled": true,
- "appointments": {
- "enabled": true,
- "amendUrl": "string"
}, - "subscriptionCancellationReasons": {
- "reasons": [
- {
- "code": "string",
- "label": "string",
- "additionalInfoNeeded": true
}
]
}, - "isContactLensPrescriptionUploadRequired": true,
- "isGlassesPrescriptionUploadRequired": true,
- "urlPathPrefix": {
- "invoice": "string",
- "creditNote": "string"
}, - "isContactLensPrescriptionStoreRequired": true,
- "isGlassesPrescriptionStoreRequired": true,
- "canonicalHostname": "string",
- "returns": {
- "address": "string",
- "url": "string"
}
}, - "context": {
- "siteKey": "specsavers-gb",
- "build": {
- "env": "dev",
- "releaseId": "911",
- "commitId": "3d13f3c6c4f017d66d2a9c16c566ffb11f05f32c"
}
}, - "metrics": {
- "durationMs": 0
}
}{- "data": [
- {
- "key": "string",
- "locales": [
- {
- "code": "string"
}
]
}
], - "context": {
- "siteKey": "specsavers-gb",
- "build": {
- "env": "dev",
- "releaseId": "911",
- "commitId": "3d13f3c6c4f017d66d2a9c16c566ffb11f05f32c"
}
}, - "metrics": {
- "durationMs": 0
}
}