OBJECT

Collection

Collection (a.k.a. Playlist) is a backend concept for a list of videos.

link GraphQL Schema definition

1type Collection {
2
3# The user-supplied description of the collection.
4description: String!
5
6# The collection's identifier.
7id: ID!
8
9# The paginated items in the collection. At this time, they will all be VoDs.
10items(first: Int, after: Cursor): CollectionConnection!
11
12# Total length of the collection as summed from all video lengths.
13lengthSeconds: Int!
14
15# The owner of the collection.
16owner: User
17
18# The thumbnailURL for the collection.
19# If either `height` or `width` are not given, a templated value (i.e. `{height}`,
20# `{width}`) will be present in the URL instead.
21thumbnailURL(height: Int, width: Int): String
22
23# The user-supplied title of the collection.
24title: String!
25
26# The type of collection, either a series or default collection which is ''.
27type: CollectionType!
28
29# Time when the collection was last updated.
30updatedAt: Time!
31
32# The total view count of a collection.
33viewCount: Int
34
35}