Public
Like
glimpse2-runbook-view-glimpse-save
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
This module provides a shortcut route for accessing glimpse functionality.
- GET
/:id
- Get page data by ID (equivalent to/views/glimpse/:id
)
- Requires user authentication via
authCheck
middleware - Same authentication requirements as the original
/views/glimpse/:id
route
id
(string, required) - The Notion page ID to retrieve
Returns JSON response with page data from Notion API, with button properties filtered out.
This route provides the same functionality as /views/glimpse/:id
but with a shorter URL path:
- Original:
/views/glimpse/{page-id}
- Shortcut:
/glimpse/{page-id}
Both routes use the same controller and return identical responses.