Nexlev icon

Nexlev

Interact with the Nexlev API

Channel Content → Get Shorts

AI-generated

Summary

Nexlev Get Shorts operation for Channel Content resource: fetches YouTube Shorts for a given channel with sort order (latest/popular/oldest), continuation token pagination, and batch/throttle configuration via request options. The operation reads channelId (required), sortBy (required, default latest), and continuationToken (optional) as query parameters, returning paginated shorts data.

Inputs

  • channelId (required) — The YouTube channel ID to get shorts for. Sent as a query parameter.
  • sortBy (required) — Sort order for shorts: 'latest', 'popular', or 'oldest'. Defaults to 'latest'. Sent as a query parameter.
  • continuationToken — Token for pagination (use continuation value from previous response). Sent as a query parameter when provided.

Output shape

Paginated list of YouTube Shorts objects, each containing id, title, and metadata. Continuation token included for subsequent fetches. Batch configuration (size/interval) controlled via requestOptions collection.

Batch size -1 disables throttling; batch interval 0 disables interval throttling. Timeout defaults to 10000ms. SSL verification can be disabled via allowUnauthorizedCerts flag. Proxy support via requestOptions.proxy.

Examples

Example 1: Basic fetch of latest shorts for a channel

channelId: 'ABC123', sortBy: 'latest', no continuation token, default request options

Example 2: Paginated fetch with continuation token

continuationToken provided from prior response, same channelId and sortBy, batch settings preserved

Discussion