Skip to main content
GET
/
pages
/
{pageId}
/
rows
/
{rowId}
TypeScript
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);
{
  "id": "<string>",
  "title": "<string>",
  "pageId": "<string>",
  "type": "media",
  "createdAt": "2023-11-07T05:31:56Z"
}

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.

Authorizations

Authorization
string
header
required

Bearer token authentication.

  • Identity-tier endpoints (/profiles, /auth/session-token, /auth/session) accept a long-lived refresh token (rt_<hex>).
  • Session-tier endpoints (/pages/*, /profile/*) accept a short-lived session JWT.

SDK clients use two typed API accessors (identityApi() with the refresh token vs sessionApi() with the session JWT) — see the SDK DiscovrAuth helper.

Format: Authorization: Bearer {token}

Path Parameters

pageId
string
required

The unique identifier of the page

rowId
string
required

The unique identifier of the row

Response

Row retrieved successfully

A single row within a page — a labeled group of media items with display info and pagination cursor.

id
string
required

Unique identifier for the row

title
string
required

Display title for the row

pageId
string
required

ID of the page this row belongs to

type
enum<string>
required

Type of row - media rows contain media items, navigation rows contain navigation items, provider rows contain provider items, top_n rows contain media items (same as media rows but distinguished by type)

Available options:
media,
navigation,
provider,
top_n
createdAt
string<date-time>
required

Creation timestamp