OBJECT
Collection
Collection (a.k.a. Playlist) is a backend concept for a list of videos.
link GraphQL Schema definition
1 type Collection { 2 3 # The user-supplied description of the collection. 4 String! : 5 6 # The collection's identifier. 7 ID! : 8 9 # The paginated items in the collection. At this time, they will all be VoDs. 10 Int, : Cursor): CollectionConnection! ( : 11 12 # Total length of the collection as summed from all video lengths. 13 Int! : 14 15 # The owner of the collection. 16 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. 21 Int, : Int): String ( : 22 23 # The user-supplied title of the collection. 24 String! : 25 26 # The type of collection, either a series or default collection which is ''. 27 CollectionType! : 28 29 # Time when the collection was last updated. 30 Time! : 31 32 # The total view count of a collection. 33 Int : 34 35 }
link Required by
- AddCollectionItemPayloadThe response from adding an item to a collection.
- CollectionsItemEdge
- CreateCollectionPayloadThe response from creating a new collection.
- DeleteCollectionPayloadDeleteCollectionPayload resolves the deleted collection.
- QueryRoot fields to access the Twitch API.
- RemoveCollectionItemPayloadThe response from removing an item from a collection.
- ReorderCollectionItemPayloadThe response from reordering an item in a collection.
- UpdateCollectionPayloadUpdateCollectionPayload resolves the updated collection.
- VideoShelfA video shelf contains items (clips, videos) from a user to display on their videos page.