query

page

Get detailed information for a specific page within the theme.
Arguments
rootId
String
ID given to the HTML element.
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
JSON
Custom JSON object for specific use cases.
Unique identifier of an entry.
schedule
CronSchedule
Details related to schedule of a custom page.
application
String
Application ID - Identifier for a Sales channel.
archived
Boolean
Flag 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
String
A CDN URL at which the entire html content can be fetched from.
created_by
CreatedBy
Details regarding the creator of entity.
date_meta
DateMeta
Details related to resource creation and updation.
description
String
Description about the page.
feature_image
Asset
Data related to image.
orientation
String
Orientation for Custom Pages - Landscape or portrait.
page_meta
[JSON]
List of Custom JSON object for specific use cases.
platform
String
Platform for Custom Pages - Denotes the device type.
published
Boolean
Whether page is active or not on website.
Details related to SEO of an entry.
slug
String
A short, human-readable, URL-friendly identifier.
Tags under a page.
title
String
The title of the page.
type
String
Type of editor through which the page was created so appropriate rendering engine is used.
visibility
JSON
Visibility of Page.
Query
1query page($rootId: String, $slug: String!) {
2 page(rootId: $rootId, slug: $slug) {
3 custom_json
4 id
5 schedule {
6 cron
7 duration
8 end
9 start
10 }
11 application
12 archived
13 component_ids
14 content
15 content_path
16 created_by {
17 id
18 }
19 date_meta {
20 created_on
21 modified_on
22 }
23 description
24 feature_image {
25 aspect_ratio
26 id
27 secure_url
28 }
29 orientation
30 page_meta
31 platform
32 published
33 seo {
34 title
35 description
36 canonical_url
37 }
38 slug
39 tags
40 title
41 type
42 visibility
43 }
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}