Thunder migration
This guide maps Thunder concepts and endpoints onto their Catapult Developer Platform equivalents. It assumes you have read Overview, which covers how the API works in general.
Resources, not verbs. The Thunder API had one operation per question
(GetPlaysForEdit, GetPlays, SearchForPlays…). The Catapult Developer Platform has one resource
per noun (/clips, /sources, /labels…) and you vary the filter. Most of the
mapping table therefore points many old operations at the same new endpoint.
A bearer token replaces the credential headers. Thunder's credential headers are
replaced by a personal access token in the Authorization header. See
Authentication.
Your licence decides what you can reach. Endpoints are grouped into licensed
features, and one your account is not licensed for answers 403 rather than data.
See Feature gating.
Results are paged. A Thunder call returned a whole result set. Collection endpoints return one page at a time, and may require multiple calls to retrieve the full results set.
1. Vocabulary: Thunder terms and their Catapult Developer Platform equivalents
| Thunder API term | Developer Platform term |
|---|---|
| Master Edit | Source |
| Edit | List |
| EditPlay | List Item |
| Play | Clip |
| Play Field (a.k.a. Heading) | Label Type |
| Play Field Value | Label |
| View | Angle |
| View Sequence | Angle Sequence |
| Folder | Folder |
| Heading Group | Label Type Group |
2. Endpoint mapping
2.1 Reference data and metadata
| Thunder API endpoint | Developer Platform endpoint | Notes |
|---|---|---|
/ThunderAPI/GetAllViews |
GET /angles |
|
/ThunderAPI/GetAllViewSequences |
GET /angle-sequences |
|
/ThunderAPI/GetAllPlayFieldHeadings |
GET /label-types |
|
/ThunderAPI/GetHeadingGroups |
GET /label-type-groups |
|
/ThunderAPI/GetAllSOBs |
- | Not needed — your active side of ball is associated with your access token when it is issued. To work across multiple sides of ball, use a separate token for each. |
/ThunderAPI/GetHealth |
GET /health |
2.2 Retrieving plays (clips)
| Thunder API endpoint | Developer Platform endpoint | Notes |
|---|---|---|
/ThunderAPI/GetPlays?playIDs=… |
GET /clips |
Filter by the same play IDs: {"id":{"in":[…]}}. See §3.1. |
/ThunderAPI/GetPlaysPost |
GET /clips |
Filter by the same play IDs: {"id":{"in":[…]}}. See §3.1. |
/ThunderAPI/GetPlaysForURL |
GET /lists/{id}/items |
Pass your existing URL payload as the list ID, in the form TC_SSO_URL|thundercloud://…; the items returned reference the matching clips. |
/ThunderAPI/GetPlaysForURLPost |
GET /lists/{id}/items |
Pass your existing URL payload as the list ID, in the form TC_SSO_URL|thundercloud://…; the items returned reference the matching clips. |
/ThunderAPI/GetPlaysForEdit?editID=… |
GET /lists/{id}/items |
For an Edit: GET /lists/{editId}/items. |
/ThunderAPI/GetPlaysForEdit?editID=… |
GET /clips |
For a Master Edit: GET /clips with filter {"sourceId":{"eq":"<masterEditId>"}}. |
/ThunderAPI/GetContentsOfEdit?editID=… |
GET /lists/{id} |
For an Edit: GET /lists/{id}. |
/ThunderAPI/GetContentsOfEdit?editID=… |
GET /sources/{id} |
For a Master Edit: GET /sources/{id}. |
/ThunderAPI/GetFilterEnums |
GET /clips |
GetFilterEnums returned the comparison operators available for use in filtering play field values. The Catapult Developer Platform documents each endpoint's filter operators in the reference docs, so there is nothing to look up at runtime. |
/ThunderAPI/GetPlaysForAutocutup |
GET /lists/{id}/items |
Autocutups appear among their folder's items with IDs of the form Autocutup|…. Use that ID as the list ID, exactly as with the TC_SSO_URL payload above. |
2.3 Play field values (labels)
| Thunder API endpoint | Developer Platform endpoint | Notes |
|---|---|---|
/ThunderAPI/GetFilteredFieldValues |
GET /clips/label-value-counts |
Distinct values of one label type across matching clips, with counts. See §3.2. |
/ThunderAPI/GetFilteredHeadings |
GET /clips/label-value-counts |
GetFilteredHeadings returned the set of headings carrying values on the plays matching a query. GET /label-types lists every label type, and GET /clips/label-value-counts reports the values present for a given label type across matching clips — an empty result means that label type is unpopulated there. |
/ThunderAPI/UpdatePlayFieldDataFromURL |
POST /labels |
Resolve the clip IDs first (§3.1), then write labels against them with setLabels. |
/ThunderAPI/UpdatePlayFieldDataFromURLPost |
POST /labels |
Resolve the clip IDs first (§3.1), then write labels against them with setLabels. |
2.4 Folders and edits (lists)
| Thunder API endpoint | Developer Platform endpoint | Notes |
|---|---|---|
/ThunderAPI/GetUserFolders |
GET /folders |
Returns the top of the folder tree, including your user folders and their immediate contents. Each folder's hasChildren field says whether there is more beneath it; descend with GET /folders/{id}. |
/ThunderAPI/GetFolderDetail |
GET /folders/{id} |
Returns the folder with its items and subfolders. |
/ThunderAPI/GetRootGameplanFolder |
GET /folders |
Gameplan folders appear as top-level folders in the folder tree. |
/ThunderAPI/GetContentsOfGamePlan |
GET /folders/{id} |
Fetch a gameplan's contents by querying for it as a folder, by its ID. The folders that define the gameplan are returned as its child folders. |
/ThunderAPI/SaveEditURL |
GET /lists/{id}/itemsthen POST /liststhen POST /lists/{id}/items |
Three steps: resolve the URL payload's clips with GET /lists/{id}/items (§2.2), create the list with POST /lists, passing folderId and name, then add the resolved clips to it with POST /lists/{id}/items. |
/ThunderAPI/CheckEditURL |
GET /lists/{id} |
Pass the URL payload as the list ID, as in §2.2. A successful response is the validity check. |
/ThunderAPI/CheckEditURLPost |
GET /lists/{id} |
Pass the URL payload as the list ID, as in §2.2. A successful response is the validity check. |
/ThunderAPI/DeleteEdit |
DELETE /lists |
The request body carries the IDs of the edits to delete. |
/ThunderAPI/DeleteEditsFromFolder |
GET /folders/{id}then DELETE /lists |
List the folder's items with GET /folders/{id}, then delete those Lists with DELETE /lists. |
2.5 Media
| Thunder API endpoint | Developer Platform endpoint | Notes |
|---|---|---|
/ThunderAPI/GetURLsForElement |
GET /clipsGET /sources/{id}/source-angles |
Media URLs are embedded: each clip and source angle carries its asset, including the playback URI. Including media URLs in responses requires that your account is licensed for media access. See §3.3. |
2.6 Not supported
| Thunder API endpoint | Notes |
|---|---|
/ThunderAPI/SearchForPlays/ThunderAPI/SearchForPlaysXML/ThunderAPI/SearchForPlaysComplex |
Searching for plays by criteria, including time windows, is not currently supported. Clips are retrieved by ID or by source (§2.2), or through Lists (§2.4). |
/ThunderAPI/GetGameProperties/ThunderAPI/GetGamePropertyInfo/ThunderAPI/GetGamePropertyValues/ThunderAPI/GetGamePropertyEnums |
Game properties are not currently supported. |
/ThunderAPI/GetFilterGroups |
Saved filter groups are not part of the Catapult Developer Platform. |
/ThunderAPI/GetPFVVersion |
Play field value versioning is internal to Thunder and has no equivalent. |
/ThunderAPI/GetTeams/ThunderAPI/GetPlayers |
Roster data is not currently supported. |
3. Worked examples
3.1 Retrieving plays by ID
GetPlays?playIDs=… becomes a filtered request — the play IDs your integration already holds are clip IDs:
GET /clips?filter={"id":{"in":["<playId>","<playId>"]}}
Authorization: Bearer cat_pat_...
To fetch every play for a Master Edit, filter by its source: {"sourceId":{"eq":"<masterEditId>"}}. A saved Edit's plays are its list items: GET /lists/{id}/items.
3.2 Field values with counts
GetFilteredFieldValues returned each distinct value of a play field with its frequency. The equivalent:
GET /clips/label-value-counts?labelTypeId=<labelTypeId>&filter={"sourceId":{"eq":"<masterEditId>"}}
returns { "labelTypeId": …, "items": [ { "value": "…", "count": n } … ] }, ordered by value. The entry whose value is absent counts the clips carrying no value for this label type, and sorts last. Sum the counts across pages for a total; every matching clip is counted exactly once (for a multi-value label type, under its first value).
3.3 Retrieving media URLs
Media URLs are not a separate lookup. Each clip's angles array carries an asset with the playback URI; each source's angles are at GET /sources/{id}/source-angles. Add ?expand=angle to that route, or ?expand=angles.angle on /clips, to receive each camera angle's name alongside its id; see Expansions.