Skip to content

Kirby 3.7.5

/api/site

Retrieve information about the site

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 site.

Site fields

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

  • blueprint
  • children
  • content
  • drafts
  • files
  • options
  • previewUrl
  • title
  • url