Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Cloud Video
    • Overview
    • Control
    • Troubleshooting
  • Access management
  • Pricing policy
    • Authentication with the API
    • Getting started with the API
      • Overview
        • Overview
        • Get
        • List
        • Create
        • Update
        • Delete
        • BatchDelete
        • GetPlayerURL
  • Audit Trails events
  • Release notes

In this article:

  • gRPC request
  • ListPlaylistsRequest
  • ListPlaylistsResponse
  • Playlist
  • PlaylistItem
  1. API reference
  2. gRPC
  3. Playlist
  4. List

Video API, gRPC: PlaylistService.List

Written by
Yandex Cloud
Updated at April 24, 2025
  • gRPC request
  • ListPlaylistsRequest
  • ListPlaylistsResponse
  • Playlist
  • PlaylistItem

List playlists for a channel.

gRPC requestgRPC request

rpc List (ListPlaylistsRequest) returns (ListPlaylistsResponse)

ListPlaylistsRequestListPlaylistsRequest

{
  "channel_id": "string",
  "page_size": "int64",
  "page_token": "string",
  "order_by": "string",
  "filter": "string"
}

Field

Description

channel_id

string

Required field. ID of the channel.

page_size

int64

The maximum number of the results per page to return.
Default value: 100.

page_token

string

Page token for getting the next page of the result.

order_by

string

By which column the listing should be ordered and in which direction,
format is " " (e.g. "createdAt desc").
Default: "id asc".
Possible fields: ["id", "title", "createdAt", "updatedAt"].
Both snake_case and camelCase are supported for fields.

filter

string

Filter expression that filters resources listed in the response.
Expressions are composed of terms connected by logic operators.
If value contains spaces or quotes,
it should be in quotes (' or ") with the inner quotes being backslash escaped.
Supported logical operators: ["AND", "OR"].
Supported string match operators: ["=", "!=", ":"].
Operator ":" stands for substring matching.
Filter expressions may also contain parentheses to group logical operands.
Example: key1='value' AND (key2!='\'value\'' OR key2:"\"value\"")
Supported fields: ["id", "title"].
Both snake_case and camelCase are supported for fields.

ListPlaylistsResponseListPlaylistsResponse

{
  "playlists": [
    {
      "id": "string",
      "channel_id": "string",
      "title": "string",
      "description": "string",
      "items": [
        {
          // Includes only one of the fields `video_id`, `episode_id`
          "video_id": "string",
          "episode_id": "string",
          // end of the list of possible fields
          "position": "int64"
        }
      ],
      "created_at": "google.protobuf.Timestamp",
      "updated_at": "google.protobuf.Timestamp"
    }
  ],
  "next_page_token": "string"
}

Field

Description

playlists[]

Playlist

List of playlists for specific channel.

next_page_token

string

Token for getting the next page.

PlaylistPlaylist

Entity representing an ordered list of videos or episodes.

Field

Description

id

string

ID of the playlist.

channel_id

string

ID of the channel to create the playlist in.

title

string

Playlist title.

description

string

Playlist description.

items[]

PlaylistItem

List of playlist items.

created_at

google.protobuf.Timestamp

Time when playlist was created.

updated_at

google.protobuf.Timestamp

Time of last playlist update.

PlaylistItemPlaylistItem

Field

Description

video_id

string

ID of the video.

Includes only one of the fields video_id, episode_id.

episode_id

string

ID of the episode.

Includes only one of the fields video_id, episode_id.

position

int64

Item position (zero-indexed).

Was the article helpful?

Previous
Get
Next
Create
© 2025 Direct Cursus Technology L.L.C.