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

fetch('https://api.discovr.media/pages/{pageId}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "id": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "hero": [
    {
      "id": "<string>",
      "title": "<string>",
      "media_type": "movie",
      "type": "media",
      "overview": "<string>",
      "logo_path": "<string>",
      "poster_path": "https://image.tmdb.org/t/p/original/kqjL17yufvn9OVLyXYpvtyrFfak.jpg",
      "backdrop_path": "https://image.tmdb.org/t/p/original/kqjL17yufvn9OVLyXYpvtyrFfak.jpg"
    }
  ],
  "name": "<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 to retrieve

Response

Page retrieved successfully

id
string
required

Unique identifier for the page

createdAt
string<date-time>
required

Creation timestamp

hero
object[]
required

Array of exactly 10 popular HeroItems for the hero section

Required array length: 10 elements
name
string

Human-readable page title as a breadcrumb path (e.g. "Movies & Series • Anime • Fantasy"). Only present for pages derived from a page graph node (genre/keyword navigation pages). Absent for top-level pages (home, movies, series).