Skip to main content
GET
/
pages
/
{pageId}
/
rows
/
{rowId}
Get a row by ID
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.discovr.media/pages/{pageId}/rows/{rowId}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "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

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