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 row by its unique identifier.

Parameters

NameTypeRequiredDescription
pageIdstringYesThe unique identifier of the page
rowIdstringYesThe unique identifier of the row

Returns

Row — Row retrieved successfully
{
  "id": "string",
  "title": "string",
  "pageId": "string",
  "type": "media" /* RowType: "media", "navigation", "provider", "top_n" */,
  "createdAt": "string" /* date-time */
}

Example

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

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

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