OBJECT
Clip
A recorded, replayable part of a live broadcast.
link GraphQL Schema definition
1 type Clip { 2 3 # The broadcast of the clip. This should only be used to fetch the ID of the 4 # broadcast. 5 # Because not all videos have broadcasts (e.g. uploads), not all clips will have a 6 # broadcast. 7 Broadcast : 8 9 # The broadcaster from which the clip originated. 10 User : 11 12 # The curator's clip champ badge if it has been attained on the broadcaster's 13 # channel. 14 # This has been deprecated and will be always be null. 15 Badge @deprecated( reason: "Clip Champ Badges are no longer being awarded" ) : 16 17 # The time when the clip was created. 18 Time! : 19 20 # Different video qualities are being created in the background. 21 # The creation state indicates when the source quality clip is playable 22 # and transcoding of the clip in other video qualities has begun. 23 ClipCreationState : 24 25 # The user who created the clip. 26 User : 27 28 # The duration of the clip, in seconds. 29 Int! : 30 31 # The URL used in the embed player. 32 String! : 33 34 # The game depicted in the clip. 35 Game : 36 37 # The clip's unique identifier. 38 ID! : 39 40 # Whether or not the clip has been published. 41 Boolean : 42 43 # The language of the clip. 44 Language! : 45 46 # The playback access token that determines whether the user can watch the clip. 47 # Fetched for both authed and unauthed users. 48 PlaybackAccessTokenParams!): PlaybackAccessToken ( : 49 50 # Metadata around the raw media. 51 ClipRawMedia! : 52 53 # The different quality options of this clip's raw media used for editing. 54 ClipVideoQuality!] : [ 55 56 # The reactions associated with this clips. 57 Reaction] : [ 58 59 # Lists of related clips based on different algorithms. 60 ClipRelatedClips : 61 62 # A URL-friendly identifier. 63 String! : 64 65 # A URL to a thumbnail image. 66 # Valid sizes are "86x45", "260x147", and "480x272". 67 Int, : Int): String! ( : 68 69 # The title of the clip. 70 String! : 71 72 # A URL to the clip's page. 73 String! : 74 75 # The video of the clip. Because not all broadcasts are archived, not all clips 76 # will 77 # have a video. 78 Video : 79 80 # The number of seconds into a VOD this clip was generated from. 81 Int : 82 83 # The different quality options of this clip available for playback. 84 # The clip will first be available in the source video quality, indicated by when 85 # the 86 # clipCreationState is 'CREATED'. videoQualities will gradually be added to 87 # afterwards as 88 # more video quality options become playable. 89 ClipVideoQuality!] : [ 90 91 # The number of times this clip has been viewed. 92 Int! : 93 94 }
link Required by
- ClipEdge
- ClipRelatedClipsThere are different algorithms that return a different set of related clips. They only return up to 4 clips per list.
- CreateClipPayloadCreateClipPayload returns the created clip or any error that prevented the clip creation.
- DeleteClipsPayloadDeleteClipsPayload returns the deleted clips. Only the slug and id can be accessed from the returned list of deleted clips.
- FeedEmbedFeedEmbed describes the types of items contained in a Feed.
- FeedItemContentFeedItemContent is the supported content types that may appear in a feed.
- OnsiteNotificationContentExtra onsite notification content.
- PostEmbedTODO: Add events.
- PublishClipPayloadPublishClipPayload returns the edited clip or an error.
- QueryRoot fields to access the Twitch API.
- ReactableContent
- ShareTarget
- ShelfContentThe content to render in a shelf.
- ShortVideoContentAll of the different content types that make up "short form video".
- TaggedContentThe content that are possibly return for tagging mutation payload.
- UpdateClipPayloadUpdateClipPayload returns the updated clip.
- UpdateClipViewCountPayloadUpdateClipViewCount returns the clip that was updated.
- VideoShelfItemThe item to render in a video shelf.