Skip to content

Powered by Grav + Helios

Get Page

Get Page

GET /pages/{route}
Get a single page with full content, metadata, and media.

Parameters

Name Type Description
route required string The page route (e.g. /blog/my-post)
summary optional boolean Include page summary in the response
render optional boolean Return rendered HTML content instead of raw markdown
children optional boolean Include child pages in the response
translations optional boolean Include available translations
JSON
{"data": {"route": "/blog/my-post", "slug": "my-post", "title": "My Post", "template": "post", "content": "# Hello World", "header": {"published": true}, "media": []}}

Response Codes

200 Success
401 Unauthorized
404 Page not found