OBJECT

Page

Page

# GraphQL Schema definition

1type Page implements AdminSharedAttributesInterface {
 
2# associated authorization policies
3authorization_policies: [AuthorizationPolicy!]
 
4content: String
 
5# specfic timestamp of when the content was updated last time, useful for cache
6content_updated_at: JSONDate!
 
7created_at: JSONDate!
 
8deleted_at: JSONDate
 
9# the number of seconds for which this page will be cached; set
10# dynamic_cache_layout accordingly to your scenario. Triggers authorization. Use
11# only if cache_key cannot be easily determined (for example for search results
12# page)
13dynamic_cache_expire: Int
 
14# liquid which evaluates to the cache key, for example {{ context.page.slug }}/{{
15# context.params.slug2 }}for page with slug "abc" will cache separately /abc/1 and
16# /abc/2, however abc/1/1 will return the same value as abc/1/2. If left blank,
17# the full url will be used.
18dynamic_cache_key: String
 
19# defines whether layout should be cached as well, or only page. Usually it is not
20# possible to cache layout due to dynamic data in it, like name of a logged in
21# user, hence default is false.
22dynamic_cache_layout: Boolean
 
23format: PageFormat
 
24handler: PageHandler
 
25id: ID!
 
26layout: String
 
27# max nesting of the url to be resolved by this slug. For example slug "abc" with
28# max_deep_level 2 will resolve /abc, abc/1, abc/2, but will NOT resolve
29# abc/2/something.
30max_deep_level: Int
 
31metadata: HashObject
 
32# defines the physical path of the file
33physical_file_path: String
 
34redirect_code: Int
 
35redirect_to: String
 
36request_method: PageRequestMethod
 
37response_headers: HashObject
 
38searchable: Boolean
 
39slug: String!
 
40# the number of seconds for which this page will be cached as a static html page;
41# works only for not logged in users, skips any authorization
42static_cache_expire: Int
 
43updated_at: JSONDate!
 
44}

# Required by