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 paginated list of media items for a specific row.
Parameters
| Name | Type | Required | Description |
|---|
| pageId | string | Yes | The unique identifier of the page |
| rowId | string | Yes | The unique identifier of the row |
| nextPageToken | string | No | Opaque pagination token returned from the previous page |
| limit | integer | No | Maximum number of items to return |
Returns
GetRowItemsResponse — List of row items retrieved successfully
{
"items": [
// MediaItem (when type: "media")
{
"id": "string",
"title": "string",
"poster_path": "string",
"backdrop_path": "string",
"media_type": "movie" /* enum: "movie", "tv" */,
"type": "media"
}
// — OR —
// NavigationItem (when type: "navigation")
{
"id": "string",
"title": "string",
"vertical_path": "string",
"horizontal_path": "string",
"page_id": "string",
"type": "navigation"
}
// — OR —
// ProviderItem (when type: "provider")
{
"id": "string",
"title": "string",
"page_id": "string",
"type": "provider",
"paths": { }
}
],
"hasMore": false,
"nextPageToken": "string"
}
Example
import { DiscovrClient } from "discovr";
import type { GetRowItemsResponse } from "discovr";
const discovr = new DiscovrClient("your-client-id", {
basePath: "https://api.discovr.media",
});
// After sign-in and profile selection …
const response: GetRowItemsResponse = await discovr.getRowItems("example", "example", { nextPageToken: "example", limit: 10 });
console.log(response);