Arguments
rootId
StringID given to the HTML element.
slug
String!Required
A short, human-readable, URL-friendly identifier of a page. You can get slug value from the endpoint /service/application/content/v2.0/pages/.
Response
custom_json
JSONCustom JSON object for specific use cases.
id
StringUnique identifier of an entry.
schedule
CronScheduleDetails related to schedule of a custom page.
application
StringApplication ID - Identifier for a Sales channel.
archived
BooleanFlag denoting whether the page is archived or not.
component_ids
[String]Components can be used to store multiple components.
content
[JSON]Contents of a custom page.
content_path
StringA CDN URL at which the entire html content can be fetched from.
created_by
CreatedByDetails regarding the creator of entity.
date_meta
DateMetaDetails related to resource creation and updation.
description
StringDescription about the page.
feature_image
AssetData related to image.
orientation
StringOrientation for Custom Pages - Landscape or portrait.
page_meta
[JSON]List of Custom JSON object for specific use cases.
platform
StringPlatform for Custom Pages - Denotes the device type.
published
BooleanWhether page is active or not on website.
seo
BlogSEODetails related to SEO of an entry.
slug
StringA short, human-readable, URL-friendly identifier.
tags
[String]Tags under a page.
title
StringThe title of the page.
type
StringType of editor through which the page was created so appropriate rendering engine is used.
visibility
JSONVisibility of Page.
Query
1query page($rootId: String, $slug: String!) {2 page(rootId: $rootId, slug: $slug) {3 custom_json4 id5 schedule {6 cron7 duration8 end9 start10 }11 application12 archived13 component_ids14 content15 content_path16 created_by {17 id18 }19 date_meta {20 created_on21 modified_on22 }23 description24 feature_image {25 aspect_ratio26 id27 secure_url28 }29 orientation30 page_meta31 platform32 published33 seo {34 title35 description36 canonical_url37 }38 slug39 tags40 title41 type42 visibility43 }44}
Try it
Input Variables
1{2 "rootId": "rootId",3 "slug": "slug"4}
Response
1{2 "page": {3 "custom_json": {},4 "id": "08a16b83-9094-4e89-8c05-2ccadd5c1c7e",5 "schedule": {6 "cron": "cron",7 "duration": 30.7,8 "end": "end",9 "start": "start"10 },11 "application": "application",12 "archived": true,13 "component_ids": [14 "component_ids"15 ],16 "content": [17 {}18 ],19 "content_path": "content_path",20 "created_by": {21 "id": "08a16b83-9094-4e89-8c05-2ccadd5c1c7e"22 },23 "date_meta": {24 "created_on": "created_on",25 "modified_on": "modified_on"26 },27 "description": "A description",28 "feature_image": {29 "aspect_ratio": "aspect_ratio",30 "id": "08a16b83-9094-4e89-8c05-2ccadd5c1c7e",31 "secure_url": "secure_url"32 },33 "orientation": "orientation",34 "page_meta": [35 {}36 ],37 "platform": "platform",38 "published": true,39 "seo": {40 "title": "title",41 "description": "A description",42 "canonical_url": "canonical_url"43 },44 "slug": "slug",45 "tags": [46 "tags"47 ],48 "title": "title",49 "type": "type",50 "visibility": {}51 }52}
Was this section helpful?