Internal Sync

Paginated per-league capture-scope assets for internal service sync

Returns a cursor-paginated list of the assets in capture scope for each league: every league_items row whose item captures something per brand (hasFrequency or hasAmount), sits on a VENUE or PROPERTY platform, and is not soft-deleted. MEDIA assets are excluded — a broadcast or streaming commercial cannot be observed by a scout walking a venue. Key-asset status is a ranking hint, not a filter. Each row carries capture_type so the consumer knows which input to render, and item_subplatform because item_name alone is ambiguous. Intended for service-to-service consumption by vortex-api. Walk pages using the returned next_cursor as after_id until data is empty.

get/api/internal/sync/league-assets

Request

Query parameters

after_idinteger nullable
Example:500

Cursor: return records with id greater than this value. Omit for the first page.

per_pageinteger
Example:500

Number of records per page (1–10000, default 500).

Response

Paginated per-league capture-scope assets

next_cursorinteger nullable

Id of the last record on this page. Pass as after_id on the next request. Null when data is empty.

Example response

{
  "data": [
    {
      "id": 38439,
      "league_id": 109,
      "item_id": 350,
      "item_name": "COMMERCIAL: Recorded",
      "item_platform": "MEDIA:  Broadcast, Streaming & Other",
      "item_subplatform": "TV: Pre Show(s)",
      "is_key_asset": 1,
      "capture_type": "frequency"
    }
  ],
  "next_cursor": 98716
}

Changes

No recorded changes to this operation across all 2 revisions of this API.