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

fetch('https://api.discovr.media/pages/{pageId}/rows', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "rows": [
    {
      "id": "<string>",
      "title": "<string>",
      "pageId": "<string>",
      "type": "media",
      "createdAt": "2023-11-07T05:31:56Z"
    }
  ],
  "hasMore": true,
  "nextPageToken": "<string>"
}

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

Query Parameters

nextPageToken
string

Opaque pagination token returned from the previous page

limit
integer
default:5

Maximum number of rows to return

Required range: 1 <= x <= 50

Response

List of rows retrieved successfully

rows
object[]
required
hasMore
boolean
required

Whether there are more rows available

nextPageToken
string

Opaque token to fetch the next page of results