Skip to content

Kirby 3.7.5

/api/pages/:id

Retrieve a page

Query parameters

Parameter Example Description
pretty pretty=true|null Pretty prints the result. Only useful for debugging.
select select=filename,niceSize|null Defines the fields that will be returned for the page.

Page fields

The following fields are available in the page model and can be fetched with the select parameter:

  • blueprint
  • blueprints
  • children
  • content
  • drafts
  • errors
  • files
  • hasChildren
  • hasDrafts
  • hasFiles
  • id
  • isSortable
  • next
  • num
  • options
  • panelImage
  • parent
  • parents
  • prev
  • previewUrl
  • siblings
  • slug
  • status
  • template
  • title
  • url