Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.discovr.media/llms.txt

Use this file to discover all available pages before exploring further.

Retrieves a single page by its unique identifier.

Parameters

NameTypeRequiredDescription
pageIdstringYesThe unique identifier of the page to retrieve

Returns

Page — Page retrieved successfully
{
  "id": "string",
  "createdAt": "string" /* date-time */,
  "hero": ["any"],
  "name": "string"
}

Example

import { DiscovrClient } from "discovr";
import type { Page } from "discovr";

const discovr = new DiscovrClient("your-client-id", {
  basePath: "https://api.discovr.media",
});

// After sign-in and profile selection …
const response: Page = await discovr.getPage("example");
console.log(response);