Bambuser icon

Bambuser

Interact with the Bambuser Live Commerce API: live shopping, on-demand video, video calls, product catalog, and shopper data

Actions111

Video → Query

AI-generated

Summary

Queries Bambuser on-demand (VOD) videos by sending a JSON filter body to the POST /v1/vod/videos/query endpoint, with cursor-based pagination.

Inputs

  • queryBody — JSON filter expression sent as the POST request body. Defaults to {} (no filter). The node accepts a JSON string or object and parses it. It does not validate the contents, so the structure must match Bambuser's query endpoint. Invalid JSON makes the item fail.
  • pageSize — Number of videos to return per page, sent as the pageSize query-string parameter. Range 1–500, default 25.
  • cursor — Pagination cursor from a previous response. It is sent as the cursor query parameter only when non-empty. Leave empty to fetch the first page.

Output shape

One output item per input item. Its json is the raw response from the Bambuser query endpoint, normally a page of matching videos plus pagination info.

The node does not paginate automatically. To get more results, pass the cursor from the previous response into the next call. If the API returns an empty body, the output is {"success": true}. Items run in parallel, and an HTTP error fails the node unless continue-on-fail is handled. The exact response fields come from the Bambuser API and are not defined in this node.

Examples

Example 1: Fetch the first page of videos matching a filter

Resource: Video, Operation: Query. Set queryBody to the filter JSON and pageSize to 100. Leave cursor empty.

Example 2: Fetch the next page of results

Reuse the same queryBody and pageSize. Set cursor to the cursor value from the previous response, for example with an expression.

Links

Discussion