glimpse2-runbook-test
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.
Viewing readonly version of main branch: v46View latest version
External API integrations (pure API calls only).
Services should:
- Make direct API calls to external systems
- Be pure functions that handle HTTP transport layer (response.ok)
- Return consistent
{ success: boolean, data?: any, error?: string }
format - NOT handle environment variables, business logic, or orchestrate multiple calls
getDatabases()
- Search for all Notion databasesgetDatabaseById(databaseId)
- Retrieve specific database metadatagetPageById(pageId)
- Retrieve individual page datagetDatabasePages(databaseId)
- Query pages from a databaseupdatePageUrl(pageId, url)
- Update page URL property