{ "data": { "__schema": { "queryType": { "name": "Query" }, "mutationType": { "name": "Mutation" }, "subscriptionType": null, "types": [ { "kind": "INPUT_OBJECT", "name": "AcceptFriendRequestInput", "description": null, "fields": null, "inputFields": [ { "name": "targetID", "description": "The authenticated user will accept the friend request sent by the user with an ID equal to targetID.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "AcceptFriendRequestPayload", "description": null, "fields": [ { "name": "user", "description": "The user whose friend request was just accepted.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "AcceptProgramAgreementError", "description": "Enumerates possible errors when accepting a program agreement.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "UNAUTHENTICATED", "description": "Must have auth credentials to agree to a program agreement.", "isDeprecated": false, "deprecationReason": null }, { "name": "FORBIDDEN", "description": "User does not have permission to agree to the program agreement for the targeted user.", "isDeprecated": false, "deprecationReason": null }, { "name": "INVALID_AGREEMENT_VERSION", "description": "Version of the agreement provided in the input is not valid.", "isDeprecated": false, "deprecationReason": null }, { "name": "INTERNAL_ERROR", "description": "An internal error has occurred.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "AcceptProgramAgreementInput", "description": "AcceptProgramAgreementInput is the input required when accepting a program agreement.", "fields": null, "inputFields": [ { "name": "targetUserID", "description": "TargetUserID is the ID of the user whose program agreement will be accepted.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "type", "description": "Agreement type being accepted for payout onboarding.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PayoutOnboardingCategory", "ofType": null } }, "defaultValue": null }, { "name": "version", "description": "Version of agreement (e.g. \"v1\").", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "AcceptProgramAgreementPayload", "description": "AcceptProgramAgreementPayload is the payload returned after accepting a program agreement.", "fields": [ { "name": "error", "description": "Describes error that occured while accepting a program agreement.", "args": [], "type": { "kind": "ENUM", "name": "AcceptProgramAgreementError", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "workflow", "description": "New workflow state.", "args": [], "type": { "kind": "OBJECT", "name": "PayoutOnboardingWorkflow", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "AccountConnectionSet", "description": "The information about all of a user's connected accounts.", "fields": [ { "name": "blizzard", "description": "Connection information about a user's Blizzard account.", "args": [], "type": { "kind": "OBJECT", "name": "BlizzardAccountConnectionStatus", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "facebook", "description": "Connection infromation about a user's Facebook account.", "args": [], "type": { "kind": "OBJECT", "name": "AccountConnectionStatus", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "steam", "description": "Connection information about a user's Steam account.", "args": [], "type": { "kind": "OBJECT", "name": "AccountConnectionStatus", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "twitter", "description": "Connection information about a user's Twitter account.", "args": [], "type": { "kind": "OBJECT", "name": "AccountConnectionStatus", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "youtube", "description": "Connection information about a user's Youtube account.", "args": [], "type": { "kind": "OBJECT", "name": "AccountConnectionStatus", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "AccountConnectionStatus", "description": "The information about the connection status of a particular service.", "fields": [ { "name": "hasConnection", "description": "Indicates whether or not a connection exists. Can be true or false.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "ActivateExtensionInput", "description": "The input to be provided to the activateExtension mutation.", "fields": null, "inputFields": [ { "name": "anchor", "description": "The anchor the extension is getting activated into.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ExtensionAnchor", "ofType": null } }, "defaultValue": null }, { "name": "extensionInstallationID", "description": "The composite ID of an extension installation .", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "slot", "description": "The slot the extension is getting activated into.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ActivateExtensionPayload", "description": "The result of an activateExtension mutation.", "fields": [ { "name": "installedExtensions", "description": "The resulting list of installed extensions after the activation.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ExtensionInstallation", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "redirectURI", "description": "The Redirect URI to use if the activation requires permissions.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "requiredAction", "description": "The action the user must take in order to complete the activation.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "RequiredAction", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "ActivationState", "description": "ActivationState contains possible activation states found in the ActivationConfig.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "ACTIVE", "description": "The extension is activated into a slot on the channel.", "isDeprecated": false, "deprecationReason": null }, { "name": "INACTIVE", "description": "The extension has not been activated into a slot or required permsissions/config\nis not set up yet.", "isDeprecated": false, "deprecationReason": null }, { "name": "REJECTED_PERMISSIONS", "description": "The user rejected the permissions required for the extension to be activated.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INTERFACE", "name": "Activity", "description": "An action (and metadata about the action) which a user or session is performing.", "fields": [ { "name": "type", "description": "The type of activity.", "args": [], "type": { "kind": "ENUM", "name": "ActivityType", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "Watching", "ofType": null }, { "kind": "OBJECT", "name": "Streaming", "ofType": null }, { "kind": "OBJECT", "name": "Playing", "ofType": null } ] }, { "kind": "INPUT_OBJECT", "name": "ActivityInput", "description": "ActivityInput represents what the user is doing right now.\n\nIf type is WATCHING, userID must be supplied.\n\nIf type is PLAYING, gameID must be supplied.", "fields": null, "inputFields": [ { "name": "gameID", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "type", "description": null, "type": { "kind": "ENUM", "name": "ActivityType", "ofType": null }, "defaultValue": null }, { "name": "userID", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "ActivityType", "description": "The categories of activities which users can engage in.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "PLAYING", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "STREAMING", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "WATCHING", "description": null, "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "AddBrowserPushSubscriptionInput", "description": null, "fields": null, "inputFields": [ { "name": "auth", "description": "An authentication secret. It must be a non-blank string.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "endpoint", "description": "A custom URL pointing to a push server, which can be used to send a push message to the\nparticular service worker instance that subscribed to the push service. It must be a\nnon-blank string.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "p256DH", "description": "An Elliptic curve Diffie–Hellman public key on the P-256 curve. It must be a non-blank string.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "AddBrowserPushSubscriptionPayload", "description": null, "fields": [ { "name": "browserPushSubscriptionID", "description": "The opaque ID of the push subscription. The entire push subscription is not returned because\nthere is no product use for it. Also, there is no existing query or mutation that can use this ID,\nbut it could be used for future functionality.", "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "AddChannelBlockedTermError", "description": "Possible errors that this resolver returns.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "NO_PERMISSIONS", "description": "User does not have permission to add blocked term in channel.", "isDeprecated": false, "deprecationReason": null }, { "name": "DURATION_INVALID", "description": "Duration provided was invalid.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "AddChannelBlockedTermInput", "description": "AddChannelBlockedTermInput takes in the channel, phrases, and if the term should be editable by mods.", "fields": null, "inputFields": [ { "name": "channelID", "description": "channelID is the channelID owner of terms.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "isModEditable", "description": "isModEditable is if the term is viewable or editable by mods.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "defaultValue": null }, { "name": "phrases", "description": "phrases is the strings that are blocked.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "AddChannelBlockedTermPayload", "description": "The returned data from the mutation.", "fields": [ { "name": "addedAt", "description": "The time term was added.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "error", "description": "Mutation error caused by the user input.", "args": [], "type": { "kind": "ENUM", "name": "AddChannelBlockedTermError", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "phrases", "description": "The phrases that were added.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "AddChannelPermittedTermError", "description": "Possible errors that this resolver returns.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "NO_PERMISSIONS", "description": "User does not have permission to add Permitted term in channel.", "isDeprecated": false, "deprecationReason": null }, { "name": "DURATION_INVALID", "description": "Duration provided was invalid.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "AddChannelPermittedTermInput", "description": "AddChannelPermittedTermInput takes in the channel, phrases, and if the term should be editable by mods.", "fields": null, "inputFields": [ { "name": "channelID", "description": "channelID is the owner of the permitted terms.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "phrases", "description": "phrases are the strings that are permitted in a channel.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "AddChannelPermittedTermPayload", "description": "The returned payload from the mutation.", "fields": [ { "name": "addedAt", "description": "The time term was added.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "error", "description": "Mutation error caused by the user input.", "args": [], "type": { "kind": "ENUM", "name": "AddChannelPermittedTermError", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "phrases", "description": "The phrases that were added.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "AddCollectionItemInput", "description": "AddCollectionItemInput accepts a collectionID and item ID and parameters to add the item to a collection.", "fields": null, "inputFields": [ { "name": "collectionID", "description": "The id of the collection.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "itemID", "description": "The id of the item of which will be added to the collection.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "itemType", "description": "The type of item ie. video.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "AddCollectionItemPayload", "description": "The response from adding an item to a collection.", "fields": [ { "name": "collection", "description": "The newly updated collection.", "args": [], "type": { "kind": "OBJECT", "name": "Collection", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "AddReactionInput", "description": null, "fields": null, "inputFields": [ { "name": "emoteID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "entityID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "AddReactionPayload", "description": null, "fields": [ { "name": "content", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "ReactableContent", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "AllowRejectedChatMessageInput", "description": null, "fields": null, "inputFields": [ { "name": "id", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "AllowRejectedChatMessagePayload", "description": null, "fields": [ { "name": "message", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "RejectedChatMessage", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "AmazonMarketplace", "description": "AmazonMarketplace represents the Amazon specific term for \"marketplace\", \nlike www.amazon.com or www.amazon.fr, that a user is active in.", "fields": [ { "name": "displayText", "description": "The display text for this Amazon Marketplace, like \"www.amazon.com\" or \"www.amazon.fr\".", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The standard obfuscated Amazon Marketplace ID, like \"ATVPDKIKX0DER\".", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "orderHistoryRedirectURL", "description": "OrderHistoryRedirectUrl is the URL for the user's order history, specific to this Amazon Marketplace.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "ApplyExtensionActivationsInput", "description": "A mapping of extension type to list of activation configs.", "fields": null, "inputFields": [ { "name": "activations", "description": "A list of activations to apply to the given channelID.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ExtensionActivationInput", "ofType": null } } } }, "defaultValue": null }, { "name": "channelID", "description": "The ID of the channel the activations are being performed on.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ApplyExtensionActivationsPayload", "description": "A list of all installed extensions on the channel after an applyExtensionActivations mutation.", "fields": [ { "name": "installedExtensions", "description": "The list of all installed extensions on the channel after an applyExtensionActivations mutation\nwith their new activation state.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ExtensionInstallation", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "AssociatesStore", "description": "Information regarding an Amazon Associates store.", "fields": [ { "name": "ID", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isPayoutEnabled", "description": "Whether the owner of this store is enabled to recieve payments.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "storeID", "description": "The store ID tag.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "AutoModProperties", "description": null, "fields": [ { "name": "aggressiveLevel", "description": "These are integers between 0 and 4, inclusive.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "identityLevel", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "profanityLevel", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "sexualLevel", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "AutohostChannelConnection", "description": "A list of configured autohost channels\n\nA relay connection type that does not yet support pagination.", "fields": [ { "name": "nodes", "description": null, "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "User", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "AutohostSettings", "description": "A user's autohosting settings.", "fields": [ { "name": "deprioritizeVodcast", "description": "True if this channels prefers autohost over vodcast.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "enabled", "description": "True if this channel has the autohost feature turned on.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "incomingRaidsPolicy", "description": "Determines what other channels can raid this channel.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "AutohostSettingsIncomingRaidsPolicy", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "recommendedHost", "description": "True if this channel autohosts channels similar to it.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "strategy", "description": "The strategy to use when choosing channels to autohost.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "AutohostSettingsStrategy", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "teamHost", "description": "True if this user autohosts their team members.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "AutohostSettingsIncomingRaidsPolicy", "description": "Determines what other channels can raid this channel.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "NONE", "description": "This user cannot be radied by anyone.", "isDeprecated": false, "deprecationReason": null }, { "name": "NETWORK", "description": "This user can be raided by other people in their network.", "isDeprecated": false, "deprecationReason": null }, { "name": "ALL", "description": "This user can be raded by anyone.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "AutohostSettingsStrategy", "description": "The strategy to use when choosing channels to autohost.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "ORDERED", "description": "Picks channels in the order defined by the user.", "isDeprecated": false, "deprecationReason": null }, { "name": "RANDOM", "description": "Picks channels at random.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "Availability", "description": "The possible computed states for a user or session.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "AWAY", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "BUSY", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "IDLE", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "OFFLINE", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "ONLINE", "description": null, "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "AvailabilityInput", "description": null, "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "ONLINE", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "IDLE", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "OFFLINE", "description": null, "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "Badge", "description": "Communicates a user's status in chat.", "fields": [ { "name": "clickAction", "description": "Identifies an action to trigger when this badge is clicked.", "args": [], "type": { "kind": "ENUM", "name": "BadgeClickAction", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "clickURL", "description": "The URL to redirect to if the badge's clickAction is VISIT_URL.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": "A localized, human-friendly description of the badge.\nDefaults to English if no translation exists for the requested locale.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The badge's unique identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "imageURL", "description": "A URL to the badge's image.", "args": [ { "name": "size", "description": null, "type": { "kind": "ENUM", "name": "BadgeImageSize", "ofType": null }, "defaultValue": "NORMAL" } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "setID", "description": "The identifier of the set which this badge belongs (e.g. \"subscriber\").", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "A localized, human-friendly title for the badge.\nDefaults to English if no translation exists for the requested locale.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "user", "description": "The badge's associated broadcaster.\nReturns null if this is a global badge.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "version", "description": "The badge's version (e.g. \"1mo\").", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "BadgeClickAction", "description": "Enumerates possible badge click actions.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "SUBSCRIBE", "description": "Go to the user's subscription page.", "isDeprecated": false, "deprecationReason": null }, { "name": "GET_TURBO", "description": "Go to the Twitch Turbo purchasing page.", "isDeprecated": false, "deprecationReason": null }, { "name": "GET_BITS", "description": "Go to the Bits purchasing page.", "isDeprecated": false, "deprecationReason": null }, { "name": "VISIT_URL", "description": "Redirect the user to the badge click URL.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "BadgeDomain", "description": "Domains that badges belong to.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "CRATE", "description": "Badges that were granted via Twitch crates.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "BadgeImageSize", "description": "Enumerates valid badge image sizes.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "NORMAL", "description": "The base badge image size: 18x18.", "isDeprecated": false, "deprecationReason": null }, { "name": "DOUBLE", "description": "Double the normal badge image size: 36x36.", "isDeprecated": false, "deprecationReason": null }, { "name": "QUADRUPLE", "description": "Quadruple the normal badge image size: 72x72.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "BadgePurchaseToken", "description": "BadgePurchaseToken provides information related to a consumable purchase\ntoken about recently acquired badges.", "fields": [ { "name": "badge", "description": "badge is the badge associated with the purchase token.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Badge", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "id is the unique badge identifier for the purchase token.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "PurchaseTokenItem", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "BanUserFromChatRoomError", "description": null, "fields": [ { "name": "code", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "BanUserFromChatRoomErrorCode", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "maxTimeoutDurationSeconds", "description": "On DURATION_INVALID, maximum number of seconds a user can be timed out for.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "minTimeoutDurationSeconds", "description": "On DURATION_INVALID, minimum number of seconds a user can be timed out for.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "BanUserFromChatRoomErrorCode", "description": null, "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "FORBIDDEN", "description": "User does not have permission to ban in channel.", "isDeprecated": false, "deprecationReason": null }, { "name": "TARGET_NOT_FOUND", "description": "Target does not exist.", "isDeprecated": false, "deprecationReason": null }, { "name": "TARGET_IS_SELF", "description": "User tried to ban themselves.", "isDeprecated": false, "deprecationReason": null }, { "name": "TARGET_IS_ANONYMOUS", "description": "User tried to ban anonymous user.", "isDeprecated": false, "deprecationReason": null }, { "name": "TARGET_IS_MOD", "description": "User tried to ban a moderator without permission.", "isDeprecated": false, "deprecationReason": null }, { "name": "TARGET_IS_BROADCASTER", "description": "User tried to ban broadcaster.", "isDeprecated": false, "deprecationReason": null }, { "name": "TARGET_IS_STAFF", "description": "User tried to ban staff.", "isDeprecated": false, "deprecationReason": null }, { "name": "TARGET_IS_ADMIN", "description": "User tried to ban admin.", "isDeprecated": false, "deprecationReason": null }, { "name": "TARGET_IS_GLOBAL_MOD", "description": "User tried to ban global mod.", "isDeprecated": false, "deprecationReason": null }, { "name": "TARGET_ALREADY_BANNED", "description": "User tried to ban already banned user.", "isDeprecated": false, "deprecationReason": null }, { "name": "DURATION_INVALID", "description": "Duration provided was too short or too long.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "BanUserFromChatRoomInput", "description": null, "fields": null, "inputFields": [ { "name": "bannedUserLogin", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "channelID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "expiresIn", "description": "This argument accepts a string specifying a duration.\nIt takes a succession of a number (positive integer) and a time unit, one of:\ns[econd[s]], m[inute[s]], h[our[s]], d[ay[s]], w[eek[s]], mo[nth[s]].\nNumber/unit pairs can be contiguous or separated by spaces.\nValid examples: \"3d4h\" \"11 minutes\" \"2month\", \"1s\", \"12 second\"\nIf not provided, target is banned permanently.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "BanUserFromChatRoomPayload", "description": null, "fields": [ { "name": "ban", "description": "The new ban status of this user regarding the specified channel.", "args": [], "type": { "kind": "OBJECT", "name": "ChatRoomBanStatus", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "error", "description": "Mutation error caused by the user input.", "args": [], "type": { "kind": "OBJECT", "name": "BanUserFromChatRoomError", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "BanUserFromCommunityError", "description": "BanUserFromCommunityError is the error code while banning a user from a community.\nNOTE: Should have been named BanUserFromCommunityErrorCode.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "TARGET_USER_OWNER", "description": "User is unauthorized to ban the community's owner.", "isDeprecated": false, "deprecationReason": null }, { "name": "TARGET_USER_MOD", "description": "User is unauthorized to ban a community moderator.", "isDeprecated": false, "deprecationReason": null }, { "name": "TARGET_USER_SELF", "description": "User attempts to ban themselves.", "isDeprecated": false, "deprecationReason": null }, { "name": "TARGET_USER_STAFF", "description": "User attempts to ban a Twitch Staff member.", "isDeprecated": false, "deprecationReason": null }, { "name": "NOT_PERMITTED", "description": "User is not permitted to ban users from this community.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "BanUserFromCommunityInput", "description": null, "fields": null, "inputFields": [ { "name": "communityID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "reason", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "userID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "BanUserFromCommunityPayload", "description": null, "fields": [ { "name": "community", "description": "The community the user was banned from.", "args": [], "type": { "kind": "OBJECT", "name": "Community", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "error", "description": "An error code.", "args": [], "type": { "kind": "ENUM", "name": "BanUserFromCommunityError", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "user", "description": "The user that was banned.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "BanVideoCommenterInput", "description": null, "fields": null, "inputFields": [ { "name": "channelID", "description": "The id of the channel from where to ban commenter from.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "commenterID", "description": "The id of the commenter to ban.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "BanVideoCommenterPayload", "description": null, "fields": [ { "name": "user", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "BitsAdOffer", "description": "BitsAdOffer is an offer to earn bits by watching an ad or interacting with an engagement.", "fields": [ { "name": "bits", "description": "bits is the minimum number of bits received from watching an ad.\nSome ads may reward more, but this is the number displayed to the user before choosing to watch an ad for bits.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": "type is `BitsOfferType.AD`.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "BitsOfferType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "BitsOffer", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "BitsBadgeTier", "description": "Bits Badges with their associated settings.", "fields": [ { "name": "badge", "description": "The badge for this tier.", "args": [], "type": { "kind": "OBJECT", "name": "Badge", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isEnabled", "description": "Whether the badge is enabled for this threshold.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "threshold", "description": "The amount of bits a user must cheer to achieve this tier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "BitsBundleOffer", "description": "BitsBundleOffer is an offer to purchase a number of bits for a certain price.", "fields": [ { "name": "asin", "description": "asin is the Amazon Standard Identification Number for this offer.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "bits", "description": "bits is the number of bits this offer provides.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "discount", "description": "discount is the bulk discount this offer provides compared to the base offer [0.0-1.0).", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "includesVAT", "description": "includesVAT is a boolean flag to indicate that the Value Added Tax (VAT)\nis included in the price of a Bits product. This is important for Bits prices \nin EU.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isPromo", "description": "isPromo is a flag that signifies if the offer is a promotional offer. This is for clients that\nneed to display promotional offers differently.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "price", "description": "price is the formatted currency cost of this offer to be displayed to the user.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "promotion", "description": "promotion contains information about this bits offer if it is a promotional offer. Is null if the offer is not promotional.", "args": [], "type": { "kind": "OBJECT", "name": "BitsPromotion", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": "type is `BitsOfferType.BUNDLE`.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "BitsOfferType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "url", "description": "url is the purchase URL to use for this offer.\nThe url contains a `{channelID}` token which should be replaced by the `User.id` of the channel bits are being purchased from.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "BitsOffer", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "BitsHashtagConnection", "description": "A list of hashtags to use in chat while using bits.", "fields": [ { "name": "edges", "description": "The list of BitsHashtagEdges.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BitsHashtagEdge", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "BitsHashtagEdge", "description": "BitsHashtagEdge contains.", "fields": [ { "name": "cursor", "description": "The cursor of the record. This will be the BitsHashtagEdge ID.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Cursor", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The node of the edge contains all information about the hashtag.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BitsHashtagEntry", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "BitsHashtagEntry", "description": "BitsHashtagEntry contains information about a hashtag, sucn as the description and image URL for display.", "fields": [ { "name": "description", "description": "description text.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The ID, which would be the hashtag value.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "imageURL", "description": "An image to display in autocomplete.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "BitsLeaderboard", "description": "BitsLeaderboard contains the leaderboard for a specified channel.", "fields": [ { "name": "entries", "description": "entries is the list of users in the leaderboard ordered by the number of bits cheered.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BitsLeaderboardConnection", "ofType": null } }, "isDeprecated": true, "deprecationReason": "the ID field is not unique between leaderboards on leaderboard entries. Use leaderboard item." }, { "name": "id", "description": "id is the id of this leaderboard.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "items", "description": "items is the list of users in the leaderboard ordered by the number of bits cheered.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BitsLeaderboardItemConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "secondsRemaining", "description": "SecondsRemaining is the number of seconds left before the leaderboard expires (or zero for all-time).", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "BitsLeaderboardConnection", "description": "Bits leaderboard connection is used to show the various leaderboard entries.", "fields": [ { "name": "edges", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "BitsLeaderboardEdge", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "BitsLeaderboardEdge", "description": "BitsLeaderboardEdge describes an edge in a bits leaderboard.", "fields": [ { "name": "cursor", "description": "The cursor for this leaderboard edge.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The leaderboard entry at this edge.", "args": [], "type": { "kind": "OBJECT", "name": "BitsLeaderboardEntry", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "BitsLeaderboardEntry", "description": "Leaderboard entry at a specific node in a leaderboard connection.", "fields": [ { "name": "id", "description": "id the id of this leaderboard entry.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "rank", "description": "rank the ordinal rank of this leaderboard entry.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "score", "description": "score the number of bits cheered by this leaderboard entry.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "BitsLeaderboardItem", "description": "Leaderboard item at a specific node in a leaderboard connection.", "fields": [ { "name": "entryKey", "description": "entryKey the key of this leaderboard item.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "id the id of this leaderboard item.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "rank", "description": "rank the ordinal rank of this leaderboard item.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "score", "description": "score the number of bits cheered by this leaderboard entry.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "BitsLeaderboardItemConnection", "description": "Bits leaderboard connection is used to show the various leaderboard items.", "fields": [ { "name": "edges", "description": "edges ...", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "BitsLeaderboardItemEdge", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "pageInfo ...", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "totalCount", "description": "totalCount ...", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "BitsLeaderboardItemEdge", "description": "BitsLeaderboardItemEdge describes an edge in a bits leaderboard.", "fields": [ { "name": "cursor", "description": "The cursor for this leaderboard edge.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Cursor", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The leaderboard entry at this edge.", "args": [], "type": { "kind": "OBJECT", "name": "BitsLeaderboardItem", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "BitsLeaderboardSettings", "description": "BitsLeaderboardSettings are channel-specific settings related to Bits Leaderboards.", "fields": [ { "name": "isEnabled", "description": "isEnabled indicates if the Bits leaderboard is pinned in this channel.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "timePeriodType", "description": "timePeriodType indicates whether the leaderboard type is of WEEKLY, ALL-TIME, etc.", "args": [], "type": { "kind": "ENUM", "name": "LeaderboardTimePeriodType", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INTERFACE", "name": "BitsOffer", "description": "BitsOffer is a way to obtain more bits.", "fields": [ { "name": "bits", "description": "bits is the number of bits this offer grants.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": "type is the kind of offer object.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "BitsOfferType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "BitsAdOffer", "ofType": null }, { "kind": "OBJECT", "name": "BitsBundleOffer", "ofType": null } ] }, { "kind": "ENUM", "name": "BitsOfferType", "description": "BitsOfferType is the kind of offer.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "AD", "description": "AD is an advertisement or other engagement that can be watched to earn bits.", "isDeprecated": false, "deprecationReason": null }, { "name": "BUNDLE", "description": "BUNDLE is a standard package of bits that can be purchased for a price.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "BitsPromotion", "description": null, "fields": [ { "name": "id", "description": "id indicates the particular promo that this offer is associated with.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": "PromoType indicates the type of promo that the offer represents i.e First time purchase, single purchase, etc...", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "BitsPurchaseToken", "description": "BitsPurchaseToken provides information related to a consumable purchase \ntoken about recently acquired bits.", "fields": [ { "name": "id", "description": "id is the unique bits identifier for the purchase token.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "quantity", "description": "quantity is the quantity of bits acquired.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "PurchaseTokenItem", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "BlizzardAccountConnectionStatus", "description": "The information about the connection status of a blizzard service.", "fields": [ { "name": "battleTag", "description": "Returns battletag if available. Can be string or nil.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "hasConnection", "description": "Indicates whether or not a connection exists. Can be true or false.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "BlizzardUser", "description": "Information regarding a Blizzard account that is linked to Twitch.", "fields": [ { "name": "battleTag", "description": "The BattleTag that is stored for the user.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The Blizzard ID that is stored for the user.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "region", "description": "The region the Blizzard account is from.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "BlockContext", "description": "Location from where the current user blocked target user.\nNOTE: it is onlyl used from the block_user mutation, this enum should have been named BlockUserContext and be placed in the same mutation file.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "WHISPER", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "CHAT", "description": null, "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "BlockUserInput", "description": null, "fields": null, "inputFields": [ { "name": "reason", "description": "Reason the user is being blocked.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "sourceContext", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "BlockContext", "ofType": null } }, "defaultValue": null }, { "name": "targetUserID", "description": "ID of user to block.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "BlockUserPayload", "description": null, "fields": [ { "name": "targetUser", "description": "User that was blocked.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "User", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "SCALAR", "name": "Boolean", "description": "The `Boolean` scalar type represents `true` or `false`.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Bounty", "description": "A bounty is a task that a user can complete for a payout.", "fields": [ { "name": "campaign", "description": "The campaign that this bounty belongs to.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BountyCampaign", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "endAt", "description": "When the bounty ends.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The bounty's unique identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "lastModifiedAt", "description": "When the bounty was last modified.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "payoutCents", "description": "The total payout for completing this bounty in cents.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "restriction", "description": "Restrictions for this bounty.", "args": [], "type": { "kind": "OBJECT", "name": "BountyRestriction", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "startAt", "description": "When the bounty starts.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "status", "description": "The status of the bounty.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "BountyStatus", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "BountyBoardSettings", "description": "Bounty board settings configure how a user can interact with the Bounty Boards feature.", "fields": [ { "name": "isEnabled", "description": "This determines whether the user has the Bounty Boards feature enabled.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "BountyCampaign", "description": "A campaign defines the requirements and parameters for a set of bounties.", "fields": [ { "name": "bountyLengthDays", "description": "The length of this campaign's bounties (in days).", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "details", "description": "Details for this campaign.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "endAt", "description": "When the campaign ends.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "game", "description": "The game identifier that is related to this campaign.", "args": [], "type": { "kind": "OBJECT", "name": "Game", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The campaign's unique identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "sponsor", "description": "The sponsor that is funding this campaign (ie. Amazon Game Studios).", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "startAt", "description": "When the campaign starts.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "termsAndConditionsURL", "description": "The URL for the terms and conditions page.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "The title of the campaign (ie. Stream Breakaway for 1 hour).", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": "The type of the campaign (ie. PAY_TO_STREAM).", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "BountyCampaignType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "BountyCampaignType", "description": "Represents the type of the campaign.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "PAY_TO_STREAM", "description": "A user is paid to stream specific content for a set length.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "BountyRestriction", "description": "Defines the restrictions that are placed on a bounty.", "fields": [ { "name": "days", "description": "The days of the week that a bounty can be completed on. The values are from 0 to 6, representing day of the week from Monday to Sunday.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "endTime", "description": "The end of the time period that a bounty can be completed in. This is in 24-hour clock notation, so 2100 means 9 PM UTC.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "startTime", "description": "The start of the time period that a bounty can be completed in. This is in 24-hour clock notation, so 1000 means 10 AM UTC.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "BountyStatus", "description": "Represents all the possible bounty statuses.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "AVAILABLE", "description": "The bounty can be claimed by the user.", "isDeprecated": false, "deprecationReason": null }, { "name": "LIVE", "description": "The bounty has been claimed by the user and is in progress.", "isDeprecated": false, "deprecationReason": null }, { "name": "COMPLETED", "description": "The bounty was completed successfully.", "isDeprecated": false, "deprecationReason": null }, { "name": "CANCELLED", "description": "The bounty was cancelled before it was completed.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "Broadcast", "description": "A historical representation of a live stream.", "fields": [ { "name": "game", "description": "The game which was last streamed during the broadcast.", "args": [], "type": { "kind": "OBJECT", "name": "Game", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The broadcast's unique identifier.", "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "startedAt", "description": "When the broadcast started.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "The title of the broadcast.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "BroadcastSettings", "description": "Settings for a User's broadcast that persist between streams.", "fields": [ { "name": "game", "description": "The game that the user has set as their current game. This will influence what the game field on a Streams object is when the User starts streaming.", "args": [], "type": { "kind": "OBJECT", "name": "Game", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The broadcast setting's unique identifier.\nThis happens to be the same as the User's ID, but should not be assumed to have any meaning.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isMature", "description": "A flag indicating if the user's broadcast is intended for mature audiences only.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "language", "description": "The primary language that the user has configured for their broadcasts. The default value is \"\", when the user has not indicated a primary language.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "Language", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "The title of the user's broadcast. The default value is \"\", when the user has not indicated a title.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "BroadcastType", "description": "Describes from which source the video originated.\nNOTE: Should have been named VideoBroadcastType.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "ARCHIVE", "description": "If the video is of a past broadcast, it's an ARCHIVE.", "isDeprecated": false, "deprecationReason": null }, { "name": "HIGHLIGHT", "description": "When the video is a subsection of a past broadcast, it's a HIGHLIGHT.", "isDeprecated": false, "deprecationReason": null }, { "name": "UPLOAD", "description": "(Legacy) When the video is directly uploaded to Twitch via the upload tool, it's an UPLOAD.", "isDeprecated": false, "deprecationReason": null }, { "name": "PREMIERE_UPLOAD", "description": "When the video is directly uploaded to Twitch via the video manager, it's an PREMIERE_UPLOAD.", "isDeprecated": false, "deprecationReason": null }, { "name": "PAST_PREMIERE", "description": "When a video has been premiered on Twitch and is saved, it's a PAST_PREMIERE.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "CancelBountyError", "description": "Error code for an error that occurs while canceling the bounty.", "fields": [ { "name": "code", "description": "Error code for error that occurred while canceling the bounty.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CancelBountyErrorCode", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "CancelBountyErrorCode", "description": "Error types recognized.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "INVALID_PARAMETER", "description": "Invalid parameter in the request.", "isDeprecated": false, "deprecationReason": null }, { "name": "BOUNTY_NOT_LIVE", "description": "Bounty isn't live, thus cannot be canceled.", "isDeprecated": false, "deprecationReason": null }, { "name": "UNKNOWN_ERROR", "description": "Unknown error being returned from service.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CancelBountyInput", "description": "CancelBountyInput includes the bounty a user is trying to cancel.", "fields": null, "inputFields": [ { "name": "bountyID", "description": "Unique Identifier for the bounty.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "reason", "description": "Reason that the user canceled the bounty.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "userID", "description": "UserID of the user that will cancel the bounty.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CancelBountyPayload", "description": "Data that was mutated after canceling the bounty.", "fields": [ { "name": "bounty", "description": "The canceled bounty with the updated status.", "args": [], "type": { "kind": "OBJECT", "name": "Bounty", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "error", "description": "The possible error returned from the service.", "args": [], "type": { "kind": "OBJECT", "name": "CancelBountyError", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "user", "description": "The user that now has the canceled bounty.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CancelFriendRequestInput", "description": null, "fields": null, "inputFields": [ { "name": "targetID", "description": "The authenticated user will cancel the friend request sent to the user with an ID equal to targetID.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CancelFriendRequestPayload", "description": null, "fields": [ { "name": "user", "description": "The user whose friend request was just cancelled.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CancelPayoutOnboardingWorkflowInput", "description": "CancelPayoutOnboardingWorkflowInput returns the required input when starting a new workflow for payout onboarding.", "fields": null, "inputFields": [ { "name": "targetUserID", "description": "TargetUserID is the ID of the user whose workflow will be started.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CancelPayoutOnboardingWorkflowPayload", "description": "CancelPayoutOnboardingWorkflowPayload is the payload returned after canceling a payout onboarding workflow.", "fields": [ { "name": "workflow", "description": "A new workflow status.", "args": [], "type": { "kind": "OBJECT", "name": "PayoutOnboardingWorkflow", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Channel", "description": null, "fields": [ { "name": "broadcasterLanguage", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use stream.language instead." }, { "name": "createdAt", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use user.createdAt instead." }, { "name": "displayName", "description": "The channel's name, with user-specified formatting.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use user.displayName instead." }, { "name": "followers", "description": "A paginated list of the users who follow this channel.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "FollowerConnection", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use user.followers instead." }, { "name": "follows", "description": "A paginated list of the users this channel is following.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "FollowConnection", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use user.follows instead." }, { "name": "game", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use user.lastBroadcast.game.name instead." }, { "name": "id", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use user.id instead." }, { "name": "isMature", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use stream.isMature instead." }, { "name": "name", "description": "The channel's name.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use user.login instead." }, { "name": "partnership", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "Partnership", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use user.isPartner instead." }, { "name": "profileBannerBackgroundColor", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": true, "deprecationReason": "This field will be removed since it's unused." }, { "name": "profileBannerURL", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use user.bannerImageURL instead" }, { "name": "status", "description": "A user-defined status message.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use user.lastBroadcast.title instead." }, { "name": "stream", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "Stream", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use user.stream instead." }, { "name": "subscriptionProducts", "description": null, "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionProduct", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use user.subscriptionProducts instead." }, { "name": "updatedAt", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use user.updatedAt instead." }, { "name": "url", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use user.profileURL instead." }, { "name": "videoBannerURL", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use user.offlineImageURL instead." }, { "name": "videos", "description": "Get a paginated list of videos for this channel.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "type", "description": null, "type": { "kind": "ENUM", "name": "BroadcastType", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "VideoConnection", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use user.videos instead." }, { "name": "viewCount", "description": "The number of views a channel has received in its lifetime.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use user.profileViewCount instead." } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ChannelBannedUser", "description": "ChannelBannedUser is an object that defines metadata about a channel ban.", "fields": [ { "name": "bannedAt", "description": "When the ban was created.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "bannedUser", "description": "Representation of the banned user.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "modUser", "description": "Representation of the mod that banned the user.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ChannelBlockedTerm", "description": "ChannelBlockedTerm is an object that defines things that automod should permit in a channel.", "fields": [ { "name": "category", "description": "If the term is permitted or banned type.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "createdAt", "description": "When the term was created.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "expiresAt", "description": "When the term expires at.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isModEditable", "description": "If mods should be able to see and edit this term.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "phrases", "description": "phrases are the string representation of a term.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "source", "description": "Where the term came from, usually a mod user ID.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updatedAt", "description": "When the term was last updated.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ChannelNotificationSetting", "description": null, "fields": [ { "name": "category", "description": "The setting category.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isEnabled", "description": "Whether this setting is on or off for the given event.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "settingState", "description": "The exact state of the setting. (\"on\", \"off\", \"friends_only\", etc).", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ChannelNotificationSettings", "description": "Data about notification settings for a follow relationship.", "fields": [ { "name": "isEnabled", "description": "If true, enabled notifications will be send. If false, all notifications are disabled, even if their individual setting is enabled.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "nodes", "description": "A list of channel notification settings.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ChannelNotificationSetting", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ChannelPermittedTerm", "description": "ChannelPermittedTerm is an object that defines things that automod should permit in a channel.", "fields": [ { "name": "category", "description": "If the term is permitted or banned type.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "createdAt", "description": "When the term was created.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "expiresAt", "description": "When the term expires at.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isModEditable", "description": "If mods should be able to see and edit this term.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "phrases", "description": "phrases are the string representation of a term.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "source", "description": "Where the term came from, usually a mod user ID.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updatedAt", "description": "When the term was last updated.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ChatMessage", "description": "Cheer is a chat message that uses bits to include cheermotes.", "fields": [ { "name": "author", "description": "author is the `User` who sent this message.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "authorColor", "description": "authorColor is the sender's preferred display name color at the time the message was sent.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "authorName", "description": "authorName is the historical value of `author.displayName` at the time the message was sent.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "badges", "description": "badges is the list of `Badge` to display on this message.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "Badge", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "bitsUsed", "description": "bitsUsed is the number of bits used in this message.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "body", "description": "body is the message content and embedded emote info.", "args": [], "type": { "kind": "OBJECT", "name": "MessageBody", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createdAt", "description": "createdAt is the time this message was sent.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "id is the unique message identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ChatRoomBanStatus", "description": null, "fields": [ { "name": "bannedUser", "description": "The user being banned of this chat.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createdAt", "description": "The time the ban was imposed.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "expiresAt", "description": "The time at which the ban will automatically expire.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isPermanent", "description": "Conveys if the ban is permanent.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "moderator", "description": "The moderator that carried out the action.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "roomOwner", "description": "The entity representing the users channel or chat room.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ChatSettings", "description": "ChatSettings are settings and rules for chatting in a channel.", "fields": [ { "name": "autoModLevel", "description": "AutoModLevel is an integer from 0-4 representing the level of automoderation of chat\n0 is off, 4 is the highest level of moderation.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "blockLinks", "description": "blockLinks indicates if links should be deleted from non-mod messages.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "chatDelayMs", "description": "chatDelayMs is the delay before non-mods see a message.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isBroadcasterLanguageModeEnabled", "description": "isBroadcasterLanguageModeEnabled indicates if the broadcaster requires chat messages to\nmatch their language.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isOptedOutOfGlobalBannedWordsList", "description": "If isOptedOutOfGlobalBannedWordsList is true, the legacy twitch banned words list will\nbe inserted into automod if the channel has automod enabled.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "requireVerifiedAccount", "description": "requireVerifiedAccount indicates if users must be verified to chat.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "rules", "description": "rules is a list of rules to display to users when joining a chat channel.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "ChatTheme", "description": "ChatTheme is a client-side UI theme.\nIt can be used to provide different images based on the dominant background color they are designed to display on.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "DARK", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "LIGHT", "description": null, "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "CheerInfo", "description": "CheerInfo is the channel-specific bits/cheer settings and current state.", "fields": [ { "name": "availableBadges", "description": "Gets the list of available bits badges the user offers.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Badge", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "emotes", "description": "emotes are the metadata about the different cheermotes that can be use to cheer in this channel.\nThis can optionally be filtered to return only certain cheermotes. If `prefixes` is null or empty\nall available cheermotes will be returned.", "args": [ { "name": "prefixes", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "Cheermote", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "hashtags", "description": "hashtags for augmenting cheering with different actions, such as #charity will donate bits to\ncharity, or like #eddie to cheer and support Eddie.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "BitsHashtagConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "leaderboard", "description": "leaderboard contains the top users by number of bits cheered for the channel.", "args": [ { "name": "first", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "BitsLeaderboard", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "recent", "description": "recent is the currently pinned recent cheer.\nIf no recent cheer is pinned this will be null.", "args": [], "type": { "kind": "OBJECT", "name": "ChatMessage", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "recentTimeoutMs", "description": "recentTimeoutMs is the remaining duration the recent message will be pinned for.\nIf no recent cheer is pinned this will be zero.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "settings", "description": "settings are the channel-specific cheer settings.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheerSettings", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "top", "description": "top is the currently pinned top cheer.\nIf no top cheer is pinned this will be null.", "args": [], "type": { "kind": "OBJECT", "name": "ChatMessage", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheerPartnerBadgeSettings", "description": "Bits partner settings associated with the badges.", "fields": [ { "name": "tiers", "description": "A list of tiers, starting from 1 bit to as high as 5,000,000 bits.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BitsBadgeTier", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheerPartnerChatMessageSettings", "description": "Bits partner settings associated with the chat message.", "fields": [ { "name": "minBitsPerEmote", "description": "The minimum setting that controls the minimum bits that must be part of a cheer emote.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "minBitsToCheer", "description": "The minimum setting that controls the minimum amount a user must cheer in the channel.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheerPartnerCustomPrefixSettings", "description": "Bits partner settings for custom cheermote prefix.", "fields": [ { "name": "isEnabled", "description": "Flag that is set if the user has the custom cheermote prefix enabled.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "prefix", "description": "The prefix string that is used in their channel for their custom cheermote.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheerPartnerLeaderboardSettings", "description": "Bits partner dashboard settings for the bits leaderboard.", "fields": [ { "name": "isEnabled", "description": "Flag that is true if the user has bits leaderboards turned on.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "timePeriod", "description": "The time period the user wants the leaderboard to be displayed as.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "LeaderboardTimePeriodType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheerPartnerRecentCheerSettings", "description": "Bits partner settings associated with recent cheers.", "fields": [ { "name": "canPin", "description": "Flag that when true pins the recent cheer to their channel.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "minimumBits", "description": "The minimum bits a user must cheer to show their cheer on the chat header.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "timeoutMilliseconds", "description": "The amount of time a recent cheer is shown before being dismissed.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheerPartnerSettings", "description": "Cheer settings, configured in their partner dashboard.", "fields": [ { "name": "badges", "description": "Partner settings related to bit badges.", "args": [], "type": { "kind": "OBJECT", "name": "CheerPartnerBadgeSettings", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "chatMessage", "description": "Partner settings related to chat messages with bits.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheerPartnerChatMessageSettings", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "customPrefix", "description": "Partner settings related to the custom cheermote prefix.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheerPartnerCustomPrefixSettings", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "An ID used for caching purposes for Apollo.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isOnboarded", "description": "Flag that is set when a user has been onboarded for bits usage.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "leaderboard", "description": "Partner settings related to the bits leaderboard.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheerPartnerLeaderboardSettings", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "recentCheer", "description": "Partner settings related to the recent cheer message.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheerPartnerRecentCheerSettings", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheerSettings", "description": "CheerSettings are the channel-specific cheer settings.", "fields": [ { "name": "cheerMinimumBits", "description": "cheerMinimumBits is the minimum number of bits per message (sum of all cheermotes) required to cheer in this channel.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "emoteMinimumBits", "description": "emoteMinimumBits is the smallest number of bits that can be spent on an individual cheermote in this channel.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "event", "description": "event is the name of a special cheering event this channel is currently participating in.\nIf there is no current event this will return null.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isRecentEnabled", "description": "isRecentEnabled indicates if recent cheers are pinned in this channel.\nThis can be used by a client to update `CheerInfo.recent` as new cheers are received.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isTopEnabled", "description": "isTopEnabled indicates if top cheers are pinned in this channel.\nThis can be used by a client to update `CheerInfo.top` as new cheers are received.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "leaderboard", "description": "leaderboard contains all of the Bits settings related to Bits Leaderboards for this channel.", "args": [], "type": { "kind": "OBJECT", "name": "BitsLeaderboardSettings", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "recentMinimumBits", "description": "recentMinimumBits is the number of bits required for a cheer to be pinned.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "recentTimeoutMs", "description": "recentTimeoutMs is the amount of time a pinned recent message should be displayed for.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Cheermote", "description": "Cheermote is the metadata about different variations of a single cheermote that can be use to cheer in this channel.", "fields": [ { "name": "id", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "prefix", "description": "prefix for this cheering action (Kappa, cheer, Kreygasm, etc).\nAny case-insensitive match of this prefix directly followed by a number\n(Kappa100, kappa100, kApPa100, etc) is to be considered a cheering message.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "tiers", "description": "tiers are bits breakpoints for different images for this cheermote.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "CheermoteTier", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": "type is the kind of cheermote (custom vs 1st- or 3rd-party global).", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CheermoteType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheermoteImage", "description": "CheermoteImage is a single image variation of a `CheermoteTier`.", "fields": [ { "name": "dpiScale", "description": "dpiScale is the scale of the cheermote image.\nCurrently available scales are: 1, 1.5, 2, 3, or 4.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isAnimated", "description": "isAnimated is true for animated cheermotes and false otherwise.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "theme", "description": "theme is the UI theme the cheermote is designed to be rendered on.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ChatTheme", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "url", "description": "url is the URL of the image asset.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CheermoteTier", "description": "CheermoteTier has information about a single tier of a cheermote.", "fields": [ { "name": "bits", "description": "bits is the minimum number of bits that are required to render this tier.\nTo render at this tier the cheemote must have used >= this minimum but < the next smallest tier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "canCheer", "description": "Can this cheer tier be used as a cheermote.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "color", "description": "color is the hex color used to render the number of bits for this tier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "images", "description": "images are urls for the cheermote that match various settings.\nThis can optionally be filtered to only certain variations or called without arguments to return all available images.", "args": [ { "name": "theme", "description": null, "type": { "kind": "ENUM", "name": "ChatTheme", "ofType": null }, "defaultValue": null }, { "name": "isAnimated", "description": null, "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null }, { "name": "dpiScale", "description": null, "type": { "kind": "SCALAR", "name": "Float", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "CheermoteImage", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "tierID", "description": "tierID of this specific cheermote icon. For \"Kappa100\" this will be \"100\".", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "CheermoteType", "description": "CheermoteType is the kind of cheermore (custom vs 1st- or 3rd-party global).", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "CUSTOM", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "FIRST_PARTY", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "THIRD_PARTY", "description": null, "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "ClaimAllRewardsInput", "description": "ClaimAllRewardsInput includes the domain that a user is trying to claim all rewards for.", "fields": null, "inputFields": [ { "name": "domain", "description": "The ID used to uniquely identify the campaign domain.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "userID", "description": "The user claiming the milestone.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ClaimAllRewardsPayload", "description": "ClaimAllRewardsPayload is the payload of rewards returned by ClaimAllRewards.", "fields": [ { "name": "domain", "description": "The ID used to uniquely identify the campaign domain.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "rewards", "description": "List of rewards that are successfully claimed.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TournamentReward", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ClaimBountyError", "description": "Error code for an error that occurs while claiming the bounty.", "fields": [ { "name": "code", "description": "Error code for error that occurred while claiming the bounty.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ClaimBountyErrorCode", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "ClaimBountyErrorCode", "description": "Error types recognized.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "INVALID_PARAMETER", "description": "Invalid parameter in the request.", "isDeprecated": false, "deprecationReason": null }, { "name": "BOUNTY_LIMIT_REACHED", "description": "User reached the maximum number of bounties.", "isDeprecated": false, "deprecationReason": null }, { "name": "BOUNTY_ALREADY_CLAIMED", "description": "User already claimed that bounty.", "isDeprecated": false, "deprecationReason": null }, { "name": "UNKNOWN_ERROR", "description": "Unknown error being returned from service.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "ClaimBountyInput", "description": "ClaimBountyInput includes the bounty a user is trying to claim.", "fields": null, "inputFields": [ { "name": "bountyCampaignID", "description": "Unique Identifier for the bounty campaign.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "bountyID", "description": "Unique Identifier for the bounty.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "userID", "description": "UserID of the user that will claim the bounty.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ClaimBountyPayload", "description": "Data that was mutated after claiming the bounty.", "fields": [ { "name": "claimedBounty", "description": "The claimed bounty with the updated status.", "args": [], "type": { "kind": "OBJECT", "name": "Bounty", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "error", "description": "The possible error returned from the service.", "args": [], "type": { "kind": "OBJECT", "name": "ClaimBountyError", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "user", "description": "The user that now has the claimed bounty.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "ClaimMilestoneInput", "description": "ClaimMilestoneInput includes the milestoneID a user is trying to claim.", "fields": null, "inputFields": [ { "name": "milestoneID", "description": "The ID used to uniquely identify the milestone.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "userID", "description": "The user claiming the milestone.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ClaimMilestonePayload", "description": "ClaimMilestonePayload is the payload of rewards returned by ClaimMilestone.", "fields": [ { "name": "milestoneID", "description": "The ID used to uniquely identify the milestone.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "rewards", "description": "List of rewards that are successfully claimed.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TournamentReward", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ClaimPrimeOfferError", "description": "Error code for an error that occurs while claiming prime offer.", "fields": [ { "name": "code", "description": "Error code for error that occurred while claiming prime offer.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ClaimPrimeOfferErrorCode", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "ClaimPrimeOfferErrorCode", "description": "Error types recognized.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "OFFER_ALREADY_CLAIMED", "description": "Status when offer is already claimed by the current user or an associated account.", "isDeprecated": false, "deprecationReason": null }, { "name": "UNKNOWN", "description": "Unknown error being returned from service.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "ClaimPrimeOfferInput", "description": null, "fields": null, "inputFields": [ { "name": "offerID", "description": "Unique Identifier for an offer.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ClaimPrimeOfferPayload", "description": "Data that was mutated after claiming the prime offer, in this case, the entitlement.", "fields": [ { "name": "error", "description": "The possible error returned from the service.", "args": [], "type": { "kind": "OBJECT", "name": "ClaimPrimeOfferError", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "self", "description": "The connection for whether the user is entitled to the offer.", "args": [], "type": { "kind": "OBJECT", "name": "PrimeOfferSelfConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ClearUnreadFriendRequestsPayload", "description": "ClearUnreadFriendRequestsPaylod is the payload returned by ClearUnreadFriendRequests.", "fields": [ { "name": "user", "description": "The modified user.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ClientAuthorization", "description": "The authorization a user has provided to an OAuth client.", "fields": [ { "name": "clientID", "description": "The ID of the client.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "clientName", "description": "The name of the client.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createdAt", "description": "The time when the authorization was created.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Clip", "description": "A recorded, replayable part of a live broadcast.", "fields": [ { "name": "broadcast", "description": "The broadcast of the clip. This should only be used to fetch the ID of the broadcast.\nBecause not all videos have broadcasts (e.g. uploads), not all clips will have a broadcast.", "args": [], "type": { "kind": "OBJECT", "name": "Broadcast", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "broadcaster", "description": "The broadcaster from which the clip originated.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "champBadge", "description": "The curator's clip champ badge if it has been attained on the broadcaster's channel.\nThis will be null if the curator is not a clip champ of the broadcaster's channel.", "args": [], "type": { "kind": "OBJECT", "name": "Badge", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createdAt", "description": "The time when the clip was created.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "creationState", "description": "Different video qualities are being created in the background.\nThe creation state indicates when the source quality clip is playable\nand transcoding of the clip in other video qualities has begun.", "args": [], "type": { "kind": "ENUM", "name": "ClipCreationState", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "curator", "description": "The user who created the clip.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "durationSeconds", "description": "The duration of the clip, in seconds.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "embedURL", "description": "The URL used in the embed player.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "game", "description": "The game depicted in the clip.", "args": [], "type": { "kind": "OBJECT", "name": "Game", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The clip's unique identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "language", "description": "The language of the clip.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "Language", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "rawMedia", "description": "Metadata around the raw media.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ClipRawMedia", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "rawVideoQualities", "description": "The different quality options of this clip's raw media used for editing.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ClipVideoQuality", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "reactions", "description": "The reactions associated with this clips.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "Reaction", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "relatedClips", "description": "Lists of related clips based on different algorithms.", "args": [], "type": { "kind": "OBJECT", "name": "ClipRelatedClips", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "slug", "description": "A URL-friendly identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "thumbnailURL", "description": "A URL to a thumbnail image.\nValid sizes are \"86x45\", \"260x147\", and \"480x272\".", "args": [ { "name": "width", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "260" }, { "name": "height", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "147" } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "The title of the clip.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "url", "description": "A URL to the clip's page.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "video", "description": "The video of the clip. Because not all broadcasts are archived, not all clips will\nhave a video.", "args": [], "type": { "kind": "OBJECT", "name": "Video", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "videoOffsetSeconds", "description": "The number of seconds into a VOD this clip was generated from.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "videoQualities", "description": "The different quality options of this clip available for playback.\nThe clip will first be available in the source video quality, indicated by when the\nclipCreationState is 'CREATED'. videoQualities will gradually be added to afterwards as\nmore video quality options become playable.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ClipVideoQuality", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "viewCount", "description": "The number of times this clip has been viewed.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ClipConnection", "description": "A list of clips related to the subject.", "fields": [ { "name": "edges", "description": "The clips.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "ClipEdge", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information about pagination in this connection.", "args": [], "type": { "kind": "OBJECT", "name": "PageInfo", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "ClipCreationState", "description": "An enumeration on the different status strings returned by a clip status.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "CREATING", "description": "The creating status indicates that the source quality video is still\nundergoing processing and transcoding.", "isDeprecated": false, "deprecationReason": null }, { "name": "CREATED", "description": "Clip has been successfully created in the source video quality.\nThe field videoQualities will be gradually added to with other quality options.", "isDeprecated": false, "deprecationReason": null }, { "name": "FAILED", "description": "Clip creation failed and will remain in this state.\nPossible errors can happen due to problems in downloading and slicing\nthe source of the original video, clipping offline channels, transcoding, etc.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "ClipEdge", "description": null, "fields": [ { "name": "cursor", "description": "Uniquely identifies this clip's position in a connection.", "args": [], "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The clip.", "args": [], "type": { "kind": "OBJECT", "name": "Clip", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ClipRawMedia", "description": "ClipRawMedia describes metadata about the clip's raw media used in clip editing.", "fields": [ { "name": "defaultClipInitialOffset", "description": "Default Offset is the seconds into the raw clip media the default clip begins at.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "duration", "description": "Total duration of the raw media.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "filmStripFrames", "description": "Total number of frames displayed in the spritesheet film strip.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "filmStripSecondsPerFrame", "description": "Seconds covered by each frame in the spritesheet film strip.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "frameHeight", "description": "Height of the frames displayed.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "frameWidth", "description": "Width of the frames displayed.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "spritesheetURL", "description": "Spritesheet displayed to user for clip editing.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "status", "description": "Status of the clip's raw media.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ClipCreationState", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "videoURL", "description": "URL link to the video mp4 containing to upwards of 90 seconds of the raw video from which the clip can be created from.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ClipRelatedClips", "description": "There are different algorithms that return a different set of related clips.\nThey only return up to 4 clips per list.", "fields": [ { "name": "broadcaster", "description": "Up-to 4 randomly selected, top viewed clips from the same broadcaster created within the last 4 days.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Clip", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "combined", "description": "Up-to 10 clips, in order, combined from the other returned clip sets.\nClips are included in the priority of similar, broadcaster, game, and then top.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Clip", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "curator", "description": "Up-to 4 randomly selected, top viewed clips from the same user created within the last 4 days.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Clip", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "game", "description": "Up-to 4 randomly selected, top viewed clips from the same game created within the last 4 days.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Clip", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "similar", "description": "Up-to 4 similar clips, based on the recommendations service.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Clip", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "top", "description": "Up-to 4 randomly selected, top viewed clips created within the last 4 days.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Clip", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "ClipSegmentInput", "description": "ClipSegmentInput represents a single segment of a clip.", "fields": null, "inputFields": [ { "name": "durationSeconds", "description": "The number of seconds this clip segment encompasses.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } }, "defaultValue": null }, { "name": "offsetSeconds", "description": "The offset into the clip's 90 second raw media.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } }, "defaultValue": null }, { "name": "speed", "description": "Valid input speeds are 0.25, 0.5, 1.0, 1.5, and 2.0.\nThe segment speed will be set to 1 by default if unspecified.", "type": { "kind": "SCALAR", "name": "Float", "ofType": null }, "defaultValue": "1.0" } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ClipVideoQuality", "description": "ClipVideoQuality describes metadata about an available playback source for a clip.", "fields": [ { "name": "frameRate", "description": "Frame rate is the number of frames per second of this video.\nThis value is a 64-bit float, with a default value of 30.0,\nand is used for supporting different playback speeds.\nFrame rate will be empty for raw media video qualities.", "args": [], "type": { "kind": "SCALAR", "name": "Float", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "quality", "description": "Clips can have multiple playback qualities via transcoding.\nSome examples of qualities include \"1080\", \"720\", \"480\", \"360\", and \"source\".", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "sourceURL", "description": "The source video URL for the clip in this specific playback quality.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "ClipsFilter", "description": "The set of methods to restrict clips results.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "TRENDING", "description": "Limit results to trending clips.", "isDeprecated": false, "deprecationReason": null }, { "name": "LAST_DAY", "description": "Limit results to clips created in the period between now and the last 24 hours.", "isDeprecated": false, "deprecationReason": null }, { "name": "LAST_WEEK", "description": "Limit results to clips created in the period between now and the last 7 days.", "isDeprecated": false, "deprecationReason": null }, { "name": "LAST_MONTH", "description": "Limit results to clips created in the period between now and the last 30 days.", "isDeprecated": false, "deprecationReason": null }, { "name": "ALL_TIME", "description": "No limit on clips creation period.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "ClipsPeriod", "description": "An enumeration on the different time frames to filter clips results based on\ncreation time.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "LAST_DAY", "description": "Limit results to clips created in the period between now and the last 24 hours.", "isDeprecated": false, "deprecationReason": null }, { "name": "LAST_WEEK", "description": "Limit results to clips created in the period between now and the last 7 days.", "isDeprecated": false, "deprecationReason": null }, { "name": "LAST_MONTH", "description": "Limit results to clips created in the period between now and the last 30 days.", "isDeprecated": false, "deprecationReason": null }, { "name": "ALL_TIME", "description": "No limit on when the clips were created.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "ClipsSort", "description": "An enumeration on the different sort orders of clips results.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "CREATED_AT_ASC", "description": "Sort the clips ascending by created_at.", "isDeprecated": false, "deprecationReason": null }, { "name": "CREATED_AT_DESC", "description": "Sort the clips descending by created_at.", "isDeprecated": false, "deprecationReason": null }, { "name": "VIEWS_ASC", "description": "Sort the clips ascending by views.", "isDeprecated": false, "deprecationReason": null }, { "name": "VIEWS_DESC", "description": "Sort the clips descending by views.", "isDeprecated": false, "deprecationReason": null }, { "name": "TRENDING", "description": "Sort the clips descending by popularity.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "Collection", "description": "Collection (a.k.a. Playlist) is a backend concept for a list of videos.", "fields": [ { "name": "id", "description": "The collection's identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "items", "description": "The paginated items in the collection. At this time, they will all be VoDs.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CollectionConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "lengthSeconds", "description": "Total length of the collection as summed from all video lengths.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "owner", "description": "The owner of the collection.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "state", "description": "Current state of the collection.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CollectionState", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "thumbnailURL", "description": "The thumbnailURL for the collection.\nIf either `height` or `width` are not given, a templated value (i.e. `{height}`, `{width}`) will be present in the URL instead.", "args": [ { "name": "height", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "width", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "The user-supplied title of the collection.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "updatedAt", "description": "Time when the collection was last updated.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "viewCount", "description": "The total view count of a collection.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CollectionConnection", "description": "A paginated list of videos, and its metadata.", "fields": [ { "name": "edges", "description": "The list of items in this page.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "CollectionItemEdge", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information about this page of videos.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "totalCount", "description": "The total number of items in the collection.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "UNION", "name": "CollectionItem", "description": "The types of objects that can be contained in a collection.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "Video", "ofType": null } ] }, { "kind": "OBJECT", "name": "CollectionItemEdge", "description": "A page entry, that contains a collection item and a cursor to return\nfrom the query to allow pagination.", "fields": [ { "name": "cursor", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Cursor", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "CollectionItem", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CollectionOptions", "description": "A Collection input to set options to include all items in a collection.", "fields": null, "inputFields": [ { "name": "includeAllItems", "description": "Include all playlist items including private and deleted items.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "CollectionState", "description": "Represents the state of a collection.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "PUBLIC", "description": "The collection is public.", "isDeprecated": false, "deprecationReason": null }, { "name": "PRIVATE", "description": "The collection is private.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "CollectionsConnection", "description": "These two types allow clients to query for a LIST of COLLECTIONS\n(i.e. a two-dimensional array of videos).", "fields": [ { "name": "edges", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "CollectionsItemEdge", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CollectionsItemEdge", "description": null, "fields": [ { "name": "cursor", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Collection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CollectionsOptions", "description": "A Collections Connection input to set options to include empty collections.", "fields": null, "inputFields": [ { "name": "includeEmpty", "description": null, "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CommerceAmendment", "description": "A user amendment for Commerce initiatives.", "fields": [ { "name": "id", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isSigned", "description": "If this amendment is signed or not.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "CommerceAmendmentType", "description": "Types of CommerceAmendments for UserTwitchConnection.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "GAME_COMMERCE", "description": "The game commerce amendment for purchase payouts.", "isDeprecated": false, "deprecationReason": null }, { "name": "GAME_COMMERCE_V2", "description": "The updated game commerce amendment for purchase payouts, to allow payouts for retail items.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "Community", "description": "A community is a social structure of Twitch users. Streamers may use them to\nreach viewers interested in a specific type of content, and viewers can use them\nto discover that content.", "fields": [ { "name": "avatarURL", "description": "URL to an avatar image.\nThe image dimensions are specifiable via the `height` and `width` parameters.\n\nIf `height` or `width` are not specified, the URL will contain\nthe template strings `{height}` and/or `{width}` in their respective places.", "args": [ { "name": "width", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "height", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "broadcastersCount", "description": "Number of broadcasters currently broadcasting in this community.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "communityType", "description": "Communities can have types: \"gaming\", \"creative\" or \"other\" (user-created communities).\nWhen you're sorting through communities, you can filter them by these types, optionally.", "args": [], "type": { "kind": "ENUM", "name": "CommunityType", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "coverURL", "description": "URL to a cover image.\nThe image dimensions are specifiable via the `height` and `width` parameters.\n\nIf `height` or `width` are not specified, the URL will contain\nthe template strings `{height}` and/or `{width}` in their respective places.", "args": [ { "name": "width", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "height", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": "A description of the community.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "directoryType", "description": "The type of directory – in this case, always COMMUNITY.", "args": [], "type": { "kind": "ENUM", "name": "DirectoryType", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "displayName", "description": "A publicly visible name used for display purposes.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "email", "description": "An email which serves a contact point for the community. Only the community\nowner can see the email.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "followersCount", "description": "Number of users that follow this community.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "A unique identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "language", "description": "The language that the community's content should be in.", "args": [], "type": { "kind": "ENUM", "name": "Language", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "name", "description": "A name for the community.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "owner", "description": "The user who created the community.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "rules", "description": "Rules which should be followed to be a part of the community.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "self", "description": "The authenticated user's relationship with this Community.", "args": [], "type": { "kind": "OBJECT", "name": "CommunitySelfConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "streams", "description": "Get a page of live streams broadcasting in this community.\nIf no language filters are provided all languages will be returned.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "languages", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "StreamConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "summary", "description": "A short summary of the community.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "viewersCount", "description": "Number of viewers currently watching a stream which is in this community.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Directory", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CommunityFollow", "description": "Community that a User is following.", "fields": [ { "name": "community", "description": "The community that is followed.", "args": [], "type": { "kind": "OBJECT", "name": "Community", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "followedAt", "description": "Represents when this relationship was established.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "user", "description": "The user who is following.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "CommunityImageFormat", "description": "CommunityImageFormat is the possible values for the compression format for an image.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "JPEG", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "PNG", "description": null, "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "CommunityImageType", "description": "CommunityImageType is the list of possible uses that an image can have.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "BANNER", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "AVATAR", "description": null, "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "CommunityPermissions", "description": "Actions that a User is allowed to take in a given community.", "fields": [ { "name": "banning", "description": "The user is allowed to ban users from this community.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "broadcasting", "description": "The user is allowed to broadcast to this community.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "editing", "description": "The user is allowed to edit this community.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "timingOut", "description": "The user is allowed to time users out from this community.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CommunitySelfConnection", "description": "Community data for the current user.", "fields": [ { "name": "follow", "description": "The current user's follow relationship with this community.", "args": [], "type": { "kind": "OBJECT", "name": "CommunityFollow", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "permissions", "description": "The current user's permissions in this community.", "args": [], "type": { "kind": "OBJECT", "name": "CommunityPermissions", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "CommunityType", "description": "The set of types a Community can have.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "OTHER", "description": "The default type, for user-created communities.", "isDeprecated": false, "deprecationReason": null }, { "name": "GAME", "description": "The Community represents a Game.", "isDeprecated": false, "deprecationReason": null }, { "name": "CREATIVE", "description": "The Community is a creative Community.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "ComponentActivationInput", "description": "The required configuration to activate a component extension.", "fields": null, "inputFields": [ { "name": "slot", "description": "The slot name of where the component extension should be displayed.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "x", "description": "The horizontal positioning of the left side of the component extension from the left side\nof the visible video space as a fixed-point percentage (ie: 5742 would represent 57.42 percent).", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "defaultValue": null }, { "name": "y", "description": "The vertical positioning of the top side of the component extension from the top side\nof the visible video space as a fixed-point percentage (ie: 5742 would represent 57.42 percent).", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ComponentView", "description": "The view configuration of an extension if the component anchor is supported.", "fields": [ { "name": "aspectHeight", "description": "The developer configured height of the extension as a ratio relative to it's width.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "aspectWidth", "description": "The developer configured width of the extension as a ratio relative to it's height.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "hasZoom", "description": "Specifies whether CSS zooming should be applied to the CE container, creating a consistent\nsize of 1024 pixels along the long edge of the component. Default: true.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "size", "description": "Size of the long edge of the Component Extension, relative to the length of the corresponding\ninteractable dimension of the video.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "viewerURL", "description": "The URL which should be loaded in for the extension.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "zoomPixels", "description": "If hasZoom is set to true, specify the effective CSS zoom to apply to the long edge of the CE.\nDefault: 1024.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "ExtensionView", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ConfigView", "description": "ConfigView holds the view configuration of an extension if the config page is supported.", "fields": [ { "name": "viewerURL", "description": "The URL which should be loaded in for the extension.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "ExtensionView", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CounterStrikeGlobalOffensive", "description": "Contains CounterStrikeGlobalOffensive game specific information.", "fields": [ { "name": "csMap", "description": "The map that broadcaster is current playing.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "mapImageURL", "description": "The url of the map's thumbnail that broadcaster is current playing.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "mapName", "description": "The name of the map that broadcaster is current playing.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "skill", "description": "Skill level of the streamer. Range is 0-18, 0 beling 'Unranked' and 18 being 'The Global Elite'.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Crate", "description": "A crate which users can open to get Twitch loot.", "fields": [ { "name": "iconType", "description": "The product icon type for the crate. Once implemented, UI will prefer this and fallback to iconURL.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "iconURL", "description": "The product icon url for the crate.\nOptionally set 'size' param to change the icon to be a square of size width/height.", "args": [ { "name": "size", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The associated crate id.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "openURL", "description": "The url to request when opening the crate.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "The product title for the crate.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CreateClipError", "description": "CreateClipError is an error associated with the createClip mutation.", "fields": [ { "name": "code", "description": "The associated error code.", "args": [], "type": { "kind": "ENUM", "name": "CreateClipErrorCode", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "CreateClipErrorCode", "description": "CreateClipErrorCode contains the possible errors that can occur when creating a clip.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "CHANNEL_NOT_CLIPPABLE", "description": "This channel cannot be clipped.", "isDeprecated": false, "deprecationReason": null }, { "name": "CHANNEL_BANNED", "description": "The channel has been banned and cannot be clipped.", "isDeprecated": false, "deprecationReason": null }, { "name": "USER_BANNED", "description": "User has been banned from the channel and cannot clip.", "isDeprecated": false, "deprecationReason": null }, { "name": "USER_TIMED_OUT", "description": "User has been timed out from the channel and cannot clip.", "isDeprecated": false, "deprecationReason": null }, { "name": "CHANNEL_NOT_LIVE", "description": "Clip cannot be created because channel is no longer live.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CreateClipInput", "description": "CreateClipInput creates a clip either from a broadcast or video. If both broadcastID\nand videoID are set, the broadcastID will be preferred.", "fields": null, "inputFields": [ { "name": "broadcastID", "description": "The ID of the broadcast to create a clip from.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "broadcasterID", "description": "The ID of the broadcaster that the broadcast or video belongs to.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "offsetSeconds", "description": "The number of seconds into the broadcast or video to create the clip from.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } }, "defaultValue": null }, { "name": "videoID", "description": "The ID of the video to create a clip from.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CreateClipPayload", "description": "CreateClipPayload returns the created clip or any error that prevented the clip creation.", "fields": [ { "name": "clip", "description": "The created clip has all fields execpt for durationSeconds and viewCount.", "args": [], "type": { "kind": "OBJECT", "name": "Clip", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "error", "description": "The error when a clip fails to create.", "args": [], "type": { "kind": "OBJECT", "name": "CreateClipError", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CreateCollectionInput", "description": "Inputs for creating a new collection.", "fields": null, "inputFields": [ { "name": "ownerID", "description": "The id of the user who will own the collection.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "title", "description": "The title of the collection being created.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CreateCollectionPayload", "description": "The response from creating a new collection.", "fields": [ { "name": "collection", "description": "The newly created collection.", "args": [], "type": { "kind": "OBJECT", "name": "Collection", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "CreateCommunityError", "description": "CreateCommunityError is a user error while creating a community.\nNOTE: Should have been named CreateCommunityErrorCode.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "ACCOUNT_TOO_YOUNG", "description": "The creator does not meet the minimum account age requirement.", "isDeprecated": false, "deprecationReason": null }, { "name": "COMMUNITY_NAME_EXISTS", "description": "The community name already exists.", "isDeprecated": false, "deprecationReason": null }, { "name": "COMMUNITY_NAME_INVALID", "description": "The community name is invalid.", "isDeprecated": false, "deprecationReason": null }, { "name": "COMMUNITY_NAME_RESERVED", "description": "The community name is reserved.", "isDeprecated": false, "deprecationReason": null }, { "name": "DISPLAY_NAME_INVALID", "description": "The display name is invalid.", "isDeprecated": false, "deprecationReason": null }, { "name": "SUMMARY_TOO_LONG", "description": "The summary is too long.", "isDeprecated": false, "deprecationReason": null }, { "name": "DESCRIPTION_TOO_LONG", "description": "The description is too long.", "isDeprecated": false, "deprecationReason": null }, { "name": "RULES_TOO_LONG", "description": "The rules are too long.", "isDeprecated": false, "deprecationReason": null }, { "name": "OWN_TO_MANY_COMMUNITIES", "description": "The creator owns too many communities.", "isDeprecated": false, "deprecationReason": null }, { "name": "UNVERIFIED_EMAIL", "description": "The creator does not have a verified email address.", "isDeprecated": false, "deprecationReason": null }, { "name": "TWO_FACTOR_NOT_ENABLED", "description": "The creator does not have 2FA enabled.", "isDeprecated": false, "deprecationReason": null }, { "name": "INVALID_LANGUAGE", "description": "The language is invalid.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CreateCommunityImageUploadURLInput", "description": null, "fields": null, "inputFields": [ { "name": "communityID", "description": "The community for which the URL is created.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "imageFormat", "description": "The compression format of the image.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CommunityImageFormat", "ofType": null } }, "defaultValue": null }, { "name": "imageType", "description": "The image type to be uploaded.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CommunityImageType", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CreateCommunityImageUploadURLPayload", "description": null, "fields": [ { "name": "community", "description": "The community for which the url was created.", "args": [], "type": { "kind": "OBJECT", "name": "Community", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "uploadID", "description": "Unique identifier for the generated URL.", "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "url", "description": "The actual URL to be used by the client to upload the image.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CreateCommunityInput", "description": "CreateCommunityInput contains the description, name, rules, and summary for a new community.", "fields": null, "inputFields": [ { "name": "description", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "displayName", "description": "If no displayName is included, it will be the same as the name.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "name", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "rules", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "summary", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CreateCommunityPayload", "description": "CreateCommunityPayload is the response from creating a community.", "fields": [ { "name": "community", "description": "The created Community.", "args": [], "type": { "kind": "OBJECT", "name": "Community", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "error", "description": "An error code.", "args": [], "type": { "kind": "ENUM", "name": "CreateCommunityError", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "CreateDropImageUploadURLErrorCode", "description": "Possible errors from CreateDropImageUploadURL.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "USER_UNAUTHORIZED", "description": "The user does not have permissions to create this type of image for this service.", "isDeprecated": false, "deprecationReason": null }, { "name": "SERVICE_DEPENDENCY_FAILURE", "description": "There was an issue calling a dependency of this call.", "isDeprecated": false, "deprecationReason": null }, { "name": "UNKNOWN", "description": "An issue not matching any other specific error code.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CreateDropImageUploadURLInput", "description": "Information needed to generate a URL to upload a drop image to.", "fields": null, "inputFields": [ { "name": "campaignID", "description": "The campaign this image is for if it's of type LINK_NOTIFICATION.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "imageType", "description": "The type of image this is.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DropImageType", "ofType": null } }, "defaultValue": null }, { "name": "itemID", "description": "The item ID this image is for if it's of type ITEM.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "serviceID", "description": "The drop service this image will be created for.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "token", "description": "The JWT used to verify the request.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CreateDropImageUploadURLPayload", "description": "Returned information about image upload including URL to upload the image to.", "fields": [ { "name": "error", "description": "Error (if any) from trying to create the upload URL.", "args": [], "type": { "kind": "ENUM", "name": "CreateDropImageUploadURLErrorCode", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "uploadID", "description": "Unique identifier for the generated URL.", "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "url", "description": "The actual URL to be used by the client to upload the image.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CreateFriendRequestInput", "description": null, "fields": null, "inputFields": [ { "name": "targetID", "description": "The authenticated user will send a friend request to the user with an ID equal to targetID.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CreateFriendRequestPayload", "description": null, "fields": [ { "name": "user", "description": "The user who is the target of the friend request.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CreatePanelInput", "description": "CreatePanelInput contains a panel with created data\nThe schema here has arguments for both extension panels and default panels\neach panel needs a PanelType, and channelID it corresponds to,\nbut each panel does not need the other arguments\nextension panels can have a slotID\ndefault panels can have a title, image, link, and/or description.", "fields": null, "inputFields": [ { "name": "channelID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "description", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "imageURL", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "linkURL", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "slotID", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "title", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "type", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PanelType", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CreatePanelPayload", "description": "CreatePanelPayload contains the panel data after the create succeeds.", "fields": [ { "name": "panel", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "Panel", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CreatePostInput", "description": null, "fields": null, "inputFields": [ { "name": "body", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "channelID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "embedURLs", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, "defaultValue": null }, { "name": "postToTwitter", "description": null, "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CreatePostPayload", "description": null, "fields": [ { "name": "post", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "Post", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "tweet", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "tweetStatus", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CreateRoomError", "description": null, "fields": [ { "name": "code", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CreateRoomErrorCode", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "maxAllowedRooms", "description": "On MAX_ROOMS_LIMIT_EXCEEDED: Maximum number of rooms user can create.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "maxLength", "description": "On NAME_LENGTH_INVALID, TOPIC_LENGTH_INVALID: Maximum number of characters.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "minLength", "description": "On NAME_LENGTH_INVALID, TOPIC_LENGTH_INVALID: Minimum number of characters.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "CreateRoomErrorCode", "description": null, "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "NAME_LENGTH_INVALID", "description": "Name too short or too long.", "isDeprecated": false, "deprecationReason": null }, { "name": "NAME_CONTAINS_INVALID_CHARACTERS", "description": "Name contains invalid characters (e.g. spaces).", "isDeprecated": false, "deprecationReason": null }, { "name": "NAME_INAPPROPRIATE", "description": "Name failed automod check.", "isDeprecated": false, "deprecationReason": null }, { "name": "NAME_NOT_UNIQUE", "description": "Name was not unique to channel.", "isDeprecated": false, "deprecationReason": null }, { "name": "TOPIC_LENGTH_INVALID", "description": "Topic too short or too long.", "isDeprecated": false, "deprecationReason": null }, { "name": "TOPIC_INAPPROPRIATE", "description": "Topic failed automod check.", "isDeprecated": false, "deprecationReason": null }, { "name": "MAX_ROOMS_LIMIT_EXCEEDED", "description": "User cannot create any more rooms.", "isDeprecated": false, "deprecationReason": null }, { "name": "ROLES_INVALID", "description": "Invalid roles specified (e.g. a more permissive role for send than read).", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CreateRoomInput", "description": null, "fields": null, "inputFields": [ { "name": "isPreviewable", "description": "Deprecated. Use minimumReadMessagesRole instead.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null }, { "name": "minimumAllowedRole", "description": "Deprecated. Use minimumReadMessagesRole and minimumSendMessagesRole instead.", "type": { "kind": "ENUM", "name": "RoomRole", "ofType": null }, "defaultValue": null }, { "name": "minimumReadMessagesRole", "description": "Minimum role required to read messages in the room.", "type": { "kind": "ENUM", "name": "RoomRole", "ofType": null }, "defaultValue": null }, { "name": "minimumSendMessagesRole", "description": "Minimum role required to send messages in the room.", "type": { "kind": "ENUM", "name": "RoomRole", "ofType": null }, "defaultValue": null }, { "name": "name", "description": "The name of the room.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "topic", "description": "The topic for the room.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CreateRoomPayload", "description": null, "fields": [ { "name": "error", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "CreateRoomError", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "room", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "Room", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CreateSegmentEventInput", "description": "Inputs to the createSegmentEvent mutation.", "fields": null, "inputFields": [ { "name": "channelID", "description": "ID of the channel that this event will be broadcasted on.\nFor now, an event can only be broadcasted on its owner's channel.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "coverImageID", "description": "ID of the cover image or null if the default cover image should be used.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "description", "description": "Description of the event.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "endAt", "description": "End time of the event.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "defaultValue": null }, { "name": "gameID", "description": "ID of the game being played during the event.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "ownerID", "description": "ID of the user that owns this event.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "parentID", "description": "ID of the collection event that the event should be created in.\nFor now, a SegmentEvent can only be created under an event that has the same owner.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "startAt", "description": "Start time of the event.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "defaultValue": null }, { "name": "title", "description": "Title of the event.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CreateSegmentEventPayload", "description": "Outputs from the createSegmentEvent mutation.", "fields": [ { "name": "event", "description": "The event that was created.", "args": [], "type": { "kind": "OBJECT", "name": "EventLeaf", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CreateSingleEventInput", "description": "Inputs to the createSingleEvent mutation.", "fields": null, "inputFields": [ { "name": "channelID", "description": "ID of the channel that this event will be broadcasted on.\nFor now, an event can only be broadcasted on its owner's channel.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "coverImageID", "description": "ID of the cover image or null if the default cover image should be used.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "defaultTimeZone", "description": "The default time zone that this event's times should be displayed in when we don't have\naccess to the user's time zone.\ndefaultTimeZone is expected to be a tz database time zone name. E.g. America/New_York.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "description", "description": "Description of the event.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "endAt", "description": "End time of the event.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "defaultValue": null }, { "name": "gameID", "description": "ID of the game being played during the event.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "language", "description": "Language that this event is run in.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "Language", "ofType": null } }, "defaultValue": null }, { "name": "ownerID", "description": "ID of the user that owns this event.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "startAt", "description": "Start time of the event.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "defaultValue": null }, { "name": "title", "description": "Title of the event.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CreateSingleEventPayload", "description": "Outputs from the createSingleEvent mutation.", "fields": [ { "name": "event", "description": "The event that was created.", "args": [], "type": { "kind": "OBJECT", "name": "EventLeaf", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CreateTimetableEventInput", "description": "Inputs to the createTimetableEvent mutation.", "fields": null, "inputFields": [ { "name": "coverImageID", "description": "ID of the cover image or null if the default cover image should be used.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "defaultTimeZone", "description": "The default time zone that this event's times should be displayed in when we don't have\naccess to the user's time zone.\ndefaultTimeZone is expected to be a tz database time zone name. E.g. America/New_York.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "description", "description": "Description of the event.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "language", "description": "Language that this event is run in.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "Language", "ofType": null } }, "defaultValue": null }, { "name": "ownerID", "description": "ID of the user that owns this event.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "title", "description": "Title of the event.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CreateTimetableEventPayload", "description": "Outputs from the createTimetableEvent mutation.", "fields": [ { "name": "event", "description": "The event that was created.", "args": [], "type": { "kind": "OBJECT", "name": "EventCollection", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CreateVideoCommentInput", "description": null, "fields": null, "inputFields": [ { "name": "commentID", "description": "The id of the parent video comment when you reply.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "contentOffsetSeconds", "description": "Position of the video where this comment will be added.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "defaultValue": null }, { "name": "message", "description": "The message of the comment.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "videoID", "description": "The id of the video this comment belongs to.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CreateVideoCommentPayload", "description": null, "fields": [ { "name": "comment", "description": "The comment that was created.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "VideoComment", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CreateVideoHighlightInput", "description": null, "fields": null, "inputFields": [ { "name": "endOffsetSeconds", "description": "The time in the source Archive type video that the Highlight will end at.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "defaultValue": null }, { "name": "metadata", "description": "Metadata to set for the highlight.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CreateVideoHighlightMetadata", "ofType": null } }, "defaultValue": null }, { "name": "sourceVideoID", "description": "The id of the Archive type video to create the Highlight from.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "startOffsetSeconds", "description": "The time in the source Archive type video that the Highlight will begin at.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "CreateVideoHighlightMetadata", "description": null, "fields": null, "inputFields": [ { "name": "description", "description": "The long form description of the Highlight content.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "game", "description": "The primary game featured in the highlight, if any.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "language", "description": "The language the highlight content is in.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "tags", "description": "Discovery tags to associate with the Highlight.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "defaultValue": null }, { "name": "title", "description": "The title of the the highlight.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "CreateVideoHighlightPayload", "description": null, "fields": [ { "name": "highlight", "description": "The created Video representing the Highlight.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Video", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "SCALAR", "name": "Cursor", "description": "An opaque identifier for a connection edge. Used for pagination.\n\nThis is part of the Relay Cursor Connections Specification:\nhttps://facebook.github.io/relay/graphql/connections.htm.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "DeactivateExtensionInput", "description": "The required input for a deactivateExtension mutation.", "fields": null, "inputFields": [ { "name": "extensionInstallationID", "description": "The composite ID of an extension installation .", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DeactivateExtensionPayload", "description": "The resulting payload after a deactivateExtension mutation.", "fields": [ { "name": "installedExtension", "description": "The resulting extension installation record from the deactivate.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ExtensionInstallation", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DefaultPanel", "description": "DefaultPanel is the normal panel type that displays text and images.", "fields": [ { "name": "description", "description": "description is markdown-formatted text to be displayed below the title and image.\nIf the panel doesn't have a description this will be null.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "id is a unique identifier for the panel.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "imageURL", "description": "imageURL is a URL to an image to be displayed at the top of the panel (but below the header).\nIf the panel doesn't use an image this will be null.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "linkURL", "description": "linkURL is the URL to navigate to when a user clicks on the image.\nIf the panel's image doesn't link anywhere this will be null.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "title is the header text to display in the panel.\nIf the panel doesn't have a title this will return null.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": "type is `PanelType.DEFAULT`.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PanelType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Panel", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DeleteChannelBlockedTermError", "description": "Errors that the mutation returns.", "fields": [ { "name": "code", "description": "The error code that the mutation returned.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DeleteChannelBlockedTermErrorCode", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "DeleteChannelBlockedTermErrorCode", "description": "The errors returned from this mutation.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "NO_PERMISSIONS", "description": "User does not have permission to delete blocked term in channel.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "DeleteChannelBlockedTermInput", "description": "Inputs for the mutation. channel ID and a list of phrases to be deleted.", "fields": null, "inputFields": [ { "name": "channelID", "description": "channelID is the owner of the term being deleted.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "phrases", "description": "phrases is the strings representation of the term being deleted.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DeleteChannelBlockedTermPayload", "description": "The returned payload from the mutation.", "fields": [ { "name": "deletedAt", "description": "The time term was deleted.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "error", "description": "Mutation error caused by the user input.", "args": [], "type": { "kind": "OBJECT", "name": "DeleteChannelBlockedTermError", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "phrases", "description": "The phrases that were deleted.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DeleteChannelPermittedTermError", "description": "The errors returned from this mutation.", "fields": [ { "name": "code", "description": "Error code that was returned.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DeleteChannelPermittedTermErrorCode", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "DeleteChannelPermittedTermErrorCode", "description": "The possible error types returned from this mutation.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "NO_PERMISSIONS", "description": "User does not have permission to delete Permitted term in channel.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "DeleteChannelPermittedTermInput", "description": "Inputs for the mutation. channel ID and a list of phrases to be deleted.", "fields": null, "inputFields": [ { "name": "channelID", "description": "channelID is the ID of the owner of the permitted term being deleted.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "phrases", "description": "phrases is the string representation of the term being deleted.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DeleteChannelPermittedTermPayload", "description": "Returned payload of the mutation.", "fields": [ { "name": "deletedAt", "description": "The time term was deleted.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "error", "description": "Mutation error caused by the user input.", "args": [], "type": { "kind": "OBJECT", "name": "DeleteChannelPermittedTermError", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "phrases", "description": "The phrases that were deleted.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "DeleteClipsInput", "description": "DeleteClipsInput accepts either a list of slugs, a video id, or a broadcast id\nto determine the clips to delete.", "fields": null, "inputFields": [ { "name": "broadcastID", "description": "The id of the broadcast to delete clips from.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "slugs", "description": "The list of clip slugs to be deleted.", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, "defaultValue": null }, { "name": "videoID", "description": "The id of the video to delete clips from.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DeleteClipsPayload", "description": "DeleteClipsPayload returns the deleted clips. Only the slug and id can be accessed\nfrom the returned list of deleted clips.", "fields": [ { "name": "clips", "description": "The clips that were deleted. Only Slug and ID can be accessed.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "Clip", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "count", "description": "The amount of clips that were deleted.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "DeleteCollectionInput", "description": "DeleteCollectionInput accepts a collection ID to delete a collection.", "fields": null, "inputFields": [ { "name": "collectionID", "description": "The id of the collection to be deleted.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DeleteCollectionPayload", "description": "DeleteCollectionPayload resolves the deleted collection.", "fields": [ { "name": "collection", "description": "The collection that was just deleted.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Collection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "DeleteEventCollectionInput", "description": "Input for the delete_event_collection mutation.", "fields": null, "inputFields": [ { "name": "eventID", "description": "ID of the event collection you want to delete.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DeleteEventCollectionPayload", "description": "Payload returned by the delete_event_collection mutation.", "fields": [ { "name": "event", "description": "The event collection that was deleted.", "args": [], "type": { "kind": "OBJECT", "name": "EventCollection", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "DeleteEventInput", "description": "Input for the delete_event mutation.", "fields": null, "inputFields": [ { "name": "eventID", "description": "ID of the event you want to delete.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "DeleteEventLeafInput", "description": "Input for the delete_event_leaf mutation.", "fields": null, "inputFields": [ { "name": "eventID", "description": "ID of the event leaf you want to delete.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DeleteEventLeafPayload", "description": "Payload returned by the delete_event_leaf mutation.", "fields": [ { "name": "event", "description": "The event leaf that was deleted.", "args": [], "type": { "kind": "OBJECT", "name": "EventLeaf", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DeleteEventPayload", "description": "Payload returned by the delete_event mutation.", "fields": [ { "name": "event", "description": "The event that was deleted.", "args": [], "type": { "kind": "INTERFACE", "name": "DeprecatedEvent", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "DeleteNotificationInput", "description": null, "fields": null, "inputFields": [ { "name": "id", "description": "The notification to delete.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DeleteNotificationPayload", "description": null, "fields": [ { "name": "notification", "description": "The notification that was deleted. Only the ID is accessible.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OnsiteNotification", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "DeletePanelInput", "description": null, "fields": null, "inputFields": [ { "name": "id", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DeletePanelPayload", "description": null, "fields": [ { "name": "panel", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "Panel", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "DeletePostInput", "description": null, "fields": null, "inputFields": [ { "name": "postID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DeletePostPayload", "description": null, "fields": [ { "name": "post", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "Post", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "DeleteRoomInput", "description": null, "fields": null, "inputFields": [ { "name": "roomID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "DeleteRoomMessageInput", "description": null, "fields": null, "inputFields": [ { "name": "messageID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "roomID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DeleteRoomMessagePayload", "description": null, "fields": [ { "name": "message", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "RoomMessage", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DeleteRoomPayload", "description": null, "fields": [ { "name": "room", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "Room", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DeleteVideoCommentPayload", "description": null, "fields": [ { "name": "comment", "description": "The comment that was deleted.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "VideoComment", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "DeleteVideoInput", "description": null, "fields": null, "inputFields": [ { "name": "targetID", "description": "Video ID to be deleted.\nNOTE: Should have been named videoID.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DeleteVideoPayload", "description": null, "fields": [ { "name": "video", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "Video", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "DenyRejectedChatMessageInput", "description": null, "fields": null, "inputFields": [ { "name": "id", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DenyRejectedChatMessagePayload", "description": null, "fields": [ { "name": "message", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "RejectedChatMessage", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INTERFACE", "name": "DeprecatedEvent", "description": "Deprecated\n\nAn event represents a piece of scheduled content. Events allow broadcasters to advertise their content\nbefore it happens. All events:\n\n * ... are routeable. Each event has a URL that can be shared off-site. The URL will usually resolve to a\n landing page that has information on the event, and content that happened during the event.\n * ... can be followed by Twitch users. When a user follows an event, they get notifications on when the\n event goes live.\n\nThe Event interface is the common set of fields that all events support. There are several concrete Event types\nthat represent different kinds of scheduled content. The kinds of content include one-off events, premieres,\ntournaments, conferences and panels, shows and episodes etc.\nThe concrete Event types include additional fields that are needed to describe their kind of content.\n\nNOTE: Clients should be resilient to new concrete types being added in the future.\n\nNOTE: Events have been designed here using polymorphic types.\nThis is a (mostly) untested design pattern for API types, and we are currently learning about its advantages\nand disadvantages.\nTeams are encouraged to avoid polymorphic types and design their types to use composition instead, if possible.", "fields": [ { "name": "createdAt", "description": "When this event was created.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The Event's unique identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "owner", "description": "The user who owns this event.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "self", "description": "The authenticated user's relationship with this event.", "args": [], "type": { "kind": "OBJECT", "name": "EventSelfConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "stats", "description": "The stats about engagement with this event.", "args": [], "type": { "kind": "OBJECT", "name": "EventStats", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updatedAt", "description": "When this event was last modified.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "PremiereEvent", "ofType": null }, { "kind": "OBJECT", "name": "SegmentEvent", "ofType": null }, { "kind": "OBJECT", "name": "SingleEvent", "ofType": null }, { "kind": "OBJECT", "name": "TimetableEvent", "ofType": null } ] }, { "kind": "OBJECT", "name": "DeprecatedEventConnection", "description": "Paginated list of Events, where the relationship between the source type and the Event is\ngeneric enough that no information needs to be encoded on the edge.", "fields": [ { "name": "edges", "description": null, "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DeprecatedEventEdge", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DeprecatedEventEdge", "description": "Generic edge between some type and an Event, where there is no information that needs to\nto be encoded on the edge.", "fields": [ { "name": "cursor", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": null, "args": [], "type": { "kind": "INTERFACE", "name": "DeprecatedEvent", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INTERFACE", "name": "Directory", "description": "A Directory is a container of content – Streams, Videos, and Clips – on Twitch.", "fields": [ { "name": "avatarURL", "description": "URL to an avatar image.\nThe image dimensions are specifiable via the `height` and `width` parameters.\n\nIf `height` or `width` are not specified, the URL will contain\nthe template strings `{height}` and/or `{width}` in their respective places.", "args": [ { "name": "width", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "height", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "broadcastersCount", "description": "Number of broadcasters currently broadcasting in this directory.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "coverURL", "description": "URL to a cover image.\nThe image dimensions are specifiable via the `height` and `width` parameters.\n\nIf `height` or `width` are not specified, the URL will contain\nthe template strings `{height}` and/or `{width}` in their respective places.", "args": [ { "name": "width", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "height", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "directoryType", "description": "The type of directory – community or game.", "args": [], "type": { "kind": "ENUM", "name": "DirectoryType", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "displayName", "description": "The name to display for the directory.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "followersCount", "description": "Number of users that follow this directory.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The directory's unique Twitch identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "name", "description": "The canonical name of the directory.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "streams", "description": "Get a page of live streams broadcasting in this directory.\nIf no language filters are provided all languages will be returned.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "languages", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "StreamConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "viewersCount", "description": "Number of viewers currently watching a stream which is in this directory.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "Community", "ofType": null }, { "kind": "OBJECT", "name": "Game", "ofType": null } ] }, { "kind": "OBJECT", "name": "DirectoryConnection", "description": "Paginated list of Directories.\nImplements the Relay cursor connections specification.\nSee: https://facebook.github.io/relay/graphql/connections.htm.", "fields": [ { "name": "edges", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "DirectoryEdge", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DirectoryEdge", "description": "Contains information about a Directory's relationship to a given page (connection),\nand the Directory itself.", "fields": [ { "name": "cursor", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": null, "args": [], "type": { "kind": "INTERFACE", "name": "Directory", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "DirectoryFilter", "description": "The set of ways to filter directories.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "GAMES", "description": "Return game communities.", "isDeprecated": false, "deprecationReason": null }, { "name": "COMMUNITIES", "description": "Return other communities (created by users).", "isDeprecated": false, "deprecationReason": null }, { "name": "CREATIVE", "description": "Return creative communities.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "DirectorySort", "description": "The set of ways to sort directories against each other.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "VIEWER_COUNT", "description": "Order results by viewer count descending.", "isDeprecated": false, "deprecationReason": null }, { "name": "RANDOM", "description": "Order results randomly.", "isDeprecated": false, "deprecationReason": null }, { "name": "RELEVANCE", "description": "Order results by relevance score.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "DirectoryType", "description": "The set of types of directory.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "COMMUNITY", "description": "A community.", "isDeprecated": false, "deprecationReason": null }, { "name": "GAME", "description": "A game.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "DiscountType", "description": "DEPRECATED: to be replaced by SubscriptionPromotionDiscountType.\nValid discount types for subscription products.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "PERCENT_OFF", "description": "Percent discount type, eg. \"50%\".", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "DismissFriendRecommendationInput", "description": null, "fields": null, "inputFields": [ { "name": "targetID", "description": "The recommendation to the authenticated user to become friends with a user with ID targetID will be removed.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DismissFriendRecommendationPayload", "description": null, "fields": [ { "name": "user", "description": "The user who was previously a friend recommendation to the target user.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "DismissPinnedCheerInput", "description": null, "fields": null, "inputFields": [ { "name": "targetID", "description": "targetID is the `User.id` of the channel to clear the pinned cheer from.\nThe authenticated user must have moderation permissions to `moderate_pinned` for this channel.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "type", "description": "type is the kind of pinned message to clear.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PinnedCheerType", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DismissPinnedCheerPayload", "description": null, "fields": [ { "name": "user", "description": "user is the target channel bits were spent on which contains the updated `CheerInfo`, including the newly nulled `recent` or `top` message.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "DismissPurchaseTokenInput", "description": null, "fields": null, "inputFields": [ { "name": "channelID", "description": "Channel ID associated with the token.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "token", "description": "The identifier for the purchase token that will be dismissed.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DismissPurchaseTokenPayload", "description": null, "fields": [ { "name": "token", "description": "The purchase token identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DismissRitualTokenError", "description": null, "fields": [ { "name": "code", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DismissRitualTokenErrorCode", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "DismissRitualTokenErrorCode", "description": null, "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "TOKEN_NOT_AVAILABLE", "description": "Token is not in a status that can be dismissed.", "isDeprecated": false, "deprecationReason": null }, { "name": "TOKEN_NOT_FOUND", "description": "Token does not exist.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "DismissRitualTokenInput", "description": "DismissRitualTokenInput is the input when dismissing a ritual token.", "fields": null, "inputFields": [ { "name": "channelID", "description": "The channel to dismiss the ritual token in.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "type", "description": "The type of ritual token to dismiss.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "RitualTokenType", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DismissRitualTokenPayload", "description": "DismissRitualTokenPayload is the response when dismissing a ritual token.", "fields": [ { "name": "error", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "DismissRitualTokenError", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "token", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "RitualToken", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Drop", "description": "Contains all of the information about a Drop awarded to a user.", "fields": [ { "name": "game", "description": "The game that awarded the Drop.", "args": [], "type": { "kind": "OBJECT", "name": "Game", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "imageURL", "description": "The image URL of the Drop. Images are 80x80 pixels.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "name", "description": "The developer-provided name of the Drop.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DropAward", "description": "Data about the award of a drop to a user.", "fields": [ { "name": "awardedAt", "description": "The timestamp when the Drop was awarded to the user.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The drop that was awarded to the user.", "args": [], "type": { "kind": "OBJECT", "name": "Drop", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "reason", "description": "The reason the Drop was awarded.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "DropCampaign", "description": "A campaign a developer is running to give drops away to viewers of their game\nTo be considered live, a campaign must be enabled with the current time\nbeing after the start but before the end times\nTo apply to a particular channel a campaign must be live and additionally\nthe channel must be playing an applicable game and either must be one of the\napplicable channels or the campaign must have an empty applicable channel list\n(where an empty list specifically means all channels are eligible).", "fields": [ { "name": "applicableChannels", "description": "What channels this campaign is targeted to\n(Empty list == all channels for the games are allowed)\nAn applicable channel must also be playing an applicable game for the\ncampaign to apply to the channel.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "User", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "applicableGames", "description": "The games that this campaign is enabled on\nA channel playing one of these games must be in the applicable channels\nlist or list must be empty for the campaign to apply to the channel.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Game", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "awardableDrops", "description": "The drops this campaign can award.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Drop", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "connectionURL", "description": "The URL users who aren't linked should click on to create a link that will\nallow them create an account link for the developer of the game(s)\nthis campaign is for.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "endAt", "description": "The time this campaign ends\nTo be considered live, a campaign must be enabled with the current time\nbeing after the start but before the end times.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "GUID identifying this campaign.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isEnabled", "description": "If this campaign is enabled\nTo be considered live, a campaign must be enabled with the current time\nbeing after the start but before the end times.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "startAt", "description": "The time this campaign starts\nTo be considered live, a campaign must be enabled with the current time\nbeing after the start but before the end times.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "DropImageType", "description": "DropImageType is the list of possible uses that an image can have for drops.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "LINK_NOTIFICATION", "description": "Image for telling viewers that drops are available if they link accounts.", "isDeprecated": false, "deprecationReason": null }, { "name": "ITEM", "description": "Image for showing a viewer what item a developer awarded as a drop.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "SCALAR", "name": "Duration", "description": "A possibly signed sequence of decimal numbers, each with optional fraction\nand a unit suffix, such as \"300ms\", \"-1.5h\" or \"2h45m\".\nValid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "EditCommunityError", "description": "EditCommunityError is a user error while editing a community\nNOTE: Should have been named EditCommunityErrorCode.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "REQUESTING_USER_NOT_PERMITTED", "description": "The requesting user is not permitted to edit this community.", "isDeprecated": false, "deprecationReason": null }, { "name": "DISPLAY_NAME_INVALID", "description": "The new display name is invalid.", "isDeprecated": false, "deprecationReason": null }, { "name": "SUMMARY_TOO_LONG", "description": "The new summary is too long.", "isDeprecated": false, "deprecationReason": null }, { "name": "DESCRIPTION_TOO_LONG", "description": "The new description is too long.", "isDeprecated": false, "deprecationReason": null }, { "name": "RULES_TOO_LONG", "description": "The new rules are too long.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "EditCommunityInput", "description": "EditCommunityInput contains the ID of the community to be updated\nIt also must contain at least one of description, display name, rules, or summary.", "fields": null, "inputFields": [ { "name": "communityID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "description", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "displayName", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "rules", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "summary", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "EditCommunityPayload", "description": "EditCommunityPayload is the response from editing a community.", "fields": [ { "name": "community", "description": "The updated Community.", "args": [], "type": { "kind": "OBJECT", "name": "Community", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "error", "description": "An error code.", "args": [], "type": { "kind": "ENUM", "name": "EditCommunityError", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "EditRoomMessageInput", "description": null, "fields": null, "inputFields": [ { "name": "message", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "messageID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "roomID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "EditRoomMessagePayload", "description": null, "fields": [ { "name": "message", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "RoomMessage", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "EmbeddedEmote", "description": "EmbeddedEmote is an encoding format used to describe an emote embedded in a string of text.\n\nExample:\n body = \"hey KappaHD\"\n from = 4\n to = 10\n\n \"KappaHD\" will be replaced with the KappaHD emote image.", "fields": [ { "name": "emoteID", "description": "The emote's identifier, for example \"115847\" -> KappaHD.", "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "from", "description": "from is the index of the string where replacement starts.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "setID", "description": "setID is the identifier of the set this emote is in.", "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "to", "description": "to is the index of the string where replacement ends.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Emote", "description": null, "fields": [ { "name": "id", "description": "The emote's identifier.\nFor example, \"115847\".", "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "setID", "description": "Identifies which set this emote belongs to.", "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "token", "description": "The text token of the emote.\nFor example, \"KappaHD\".", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "EmoteSet", "description": "Represents a group of emotes.", "fields": [ { "name": "emotes", "description": "The list of emotes which belong to this set.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "Emote", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The emote set's identifier.", "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "EmoteSetDomain", "description": "Domains that emotes belong to.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "CRATE", "description": "Emotes that were granted via Twitch crates.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "EmoteSetPurchaseToken", "description": "EmoteSetPurchaseToken provides information related to a consumable purchase \ntoken about recently acquired emote sets.", "fields": [ { "name": "emoteSet", "description": "emoteSet is the emote set associated with the purchase token.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "EmoteSet", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "id is the unique emote set identifier for the purchase token.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "PurchaseTokenItem", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "UNION", "name": "Event", "description": "An event represents a piece of scheduled content. Events allow broadcasters to advertise their content\nbefore it happens. All events:\n\n * ... are routeable. Each event has a URL that can be shared off-site. The URL will usually resolve to a\n landing page that has information on the event, and content that happened during the event.\n * ... can be followed by Twitch users. When a user follows an event, they get notifications on when the\n event goes live.\n\nThere are currently two high-level categories of events. EventLeaf, which is a single event that may or may\nnot be part of a collection, or an EventCollection that groups leaves together.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "EventCollection", "ofType": null }, { "kind": "OBJECT", "name": "EventLeaf", "ofType": null } ] }, { "kind": "OBJECT", "name": "EventBroadcast", "description": "DEPRECATED: to be replaced by the Event interface.\nEventBroadcast is a projected or past planned stream with a fixed start/end time, game and channel.", "fields": [ { "name": "coverImageURL", "description": "The resized cover image url.", "args": [ { "name": "width", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "height", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createdAt", "description": "When the broadcast was planned.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": "A description of what the contents the broadcast.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "endAt", "description": "Time the broadcast will end.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "game", "description": "The game being broadcast.", "args": [], "type": { "kind": "OBJECT", "name": "Game", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The EventBroadcast's unique identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "originalCoverImageURL", "description": "The url to the original uploaded cover image.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "owner", "description": "The user who will be broadcasting.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "self", "description": "The authenticated user's relationship with this event broadcast.", "args": [], "type": { "kind": "OBJECT", "name": "EventBroadcastSelfConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "startAt", "description": "Time the broadcast will start.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "The name of the broadcast.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "updatedAt", "description": "When this event broadcast was last updated.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "videos", "description": "Videos were recorded during this event.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "sort", "description": null, "type": { "kind": "ENUM", "name": "VideoSort", "ofType": null }, "defaultValue": null }, { "name": "type", "description": null, "type": { "kind": "ENUM", "name": "BroadcastType", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "VideoConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "EventBroadcastSelfConnection", "description": "DEPRECATED: EventBroadcast is being replaced by the Event interface\nThe relationship between the authenticated user and an event broadcast.", "fields": [ { "name": "emailEnabled", "description": "If the user will receive emails regarding this broadcast.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "EventCollection", "description": "An event collection represents a group of event leaves.", "fields": [ { "name": "channels", "description": "The channels where this event's children will be broadcast.\nThe channels will be returned in descending order by their associated events' popularity.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UserConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createdAt", "description": "When this event was created.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "defaultTimeZone", "description": "The default time zone that this event's times should be displayed in when we don't have\naccess to the user's time zone.\ndefaultTimeZone is a tz database time zone name. E.g. America/New_York.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": "The description of this event.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "endAt", "description": "When this event will end.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "games", "description": "The games that will be played during this event.\nThe games will be returned in descending order by their associated events' popularity.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "GameConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The Event's unique identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "imageURL", "description": "The URL or a URL template to the cover image for this event.\nAn optional width and height can be given to specify the dimension of the image in pixels.\nIf left unspecified, this field will be a URL template with {width} and {height} placeholders\nthat the client can replace to create a functional URL.\nWhen width and height are given, this field is a full URL to the image.\nThe image is first scaled to maintain its aspect ratio, then cropped to fit the given dimensions.", "args": [ { "name": "width", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "height", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isDeleted", "description": "Indicates whether or not an event is deleted.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "language", "description": "The language that this event is being run in.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "Language", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "leaves", "description": "All leaf-esque events contained by this event.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "last", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "criteria", "description": null, "type": { "kind": "INPUT_OBJECT", "name": "EventConnectionCriteriaInput", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "EventLeafConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "managedLeaves", "description": "All leaf-esque events contained by this event that the currently authenticated user is allowed to manage.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "last", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "criteria", "description": null, "type": { "kind": "INPUT_OBJECT", "name": "ManagedEventLeavesCriteriaInput", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "EventLeafConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "owner", "description": "The user who owns this event.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "self", "description": "The authenticated user's realtionship with this event.", "args": [], "type": { "kind": "OBJECT", "name": "EventSelfConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "startAt", "description": "When this event will start.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "stats", "description": "The stats about engagement with this event.", "args": [], "type": { "kind": "OBJECT", "name": "EventStats", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "The title of this event.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": "The named type of this event.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "EventType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "EventCollectionConnection", "description": "Paginated list of event collections.", "fields": [ { "name": "edges", "description": "The elements of the paginated list.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "EventCollectionEdge", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Metadata about this page.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "totalCount", "description": "The total count of leaves.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "EventCollectionEdge", "description": "Generic edge between some type and an EventCollection.", "fields": [ { "name": "cursor", "description": "An opaque cursor identifying the edge's position in the paginted list.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Cursor", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The EventCollection.", "args": [], "type": { "kind": "OBJECT", "name": "EventCollection", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "EventConnectionCriteriaInput", "description": "Generic options for filtering pages of events.", "fields": null, "inputFields": [ { "name": "endsAfter", "description": "Select for events that end after this time.", "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "defaultValue": null }, { "name": "endsBefore", "description": "Select for events that end before this time.", "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "defaultValue": null }, { "name": "firstPageOptions", "description": "Defines the strategies that are used to determine where the first page of events should start within the complete\nlist of events. Moving forwards or backwards past this first page is possible using standard Relay pagination.\nThe options are processed in order, and if an option cannot be fulfilled (e.g. if the first option states to\nstart at a particular ID, but the ID does not exist in the list), then the next option is considered.\nIf no options can be fulfilled, or no options are given, the first page will start at the first event\nafter sorting and ordering.", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "EventConnectionFirstPageInput", "ofType": null } } }, "defaultValue": null }, { "name": "gameIDs", "description": "Select for events that involve at least one game that corresponds to the given game IDs. If left unspecified,\nno filtering by game is done.", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, "defaultValue": null }, { "name": "sortBy", "description": "Sort by specific params; defaults to STARTTIME.", "type": { "kind": "ENUM", "name": "EventSortBy", "ofType": null }, "defaultValue": null }, { "name": "sortOrder", "description": "Sort order; defaults to ASC.", "type": { "kind": "ENUM", "name": "SortOrder", "ofType": null }, "defaultValue": null }, { "name": "startsAfter", "description": "Select for events that start after this time.", "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "defaultValue": null }, { "name": "startsBefore", "description": "Select for events that start before this time.", "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "EventConnectionFirstPageInput", "description": "Defines where the first page of a listing of events starts.\nEach field allows specifying a strategy to pick the first event on the first page. Clients should\nonly set one of these fields to choose a strategy, and leave the others null.", "fields": null, "inputFields": [ { "name": "endsAfter", "description": "The first page of the listing starts with the first event that has an end time after the given time.\nThis option is only applicable when sorting by start time in ascending order.", "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "defaultValue": null }, { "name": "eventID", "description": "The first event in the listing is the event that correspond to the given ID.\nThis option is applicable for all sort options and orderings.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "EventLeaf", "description": "An event leaf represents a single event that may or may not be part of a collection.", "fields": [ { "name": "channel", "description": "The channel where this event will be broadcast.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createdAt", "description": "When this event was created.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "defaultTimeZone", "description": "The default time zone that this event's times should be displayed in when we don't have\naccess to the user's time zone.\ndefaultTimeZone is a tz database time zone name. E.g. America/New_York.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": "The description of this event.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "endAt", "description": "When this event will end.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "game", "description": "The game that will be played during this event.", "args": [], "type": { "kind": "OBJECT", "name": "Game", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The Event's unique identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "imageURL", "description": "The URL or a URL template to the cover image for this event.\nAn optional width and height can be given to specify the dimension of the image in pixels.\nIf left unspecified, this field will be a URL template with {width} and {height} placeholders\nthat the client can replace to create a functional URL.\nWhen width and height are given, this field is a full URL to the image.\nThe image is first scaled to maintain its aspect ratio, then cropped to fit the given dimensions.", "args": [ { "name": "width", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "height", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isDeleted", "description": "Indicates whether or not an event is deleted.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "language", "description": "The language that this event is being run in.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "Language", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "owner", "description": "The user who owns this event.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "parent", "description": "EventCollection that owns this Event. This will be null for top-level events with no parent.", "args": [], "type": { "kind": "OBJECT", "name": "EventCollection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "premiere", "description": "The premiere that this event is scheduling if one is assocated.", "args": [], "type": { "kind": "OBJECT", "name": "Premiere", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "self", "description": "The authenticated user's realtionship with this event.", "args": [], "type": { "kind": "OBJECT", "name": "EventSelfConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "startAt", "description": "When this event will start.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "stats", "description": "The stats about engagement with this event.", "args": [], "type": { "kind": "OBJECT", "name": "EventStats", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "The title of this event.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": "The named type of this event.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "EventType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "videos", "description": "Highlights or past broadcasts recorded during this event.\nIf a type isn't specified, both broadcasts and highlights will be included in the list.\nIf sort isn't specified, the list will be sorted by start time, in descending order.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "sort", "description": null, "type": { "kind": "ENUM", "name": "VideoSort", "ofType": null }, "defaultValue": null }, { "name": "type", "description": null, "type": { "kind": "ENUM", "name": "EventTypeBroadcastType", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "EventVideoConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "EventLeafConnection", "description": "Paginated list of event leafs.", "fields": [ { "name": "edges", "description": "The elements of the paginated list.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "EventLeafEdge", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Metadata about this page.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "totalCount", "description": "The total count of leaves.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "EventLeafEdge", "description": "Generic edge between some type and an EventLeaf.", "fields": [ { "name": "cursor", "description": "An opaque cursor identifying the edge's position in the paginted list.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Cursor", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The EventLeaf.", "args": [], "type": { "kind": "OBJECT", "name": "EventLeaf", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "EventNotificationSetting", "description": "Settings for a given event.", "fields": [ { "name": "category", "description": "The setting category.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "platforms", "description": "Settings for individual platforms.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PlatformEventSetting", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "EventSelfConnection", "description": "EventSelfConnection contains information on the current authenticated user's interactions with an event.", "fields": [ { "name": "isFollowing", "description": "True if the authenticated user is following this event, false otherwise.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "EventSortBy", "description": "Sort field for events.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "STARTTIME", "description": "Sort by the Start Time of the events.", "isDeprecated": false, "deprecationReason": null }, { "name": "HYPE", "description": "Sort by the Hype of the events.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "EventStats", "description": null, "fields": [ { "name": "followingCount", "description": "The number of users that are currently following this event.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "EventType", "description": "Enumerates the different types of events. Generally, clients should use branch on Leaf or Collection\nand implement different behavior based on the presence of various fields on the objects. The type field\nshould only be used for labeling, and in the admin edit interface.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "SINGLE", "description": "SingleEvent represents a one-off, stand-alone event where the content is a live stream on a single channel.", "isDeprecated": false, "deprecationReason": null }, { "name": "PREMIERE", "description": "PremiereEvent represents a one-off, stand-alone event where the content is a Premiere.", "isDeprecated": false, "deprecationReason": null }, { "name": "SEGMENT", "description": "Segment events are sub-events that represent a piece of content that is part of a greater event.", "isDeprecated": false, "deprecationReason": null }, { "name": "TIMETABLE", "description": "TimetableEvent describes an event that comprises of a collection of closely related sub-events.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "EventTypeBroadcastType", "description": "Describes describes the source of a Video that covers an Event.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "ARCHIVE", "description": "If the video is of a past broadcast, it's an ARCHIVE.", "isDeprecated": false, "deprecationReason": null }, { "name": "HIGHLIGHT", "description": "When the video is a subsection of a past broadcast, it's a HIGHLIGHT.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "EventVideoConnection", "description": "A paginated list of Videos that cover an Event.", "fields": [ { "name": "edges", "description": "The list of videos in this page.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "EventVideoEdge", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information about this page of videos.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "EventVideoEdge", "description": "Contains information on the Event's relationship with the Video, and the Video itself.", "fields": [ { "name": "cursor", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Cursor", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "Video", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "offsetSeconds", "description": "The number of seconds from the beginning of the video that the event starts.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "startsAt", "description": "The time that coverage on the event begins. This may be after the Video's recordedAt time if the Video\nstarts with content that doesn't cover the event.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Extension", "description": "Twitch Extension.", "fields": [ { "name": "SKU", "description": "The SKU of the extension for monetizable extensions.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": true, "deprecationReason": "sku should be used instead" }, { "name": "anchor", "description": "The anchor point the extension expects to render into on the client.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ExtensionAnchor", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "assetURLs", "description": "A list of assets which the extension must have uploaded to the Twitch Extensions CDN.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "authorName", "description": "The author of the extension as specified by the developer's extension manifest.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "clientID", "description": "The client ID of the extension. Also used as the non-composite, non-unique ID of an extension internally.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "configURL", "description": "The URL which is used to preset the configuration experience of the extension.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": true, "deprecationReason": "configURL should be captured from the config ExtensionView: Extension.views.config.viewerURL" }, { "name": "description", "description": "The description of the extension specified by the developer's extension manifest\n(max-length: 1024 characters).", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "hasIdentityLinking", "description": "Represents whether or not the developer of the extension would like to provide users with\nthe ability to link their identity with the extension.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "iconURL", "description": "The extension icon URL used to visually represent the extension.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The extension ID which is a composite form of :.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "installationCount", "description": "The number of installations the extension has.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Installation counts are no longer surfaced to clients" }, { "name": "isBitsEnabled", "description": "Represents whether or not the extension supports bits monetization.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "liveConfigURL", "description": "The URL which is used to preset the live-dashboard experience of the extension.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": true, "deprecationReason": "liveConfigURL should be captured from the liveConfig ExtensionView: Extension.views.liveConfig.viewerURL" }, { "name": "name", "description": "The name of the extension specified by the developer's extension manifest\n(max-length: 40 characters).", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "panelHeight", "description": "The panel height specified by the developer's extension manifest -or- 300.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": true, "deprecationReason": "panelHeight should be captured from the panel ExtensionView: Extension.views.panel.height" }, { "name": "privacyPolicyURL", "description": "The link to the extension's privacy policy as specified by the developer's extension manifest.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "requiredBroadcasterAbilities", "description": "A list of OAuth capabilities the extension needs access to upon activation.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "screenshotURLs", "description": "Screenshots of the URL used to showcase the extension on extension details pages.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "self", "description": "Represents whether the requesting user is able to install the extension.", "args": [], "type": { "kind": "OBJECT", "name": "ExtensionSelfConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "sku", "description": "The sku of the extension for monetizable extensions.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "state", "description": "The current state of the extension in our approval process.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ExtensionState", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "summary", "description": "The summary of the extension specified by the developer's extension manifest\n(max-length: 140 characters).", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "supportEmail", "description": "The support contact email as specified by the developer's extension manifest.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "termsURL", "description": "End-user license agreement terms of service URL.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "vendorCode", "description": "The vendor code of the extension for monetizable extensions.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "version", "description": "The current version of the extension specified by the developer's extension manifest.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "viewerURL", "description": "The URL which is used to preset the viewer experience of the extension.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": true, "deprecationReason": "viewerURL should be captured from the ExtensionView corresponding with the Extension's specified anchor" }, { "name": "views", "description": "The UI configurations of each supported view of the extension.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ExtensionViews", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "whitelistedConfigURLs", "description": "The list of URLs an extension can link to while loaded in the configuration experience.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "whitelistedPanelURLs", "description": "The list of URLs a panel extension can link to while loaded in the viewer experience.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ExtensionActivationConfig", "description": "The current activation configuration for an installed extension.", "fields": [ { "name": "anchor", "description": "The anchor that the installation has been activated into. If not activated into a slot,\nthe value will be null.", "args": [], "type": { "kind": "ENUM", "name": "ExtensionAnchor", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "slot", "description": "The slot that the installation has been activated into. If not activated into a slot,\nthe value will be null.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "state", "description": "The activation state of the extension installation.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ActivationState", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "x", "description": "The horizontal positioning of the left side of the component extension from the left side\nof the visible video space as a fixed-point percentage (ie: 5742 would represent 57.42 percent).", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "y", "description": "The vertical positioning of the top side of the component extension from the top side\nof the visible video space as a fixed-point percentage (ie: 5742 would represent 57.42 percent).", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "ExtensionActivationInput", "description": "Represents the action which should be taken on the provided installation ID. If no\nanchor configuration is provided, the installation will be deactivated.", "fields": null, "inputFields": [ { "name": "component", "description": "The required activation input to apply activation state to a component anchor.", "type": { "kind": "INPUT_OBJECT", "name": "ComponentActivationInput", "ofType": null }, "defaultValue": null }, { "name": "installationID", "description": "The installation ID of the component extension you're attempting to activate.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "panel", "description": "The required activation input to apply activation state to a panel anchor.", "type": { "kind": "INPUT_OBJECT", "name": "PanelActivationInput", "ofType": null }, "defaultValue": null }, { "name": "videoOverlay", "description": "The required activation input to apply activation state to a video overyla anchor.", "type": { "kind": "INPUT_OBJECT", "name": "VideoOverlayActivationInput", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "ExtensionAnchor", "description": "The possible values for an Extension Anchor.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "COMPONENT", "description": "Component extension anchor.", "isDeprecated": false, "deprecationReason": null }, { "name": "HIDDEN", "description": "Hidden extensions are used currently for load tests.", "isDeprecated": false, "deprecationReason": null }, { "name": "PANEL", "description": "Panel extension anchor.", "isDeprecated": false, "deprecationReason": null }, { "name": "VIDEO_OVERLAY", "description": "Video overlay extension anchor.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "ExtensionConnection", "description": "A paginated list of extensions, and its metadata.", "fields": [ { "name": "edges", "description": "The list of extensions in this page.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ExtensionEdge", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information about this page of extensions.", "args": [], "type": { "kind": "OBJECT", "name": "PageInfo", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "totalCount", "description": "The total number of extensions in the larger collection.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ExtensionEdge", "description": "An element in a paginated extensions of videos, and its metadata.", "fields": [ { "name": "cursor", "description": "Cursor represents the position of the current edge/node.", "args": [], "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "Node represents the extension for the current edge.", "args": [], "type": { "kind": "OBJECT", "name": "Extension", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ExtensionInstallation", "description": "Extension Installation are models which contain an Extension and it's associated installation metadata.", "fields": [ { "name": "activationConfig", "description": "The current activation metadata for the extension.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ExtensionActivationConfig", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "extension", "description": "The extension which the installation record is for.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Extension", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The the composite extension installation ID in the form of ::.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "requiredActions", "description": "The required, if any, for the installed extension after an activation.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ExtensionRequiredAction", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "self", "description": "The self connection of the extension installation.", "args": [], "type": { "kind": "OBJECT", "name": "ExtensionInstallationSelfConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ExtensionInstallationSelfConnection", "description": "The connection a user has to an Installed Extension.", "fields": [ { "name": "canActivate", "description": "Represents whether the requesting user can activate the extension.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "token", "description": "A token that the requestor of the extension installations will send into the extension.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ExtensionToken", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ExtensionPanel", "description": "ExtensionPanel is a placeholder in the panel list for arbitrary iframed content.", "fields": [ { "name": "id", "description": "id is a unique identifier for the panel.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "slotID", "description": "slotID is an identifier to map extensions content from `User.extensions` to the proper place in the `User.panels` list.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": "type is `PanelType.EXTENSION`.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PanelType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Panel", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ExtensionRequiredAction", "description": "The action a user must take to complete an activation of an extension installation.", "fields": [ { "name": "redirectURI", "description": "The Redirect URI to use if the activation requires permissions.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": "The action the user must take in order to complete the activation.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ExtensionRequiredActionType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "ExtensionRequiredActionType", "description": "The possible types of required actions after attempting to activate an extension.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "PROMPT_FOR_PERMISSIONS", "description": "The user must accept the permissions in order to complete the activation.", "isDeprecated": false, "deprecationReason": null }, { "name": "REQUIRES_CONFIGURATION", "description": "The user must configure the extension in order to complete the activation.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "ExtensionSelfConnection", "description": "The connection a user has to an Extension object.", "fields": [ { "name": "canInstall", "description": "Represents whether the requesting user is able to install extensions.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "ExtensionState", "description": "The possible values for ExtensionState.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "IN_TEST", "description": "IN_TEST extensions are currently being worked on by a developer.", "isDeprecated": false, "deprecationReason": null }, { "name": "READY_FOR_REVIEW", "description": "READY_FOR_REVIEW extensions are currently being examined by a developer for their readiness\nto be reviewed (assets hosted on CDN).", "isDeprecated": false, "deprecationReason": null }, { "name": "IN_REVIEW", "description": "IN_REVIEW extensions are being looked at by Twitch.", "isDeprecated": false, "deprecationReason": null }, { "name": "REJECTED", "description": "REJECTED extensions are permanently rejected; no action by the developer will make them acceptable.", "isDeprecated": false, "deprecationReason": null }, { "name": "APPROVED", "description": "APPROVED extensions are ready to be released, at the developer's convenience.", "isDeprecated": false, "deprecationReason": null }, { "name": "RELEASED", "description": "RELEASED extensions are currently available to users. Only one version of an extension\ncan be in this state at any time.", "isDeprecated": false, "deprecationReason": null }, { "name": "DEPRECATED", "description": "DEPRECATED extensions were once released, but a newer version now exists.", "isDeprecated": false, "deprecationReason": null }, { "name": "PENDING_ACTION", "description": "PENDING_ACTION extensions are ones that were reviewed by Twitch and returned to the developer for fixing.", "isDeprecated": false, "deprecationReason": null }, { "name": "UPLOADING", "description": "UPLOADING extensions are in the process of having their assets loaded onto S3.", "isDeprecated": false, "deprecationReason": null }, { "name": "ASSETS_UPLOADED", "description": "ASSETS_UPLOADED extensions have had their assets uploaded already to S3. This state mirrors\nthe existing READY_FOR_REVIEW state, but doesn't incur an implicit upload.", "isDeprecated": false, "deprecationReason": null }, { "name": "DELETED", "description": "DELETED extensions have been deleted; this is a soft delete so we can undelete things.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "ExtensionStateFilter", "description": "ExtensionStateFilter contains all the valid states to filter the list of extensions by.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "RELEASED", "description": "Released extension.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "ExtensionToken", "description": "The user-specific token for an installed extension on a channel.", "fields": [ { "name": "jwt", "description": "The JWT token for the requesting user.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INTERFACE", "name": "ExtensionView", "description": "ExtensionView is the interface which every anchor-specific extension view extends from.", "fields": [ { "name": "viewerURL", "description": "The URL which should be loaded in for the extension.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "ComponentView", "ofType": null }, { "kind": "OBJECT", "name": "ConfigView", "ofType": null }, { "kind": "OBJECT", "name": "HiddenView", "ofType": null }, { "kind": "OBJECT", "name": "LiveConfigView", "ofType": null }, { "kind": "OBJECT", "name": "MobileView", "ofType": null }, { "kind": "OBJECT", "name": "PanelView", "ofType": null }, { "kind": "OBJECT", "name": "VideoOverlayView", "ofType": null } ] }, { "kind": "OBJECT", "name": "ExtensionViews", "description": "The potential anchor-specific configurations and extension can have.", "fields": [ { "name": "component", "description": "The developer configuration of the extension as a component extension, if supported.", "args": [], "type": { "kind": "OBJECT", "name": "ComponentView", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "config", "description": "The developer configuration of the extension's configuration view, if supported.", "args": [], "type": { "kind": "OBJECT", "name": "ConfigView", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "hidden", "description": "The configuration for a hidden extension. The only hidden extension is used for load testing.", "args": [], "type": { "kind": "OBJECT", "name": "HiddenView", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "liveConfig", "description": "The developer configuration of the extension's live configuration dashboard view, if supported.", "args": [], "type": { "kind": "OBJECT", "name": "LiveConfigView", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "mobile", "description": "The developer configuration of the extension as a mobile extension, if supported.", "args": [], "type": { "kind": "OBJECT", "name": "MobileView", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "panel", "description": "The developer configuration of the extension as a panel extension, if supported.", "args": [], "type": { "kind": "OBJECT", "name": "PanelView", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "videoOverlay", "description": "The developer configuration of the extension as a video overlay extension, if supported.", "args": [], "type": { "kind": "OBJECT", "name": "VideoOverlayView", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FeatureFlags", "description": null, "fields": [ { "name": "isPulseEnabled", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": true, "deprecationReason": "Enabled for everyone." } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FeaturedContentSection", "description": "FeaturedContentSections contain the a set of FeaturedItems that should be shown together in a particular section of Twitch apps.", "fields": [ { "name": "id", "description": "A combination of the type and style for a given section, i.e. spotlight-previews.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "items", "description": null, "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FeaturedItem", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FeaturedEventBroadcasts", "description": "DEPRECATED: to be replaced by FeaturedEventsByTime.\nA collection of events that have been featured for this game.", "fields": [ { "name": "future", "description": "EventBroadcasts that are in the future.\nordered by startAt ascending (recent first).", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "EventBroadcast", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "live", "description": "EventBroadcasts that are live now.\nordered by view count descending (most viewers first).", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "EventBroadcast", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "past", "description": "EventBroadcasts that ended in the past.\nordered by endAt descending (recent first).", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "EventBroadcast", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FeaturedEventsByTime", "description": null, "fields": [ { "name": "future", "description": "Featured events that are in the future.\nOrdered by startAt ascending (recent first).", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "UNION", "name": "Event", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "live", "description": "Featured events that are live now.\nOrdered by view count descending (most viewers first).", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "UNION", "name": "Event", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "past", "description": "Featured events that ended in the past.\nOrdered by endAt descending (recent first).", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "UNION", "name": "Event", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FeaturedItem", "description": null, "fields": [ { "name": "content", "description": "The featured item's content.", "args": [], "type": { "kind": "UNION", "name": "FeaturedItemContent", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": "An markdown description of the item, available when a item is featured.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "ID used for tracking interactions.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "imageURL", "description": "A URL for a special thumbnail image, when this item is featured.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isScheduled", "description": "Is this item featured because it is scheduled?", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isSponsored", "description": "Is this item featured because it is sponsored?", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "priorityLevel", "description": "A lower priority level means the item is higher priority.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "When featured, the title of the item.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "UNION", "name": "FeaturedItemContent", "description": null, "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "Stream", "ofType": null }, { "kind": "OBJECT", "name": "User", "ofType": null }, { "kind": "OBJECT", "name": "Video", "ofType": null } ] }, { "kind": "OBJECT", "name": "FeaturedStream", "description": "FeaturedStream contains extra metadata for presenting a featured Stream.", "fields": [ { "name": "broadcaster", "description": "The featured stream's broadcaster.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "channel", "description": "The featured channel.", "args": [], "type": { "kind": "OBJECT", "name": "Channel", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use featuredStream.broadcaster instead." }, { "name": "description", "description": "A markdown description of the stream, available when a stream is featured.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "descriptionHTML", "description": "An HTML description of the stream, available when a stream is featured.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use featuredStream.description instead" }, { "name": "imageURL", "description": "A URL for a special thumbnail image, when this stream is featured.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isScheduled", "description": "Is this stream featured because it is scheduled?", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isSponsored", "description": "Is this stream featured because it is sponsored?", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "priorityLevel", "description": "A lower priority level means the stream is higher priority.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "stream", "description": "The featured live steam.", "args": [], "type": { "kind": "OBJECT", "name": "Stream", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "When featured, the title of the stream.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FeaturedVideo", "description": "DEPRECATED: do not use, it is subject to change.\nFeaturedVideo contains extra metadata for presenting a featured video.", "fields": [ { "name": "description", "description": "An markdown description of the video, available when a video is featured.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "imageURL", "description": "A URL for a special thumbnail image, when this video is featured.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isScheduled", "description": "Is this video featured because it is scheduled?", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isSponsored", "description": "Is this video featured because it is sponsored?", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "priorityLevel", "description": "A lower priority level means the stream is higher priority.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "When featured, the title of the video.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "video", "description": "The featured video.", "args": [], "type": { "kind": "OBJECT", "name": "Video", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Feed", "description": "Feed is twitch's pulse product of content a user may enjoy.", "fields": [ { "name": "id", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "items", "description": null, "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "5" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "FeedItemConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FeedConnection", "description": null, "fields": [ { "name": "edges", "description": null, "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "FeedEdge", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FeedEdge", "description": null, "fields": [ { "name": "cursor", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Cursor", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "Feed", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "UNION", "name": "FeedEmbed", "description": null, "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "Clip", "ofType": null }, { "kind": "OBJECT", "name": "LinkOEmbed", "ofType": null }, { "kind": "OBJECT", "name": "PhotoOEmbed", "ofType": null }, { "kind": "OBJECT", "name": "RichOEmbed", "ofType": null }, { "kind": "OBJECT", "name": "Video", "ofType": null }, { "kind": "OBJECT", "name": "VideoOEmbed", "ofType": null } ] }, { "kind": "OBJECT", "name": "FeedItem", "description": "FeedItem is the units of a feed.\nThey do not have an identifier because you cannot look them up by identifier.", "fields": [ { "name": "content", "description": null, "args": [], "type": { "kind": "UNION", "name": "FeedItemContent", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "reasons", "description": null, "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "FeedItemReason", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "tracking", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "FeedItemTracking", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FeedItemConnection", "description": null, "fields": [ { "name": "edges", "description": null, "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "FeedItemEdge", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "PageInfo", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "UNION", "name": "FeedItemContent", "description": "FeedItemContent is the supported content types that may appear in a feed.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "Clip", "ofType": null }, { "kind": "OBJECT", "name": "Post", "ofType": null }, { "kind": "OBJECT", "name": "Share", "ofType": null }, { "kind": "OBJECT", "name": "Stream", "ofType": null }, { "kind": "OBJECT", "name": "Video", "ofType": null } ] }, { "kind": "OBJECT", "name": "FeedItemEdge", "description": null, "fields": [ { "name": "cursor", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "FeedItem", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FeedItemReason", "description": "FeedItemReason explains why an item is in your feed.", "fields": [ { "name": "reason", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FeedItemTracking", "description": "FeedItemTracking contains the tracking info of a feeditem.", "fields": [ { "name": "batchID", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "cardImpressionID", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "recGenerationID", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "recGenerationIndex", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "SCALAR", "name": "Float", "description": "The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point).", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Follow", "description": "Data about the relationship between one User and a User they are following.", "fields": [ { "name": "disableNotifications", "description": "Whether to disable notifications for this relationship.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "followedAt", "description": "Represents when this relationship was established.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "user", "description": "The user who is followed.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "FollowCommunityInput", "description": null, "fields": null, "inputFields": [ { "name": "communityID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FollowCommunityPayload", "description": null, "fields": [ { "name": "community", "description": "The community that was followed.", "args": [], "type": { "kind": "OBJECT", "name": "Community", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FollowConnection", "description": "A paginated list of follows relationships.", "fields": [ { "name": "edges", "description": "The elements of the paginated list.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "FollowEdge", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information about this page.", "args": [], "type": { "kind": "OBJECT", "name": "PageInfo", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "totalCount", "description": "The total number of followers.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FollowDeprecatedEventPayload", "description": "The result of a followDeprecatedEvent mutation.", "fields": [ { "name": "event", "description": "The event that was followed.", "args": [], "type": { "kind": "INTERFACE", "name": "DeprecatedEvent", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FollowEdge", "description": "An element in a paginated list of follows relationships.\nContains metadata about the follow relationship between two users.", "fields": [ { "name": "cursor", "description": "An opaque cursor identifying the edge's position in the paginted list.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Cursor", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "disableNotifications", "description": "Whether to disable notifications for this relationship.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": true, "deprecationReason": "use notificationSettings.isEnabled instead." }, { "name": "followedAt", "description": "Represents when this relationship was established.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The user who is followed.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "notificationSettings", "description": "Notification settings for this relationship.", "args": [], "type": { "kind": "OBJECT", "name": "ChannelNotificationSettings", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "FollowEventInput", "description": "The required input for a followEvent mutation.", "fields": null, "inputFields": [ { "name": "eventID", "description": "ID of the event that the user is to follow.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FollowEventPayload", "description": "The result of a followEvent mutation.", "fields": [ { "name": "event", "description": "The event that was followed.", "args": [], "type": { "kind": "UNION", "name": "Event", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "FollowGameInput", "description": null, "fields": null, "inputFields": [ { "name": "gameID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FollowGamePayload", "description": null, "fields": [ { "name": "game", "description": "the game that was followed\ngame.self.follow should now be non-null", "args": [], "type": { "kind": "OBJECT", "name": "Game", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "FollowUserInput", "description": null, "fields": null, "inputFields": [ { "name": "disableNotifications", "description": "disableNotifications, when true, prevents the followed user's stream from sending email and push notifications to\nthe authenticated user when it goes live.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "defaultValue": null }, { "name": "targetID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FollowUserPayload", "description": null, "fields": [ { "name": "follow", "description": "The new follow relationship.", "args": [], "type": { "kind": "OBJECT", "name": "Follow", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FollowedCommunityConnection", "description": "Paginated list of followed communities.", "fields": [ { "name": "edges", "description": null, "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "FollowedCommunityEdge", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FollowedCommunityEdge", "description": null, "fields": [ { "name": "cursor", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Cursor", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Community", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FollowedGameConnection", "description": "A list of followed games.", "fields": [ { "name": "nodes", "description": "The elements of the paginated list.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Game", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "FollowedGamesType", "description": null, "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "LIVE", "description": "Only games which are currently being streamed will be returned.", "isDeprecated": false, "deprecationReason": null }, { "name": "ALL", "description": "All followed games.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "FollowedHostConnection", "description": "A list of broadcasters followed by a user and hosting live broadcasters.", "fields": [ { "name": "nodes", "description": "The broadcasters.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "User", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FollowedLiveUserConnection", "description": "A list of live-streaming broadcasters followed by a user.", "fields": [ { "name": "edges", "description": "The live broadcasters.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "FollowedLiveUserEdge", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "nodes", "description": "The live broadcasters.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "User", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use FollowedLiveUserConnection.edges instead for pagination support" }, { "name": "pageInfo", "description": "Pagination.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FollowedLiveUserEdge", "description": "A live streaming broadcaster with cursor.", "fields": [ { "name": "cursor", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Cursor", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FollowerConnection", "description": "A paginated list of followers relationships.", "fields": [ { "name": "edges", "description": "The elements of the paginated list.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "FollowerEdge", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Metadata about this page.", "args": [], "type": { "kind": "OBJECT", "name": "PageInfo", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "totalCount", "description": "The total number of followers.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FollowerEdge", "description": "An element in a paginated list of followers.\nContains metadata about the follower relationship between two users.", "fields": [ { "name": "cursor", "description": "An opaque cursor identifying the edge's position in the paginted list.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Cursor", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "disableNotifications", "description": "Whether to disable notifications for this relationship.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "followedAt", "description": "Represents when this relationship was established.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The user who is a follower.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "notificationSettings", "description": "Notification settings for this relationship.", "args": [], "type": { "kind": "OBJECT", "name": "ChannelNotificationSettings", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "FollowsFilter", "description": null, "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "ALL", "description": "All users the user is following.", "isDeprecated": false, "deprecationReason": null }, { "name": "SUBBABLE", "description": "Users the user is following to which the user can subscribe.\nthis is authenticated so only a logged in user can filter by SUBBABLE.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "UNION", "name": "FragmentContent", "description": "FragmentContent contains the parse content of a fragment, and can be an emote or a mention.\nNOTE: should have been called RoomMessageFragmentContent.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "Emote", "ofType": null }, { "kind": "OBJECT", "name": "User", "ofType": null } ] }, { "kind": "OBJECT", "name": "FriendConnection", "description": "A list of a user's friend relationships.", "fields": [ { "name": "edges", "description": "The friend elements of this list.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "FriendEdge", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "totalCount", "description": "The total number of friends this user has.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "FriendEdge", "description": "The friendship between the authenticated user and another user.", "fields": [ { "name": "activity", "description": "An action that a user or session is performing.", "args": [], "type": { "kind": "INTERFACE", "name": "Activity", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "availability", "description": "The computed state of a user or session.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "Availability", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "lastStatusChangeAt", "description": "The last time the friend's availability or activity changed.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The friend user.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "FriendSort", "description": "Decides how to sort Friendship-related responses.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "ASC", "description": "Sort from oldest to newest.", "isDeprecated": false, "deprecationReason": null }, { "name": "DESC", "description": "Sort from newest to oldest.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "FulfillmentDetail", "description": "Information about how to acquire or launch a game.\nFor Commenrce.", "fields": [ { "name": "description", "description": "Markdown description of how to acquire or launch a game. (May contain a link to a download site or launcher).", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isExternal", "description": "True if the game is available from an external site.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Game", "description": "A Game is often the subject of a Stream on Twitch.", "fields": [ { "name": "activeDropCampaigns", "description": "What campaigns are active for this game.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "DropCampaign", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "avatarURL", "description": "URL to an avatar image.\nThe image dimensions are specifiable via the `height` and `width` parameters.\n\nIf `height` or `width` are not specified, the URL will contain\nthe template strings `{height}` and/or `{width}` in their respective places.", "args": [ { "name": "width", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "height", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "boxArtURL", "description": "URL to a box art image.\nThe image dimensions are specifiable via the `height` and `width` parameters.\n\nIf `height` or `width` are not specified, the URL will contain\nthe template strings `{height}` and/or `{width}` in their respective places.", "args": [ { "name": "width", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "height", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "broadcastersCount", "description": "Number of broadcasters streaming this game.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "channelsCount", "description": "Number of channels currently streaming this game.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use broadcastersCount instead." }, { "name": "clips", "description": "A paginated list of clips featuring this game, ordered by view count descending.\nWhen criteria is not specified, the default values are used.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "criteria", "description": null, "type": { "kind": "INPUT_OBJECT", "name": "GameClipsInput", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "ClipConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "coverURL", "description": "URL to a cover image.\nThe image dimensions are specifiable via the `height` and `width` parameters.\n\nIf `height` or `width` are not specified, the URL will contain\nthe template strings `{height}` and/or `{width}` in their respective places.", "args": [ { "name": "width", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "height", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "directoryType", "description": "The type of directory – in this case, always GAME.", "args": [], "type": { "kind": "ENUM", "name": "DirectoryType", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "displayName", "description": "A publicly visible name used for display purposes.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "featuredEventBroadcasts", "description": "Events that are featured for this game.", "args": [], "type": { "kind": "OBJECT", "name": "FeaturedEventBroadcasts", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use featuredEventsByTime instead." }, { "name": "featuredEventsByTime", "description": "Events that are featured for this game.", "args": [], "type": { "kind": "OBJECT", "name": "FeaturedEventsByTime", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "followersCount", "description": "Number of users that follow this game.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "giantBombID", "description": "The game's unique GiantBomb identifier.", "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The game's unique Twitch identifier.\nIt is used to associate games with product offers.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "logoURL", "description": "URL to a game logo image.\nThe image dimensions are specifiable via the `height` and `width` parameters.\n\nIf `height` or `width` are not specified, the URL will contain\nthe template strings `{height}` and/or `{width}` in their respective places.", "args": [ { "name": "width", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "height", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "name", "description": "The name of the game.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "popularityScore", "description": "A measure of the games popularity.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "product", "description": "Commerce-related details for this game including purchase information.\nIf no commerce items are available this will be null. If a client only\nneeds to check for the existence of game details without loading those\ndetails it should request only the `GameProduct.id` field and check\nif the resulting object is null or not.", "args": [], "type": { "kind": "OBJECT", "name": "GameProduct", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "self", "description": "The authenticated user's relationship with this Game.", "args": [], "type": { "kind": "OBJECT", "name": "GameSelfConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "streams", "description": "Get a page of live streams broadcasting this game.\nThe languages param can be used to filter the streams. Otherwise all languages will be returned.\nThe filters param contains additional metadata filters, for example {hearthstoneGameMode: \"arena\"}.\nThe sort param can be used to change the default sorting, which sometimes is specific to specific games.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "languages", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, "defaultValue": null }, { "name": "filters", "description": null, "type": { "kind": "INPUT_OBJECT", "name": "StreamMetadataFilterInput", "ofType": null }, "defaultValue": null }, { "name": "sort", "description": null, "type": { "kind": "ENUM", "name": "StreamSort", "ofType": null }, "defaultValue": "VIEWER_COUNT" }, { "name": "requestID", "description": null, "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "StreamConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "videos", "description": "A paginated list of top videos for this game.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "languages", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, "defaultValue": null }, { "name": "types", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "BroadcastType", "ofType": null } } }, "defaultValue": null }, { "name": "sort", "description": null, "type": { "kind": "ENUM", "name": "VideoSort", "ofType": null }, "defaultValue": "TIME" } ], "type": { "kind": "OBJECT", "name": "VideoConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "viewersCount", "description": "Number of viewers currently watching a stream which features this game.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Directory", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "GameClipsInput", "description": "Filtering criteria for paginated game clips results.", "fields": null, "inputFields": [ { "name": "broadcasterID", "description": "The ID of the broadcaster to filter results by.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "curatorID", "description": "The ID of the curator to filter results by.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "filter", "description": "DEPRECATED: `filter` should no longer be used. Prefer `period` and `sort` instead.\nA filter which restricts results.", "type": { "kind": "ENUM", "name": "ClipsFilter", "ofType": null }, "defaultValue": null }, { "name": "languages", "description": "Clip results will be filtered by this language.\nOmit this input field to get results by all languages.", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "Language", "ofType": null } } }, "defaultValue": null }, { "name": "period", "description": "The time period to restrict clips based on creation time.", "type": { "kind": "ENUM", "name": "ClipsPeriod", "ofType": null }, "defaultValue": "LAST_WEEK" }, { "name": "sort", "description": "The sort order for the clips results.", "type": { "kind": "ENUM", "name": "ClipsSort", "ofType": null }, "defaultValue": "VIEWS_DESC" } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "GameConnection", "description": "Paginated list of Games.\nImplements the Relay cursor connections specification.\nSee: https://facebook.github.io/relay/graphql/connections.htm.", "fields": [ { "name": "edges", "description": "The list of games to display.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "GameEdge", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "GameEdge", "description": "Contains information about a Game's relationship to a given page (connection),\nand the Game itself.", "fields": [ { "name": "cursor", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "Game", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "GameFollow", "description": "Game followed by a User.", "fields": [ { "name": "followedAt", "description": "Represents when this relationship was established.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "game", "description": "The game that is followed.", "args": [], "type": { "kind": "OBJECT", "name": "Game", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "user", "description": "The user who is following.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "GameProduct", "description": "Details about how to acquire and launch this game as well as available in-game content purchases.\nFor Commerce.", "fields": [ { "name": "acquisition", "description": "Information about how a game is acquired. e.g. \"Get this Game\" link that directs to the developer's external download page.", "args": [], "type": { "kind": "OBJECT", "name": "FulfillmentDetail", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "developer", "description": "Name of the game developer. (e.g. Blizzard).", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "edition", "description": "The edition of the game (e.g. Collector's Edition).", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "esrbRating", "description": "ESRB rating information for the game.", "args": [], "type": { "kind": "OBJECT", "name": "MaturityRating", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "eulaURL", "description": "Developer-provided EULA link for their game.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "featureDetails", "description": "Game features.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "genres", "description": "List of genres for this product.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "inGameContent", "description": "Information about purchasable in-game items.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "InGameContent", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "info", "description": "Information about how to purchase this game.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "launchPlatform", "description": "Information about how a game is launched.", "args": [], "type": { "kind": "OBJECT", "name": "FulfillmentDetail", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "media", "description": "Screenshots, Videos, Box Art, etc.", "args": [], "type": { "kind": "OBJECT", "name": "ProductMedia", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "minimumSystemRequirement", "description": "The minimum system requirements needed to run the game.", "args": [], "type": { "kind": "OBJECT", "name": "SystemRequirement", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "publisher", "description": "E.g. Electronic Arts.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "recommendedSystemRequirement", "description": "The recommended system requirements needed to run the game.", "args": [], "type": { "kind": "OBJECT", "name": "SystemRequirement", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "releaseEndDate", "description": "Date that this game ends being buyable.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "releaseStartDate", "description": "Date that this game starts being buyable.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "supportURL", "description": "The support URL of the game (e.g. https://playbreakaway.com/support).", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "supportedLanguages", "description": "Languages that this product supports.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductLanguage", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "supportedPlatforms", "description": "List of platforms the game is available on.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SupportedPlatform", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "websiteURL", "description": "The website URL of the game (e.g. https://playbreakaway.com).", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "GameSelfConnection", "description": "The relationship between the authenticated user and a game.", "fields": [ { "name": "follow", "description": "The current user's follow relationship with this game.", "args": [], "type": { "kind": "OBJECT", "name": "GameFollow", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isDropsLinked", "description": "Whether or not the current user has a link to this game that can be used\nfor Drops.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Hearthstone", "description": "Contains Heartstone game specific information.", "fields": [ { "name": "broadcasterHeroClass", "description": "The hero class that broadcaster is playing.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "broadcasterHeroName", "description": "The hero name that broadcaster is playing.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "gameMode", "description": "Game mode of the current game.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "opponentHeroClass", "description": "The hero class that broadcaster's opponent is playing.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "opponentHeroName", "description": "The hero name that broadcaster's opponent is playing.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "HiddenView", "description": "HiddenView holds the view configuration of an extension if it is a hidden load test extension.", "fields": [ { "name": "viewerURL", "description": "The URL which should be loaded in for the extension.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "ExtensionView", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "SCALAR", "name": "ID", "description": "The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Image", "description": null, "fields": [ { "name": "height", "description": "The original height of the image in pixels.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "imageURL", "description": "The URL source of the image.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use the 'url' query instead." }, { "name": "url", "description": "The URL source of the image.", "args": [ { "name": "width", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "height", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "width", "description": "The original width of the image in pixels.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "ImageOptions", "description": null, "fields": null, "inputFields": [ { "name": "height", "description": "The height of the image in pixels.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "width", "description": "The width of the image in pixels.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "InGameContent", "description": "Information about a purchasable in-game item.\nFor Commerce.", "fields": [ { "name": "description", "description": "Short description of the in-game item.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "info", "description": "Detailed information about this purchasable item.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "tags", "description": "List of tags describing the type of content this is.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "InGameContentPurchaseToken", "description": "InGameContentPurchaseToken provides information related to a consumable purchase \ntoken about recently acquired in game content.", "fields": [ { "name": "asin", "description": "asin is the purchased Amazon ASIN (a unique identifier for products at \nAmazon) to be shared.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": "description is the description of the in game content.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "id is the unique in game content identifier for the purchase token.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "imageURL", "description": "imageURL is the URL for the image to be used for the in game content.\nAn optional width can be specified to return an image of the given width. If\nno size is specified the images native size will be used.", "args": [ { "name": "width", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "title is the title to use for the in game content.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "PurchaseTokenItem", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "IncomingFriendRequestConnection", "description": "Friend requests sent from other users to this user.", "fields": [ { "name": "edges", "description": "The friend request elements of this list.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "IncomingFriendRequestEdge", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "newestEdge", "description": "The most recent incoming friend request received by this user, if any exist. This field is provided as a\nconvenience, as edges is not strictly time-ordered. The incoming friend request's presence in this field does not\nprevent it from also occurring in edges.", "args": [], "type": { "kind": "OBJECT", "name": "IncomingFriendRequestEdge", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information about this page.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "totalCount", "description": "The total number of incoming friend requests.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "totalUnreadCount", "description": "The total number of unseen incoming friend requests. Use the ClearUnreadFriendRequests mutation to set this to 0.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "IncomingFriendRequestEdge", "description": "A friend request sent from another user to this user.", "fields": [ { "name": "createdAt", "description": "The time at which the friend request was sent.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "cursor", "description": "An opaque cursor identifying the edge's position in the paginated list.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Cursor", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The user who sent the friend request.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "InstallExtensionInput", "description": "The required input for an installExtension mutation.", "fields": null, "inputFields": [ { "name": "channelID", "description": "The channelID the user is installing the extension on.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "extensionID", "description": "The composite ID of an extension .", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "InstallExtensionPayload", "description": "The result of an installExtension mutation.", "fields": [ { "name": "installedExtension", "description": "The resulting extension installation record from the install.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ExtensionInstallation", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "SCALAR", "name": "Int", "description": "The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Inventory", "description": "Contains the inventory for a particular user. Inventory consists of\nDrops awarded, Crates, emotes from Crates, badges from Crates, and\nBits.", "fields": [ { "name": "drops", "description": "The drops awarded to this user.", "args": [], "type": { "kind": "OBJECT", "name": "UserDropAwardConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "JoinChannelRoomsInput", "description": null, "fields": null, "inputFields": [ { "name": "channelID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "JoinChannelRoomsPayload", "description": null, "fields": [ { "name": "channel", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "Language", "description": "An enumeration of languages available on Twitch.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "AR", "description": "العربية.", "isDeprecated": false, "deprecationReason": null }, { "name": "ASL", "description": "American sign language.", "isDeprecated": false, "deprecationReason": null }, { "name": "BG", "description": "Български.", "isDeprecated": false, "deprecationReason": null }, { "name": "CS", "description": "čeština.", "isDeprecated": false, "deprecationReason": null }, { "name": "DA", "description": "Dansk.", "isDeprecated": false, "deprecationReason": null }, { "name": "DE", "description": "Deutsch.", "isDeprecated": false, "deprecationReason": null }, { "name": "EL", "description": "Eλληνικά.", "isDeprecated": false, "deprecationReason": null }, { "name": "EN", "description": "English.", "isDeprecated": false, "deprecationReason": null }, { "name": "ES", "description": "Español.", "isDeprecated": false, "deprecationReason": null }, { "name": "FI", "description": "Suomi.", "isDeprecated": false, "deprecationReason": null }, { "name": "FR", "description": "Français.", "isDeprecated": false, "deprecationReason": null }, { "name": "HU", "description": "Magyar.", "isDeprecated": false, "deprecationReason": null }, { "name": "IT", "description": "Italiano.", "isDeprecated": false, "deprecationReason": null }, { "name": "JA", "description": "日本語.", "isDeprecated": false, "deprecationReason": null }, { "name": "KO", "description": "한국어.", "isDeprecated": false, "deprecationReason": null }, { "name": "NL", "description": "Nederlands.", "isDeprecated": false, "deprecationReason": null }, { "name": "NO", "description": "Norsk.", "isDeprecated": false, "deprecationReason": null }, { "name": "OTHER", "description": "Other.", "isDeprecated": false, "deprecationReason": null }, { "name": "PL", "description": "Polski.", "isDeprecated": false, "deprecationReason": null }, { "name": "PT", "description": "Português.", "isDeprecated": false, "deprecationReason": null }, { "name": "RU", "description": "Pусский.", "isDeprecated": false, "deprecationReason": null }, { "name": "SK", "description": "Slovenčina.", "isDeprecated": false, "deprecationReason": null }, { "name": "SV", "description": "Svenska.", "isDeprecated": false, "deprecationReason": null }, { "name": "TH", "description": "ภาษาไทย.", "isDeprecated": false, "deprecationReason": null }, { "name": "TR", "description": "Türkçe.", "isDeprecated": false, "deprecationReason": null }, { "name": "VI", "description": "Tiếng việt.", "isDeprecated": false, "deprecationReason": null }, { "name": "ZH", "description": "中文.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "LanguageTag", "description": "An enumeration of user language tags (shortened BCP 47) available on Twitch. This should not be confused with Language, which is broadcaster language.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "AR", "description": "Arabic.", "isDeprecated": false, "deprecationReason": null }, { "name": "BG", "description": "Bulgarian.", "isDeprecated": false, "deprecationReason": null }, { "name": "CS", "description": "Czech.", "isDeprecated": false, "deprecationReason": null }, { "name": "DA", "description": "Danish.", "isDeprecated": false, "deprecationReason": null }, { "name": "DE", "description": "German.", "isDeprecated": false, "deprecationReason": null }, { "name": "EL", "description": "Greek.", "isDeprecated": false, "deprecationReason": null }, { "name": "EN", "description": "English.", "isDeprecated": false, "deprecationReason": null }, { "name": "EN_GB", "description": "English - Great Britain.", "isDeprecated": false, "deprecationReason": null }, { "name": "ES", "description": "Spanish.", "isDeprecated": false, "deprecationReason": null }, { "name": "ES_MX", "description": "Spanish - Mexico.", "isDeprecated": false, "deprecationReason": null }, { "name": "FI", "description": "Finnish.", "isDeprecated": false, "deprecationReason": null }, { "name": "FR", "description": "French.", "isDeprecated": false, "deprecationReason": null }, { "name": "HI", "description": "Hindi.", "isDeprecated": false, "deprecationReason": null }, { "name": "HU", "description": "Hungarian.", "isDeprecated": false, "deprecationReason": null }, { "name": "IT", "description": "Italian.", "isDeprecated": false, "deprecationReason": null }, { "name": "JA", "description": "Japanese.", "isDeprecated": false, "deprecationReason": null }, { "name": "KO", "description": "Korean.", "isDeprecated": false, "deprecationReason": null }, { "name": "NL", "description": "Dutch.", "isDeprecated": false, "deprecationReason": null }, { "name": "NO", "description": "Norwegian.", "isDeprecated": false, "deprecationReason": null }, { "name": "PL", "description": "Polish.", "isDeprecated": false, "deprecationReason": null }, { "name": "PT", "description": "Portuguese.", "isDeprecated": false, "deprecationReason": null }, { "name": "PT_BR", "description": "Portuguese - Brazil.", "isDeprecated": false, "deprecationReason": null }, { "name": "RO", "description": "Romanian.", "isDeprecated": false, "deprecationReason": null }, { "name": "RU", "description": "Russian.", "isDeprecated": false, "deprecationReason": null }, { "name": "SK", "description": "Slovak.", "isDeprecated": false, "deprecationReason": null }, { "name": "SV", "description": "Swedish.", "isDeprecated": false, "deprecationReason": null }, { "name": "TH", "description": "Thai.", "isDeprecated": false, "deprecationReason": null }, { "name": "TR", "description": "Turkish.", "isDeprecated": false, "deprecationReason": null }, { "name": "VI", "description": "Vietnamese.", "isDeprecated": false, "deprecationReason": null }, { "name": "ZH_CN", "description": "Chinese - China.", "isDeprecated": false, "deprecationReason": null }, { "name": "ZH_TW", "description": "Chinese - Taiwan.", "isDeprecated": false, "deprecationReason": null }, { "name": "ZH", "description": "Chinese.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "LeaderboardTimePeriodType", "description": "LeaderboardTimePeriodType enumerates the various types of supported Leaderboards.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "WEEK", "description": "Weekly leaderboards reset at midnight PT between Sunday and Monday.", "isDeprecated": false, "deprecationReason": null }, { "name": "MONTH", "description": "Monthly leaderboards reset at midnight PT on the last day of the month.", "isDeprecated": false, "deprecationReason": null }, { "name": "ALLTIME", "description": "All time leaderboards are cumulative back to when Bits launched in June of 2016.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "LeagueOfLegends", "description": "Contains Leagueoflegends game specific information.", "fields": [ { "name": "championID", "description": "The ID of the champion that broadcaster is current playing.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "summonerDivision", "description": "Summoner's division.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "summonerID", "description": "Summoner's ID.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "summonerName", "description": "Summoner's name.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "summonerRank", "description": "Summoner's rank.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "LeaveChannelRoomsInput", "description": null, "fields": null, "inputFields": [ { "name": "channelID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "LeaveChannelRoomsPayload", "description": null, "fields": [ { "name": "channel", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "LinkOEmbed", "description": "LinkOEmbed is a link oEmbed. This looks strange being empty, but mirrors the oEmbed official spec most exactly.", "fields": [ { "name": "authorName", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "authorURL", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "cacheAge", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "inputURL", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "providerName", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "providerURL", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "thumbnail", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "ThumbnailOEmbed", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "version", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "OEmbed", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "LinkSSOInput", "description": null, "fields": null, "inputFields": [ { "name": "code", "description": "The code that identifies the single sign-on (SSO) app that should be linked to the authenticated user's account.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "LinkSSOPayload", "description": null, "fields": [ { "name": "link", "description": "The new SSO link.", "args": [], "type": { "kind": "OBJECT", "name": "SSOLink", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "LiveConfigView", "description": "LiveConfigView holds the view configuration of an extension if the live config dashboard page is supported.", "fields": [ { "name": "viewerURL", "description": "The URL which should be loaded in for the extension.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "ExtensionView", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "LiveRecommendationConnection", "description": null, "fields": [ { "name": "generationID", "description": "Per-generation tracking id for identifying a recommendation model.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "nodes", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "Stream", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "responseID", "description": "Unique tracking id per response.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "ManagedEventLeavesCriteriaInput", "description": "Options for fetching pages of managed event leaves.", "fields": null, "inputFields": [ { "name": "endsAfter", "description": "Select for events that end after this time.", "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "defaultValue": null }, { "name": "endsBefore", "description": "Select for events that end before this time.", "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "defaultValue": null }, { "name": "firstPageOptions", "description": "Defines the strategies that are used to determine where the first page of events should start within the complete\nlist of events. Moving forwards or backwards past this first page is possible using standard Relay pagination.\nThe options are processed in order, and if an option cannot be fulfilled (e.g. if the first option states to\nstart at a particular ID, but the ID does not exist in the list), then the next option is considered.\nIf no options can be fulfilled, or no options are given, the first page will start at the first event\nafter sorting and ordering.", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "EventConnectionFirstPageInput", "ofType": null } } }, "defaultValue": null }, { "name": "gameIDs", "description": "Select for events that involve at least one game that corresponds to the given game IDs. If left unspecified,\nno filtering by game is done.", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, "defaultValue": null }, { "name": "sortOrder", "description": "Sort order; defaults to ASC.", "type": { "kind": "ENUM", "name": "SortOrder", "ofType": null }, "defaultValue": null }, { "name": "startsAfter", "description": "Select for events that start after this time.", "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "defaultValue": null }, { "name": "startsBefore", "description": "Select for events that start before this time.", "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "MaturityRating", "description": "Governmental rating agency information.\nFor Commerce.", "fields": [ { "name": "details", "description": "List of rating information (eg \"Blood\", \"Violence\", etc).", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "iconURL", "description": "URL of icon to display for this rating.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Media", "description": "Media associated with a product.", "fields": [ { "name": "images", "description": "Associated images.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "Image", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "MerchandiseProduct", "description": "A product is an item that we sell on twitch\nFor Commerce.", "fields": [ { "name": "media", "description": "The media associated with a merch item.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Media", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "productInfo", "description": "The product information associated with a merch item.", "args": [], "type": { "kind": "OBJECT", "name": "ProductInfo", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "MessageBody", "description": "MessageBody is a way of encoding emote annotated text. The original text is included as content and the\nparsed emotes are included which indicate the start and end indexes they should replace.", "fields": [ { "name": "content", "description": "The text content of the body.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "emotes", "description": "Collection of rune indexed emotes to be replaced clientside.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "EmbeddedEmote", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Milestone", "description": "Milestone is a construct is used within a tournament. For a given threshold, when the user \ncheers at or past this amount, they are able to claim a reward for cheering at this level.\nRewards can be fulfilled by different platforms.\nTypes of milestones:\n- **Global milestone**: for a given threshold, this milestone is reached when cheers from all \n users on the channel is greater than or equal to the threshold. \n This unlocks a reward for all users who have cheered.\n- **Individual milestone**: for a given threshold, this milestone is reached when an individual \n user's total cheers in the channel is greater than or equal to the threshold. \n This unlocks a reward for the individual user who cheered.\n- **Team milestone**: for a given threshold, this milestone is reached when an individual cheers \n for a specific team in total is greater than or equal to the threshold. \n This unlocks a reward for the individual user who cheered.\n\nNOTE: Should have been named CheeringTournamentMilestone.", "fields": [ { "name": "endDate", "description": "End date for when a milestone is no longer active.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "GraphQL ID of the milestone.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "objectiveTag", "description": "The type of milestone this is for. e.g INDIVIDUAL or GLOBAL.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "participationThreshold", "description": "Threshold that needs to be cheered by an individual to claim reward.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "rewards", "description": "The rewards associated with milestones.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TournamentReward", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "startDate", "description": "Start date for when a milestone is active.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "threshold", "description": "Threshold that needs to be cheered to claim reward.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "MobileView", "description": "MobileView holds the view configuration of an extension if mobile is supported.", "fields": [ { "name": "viewerURL", "description": "The URL which should be loaded in for the extension.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "ExtensionView", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ModConnection", "description": "Paginated list of moderators of a channel.", "fields": [ { "name": "edges", "description": "The elements of the list.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "ModEdge", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information about this page.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ModEdge", "description": "Element in a list of moderators of a channel.", "fields": [ { "name": "cursor", "description": "Opaque cursor describing this edge's position in the paginated list.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Cursor", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The user that is a moderator.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "User", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ModUserError", "description": "ModUserError contains details about a client error that occurred.", "fields": [ { "name": "code", "description": "The enum indicating what error has occurred.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ModUserErrorCode", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "ModUserErrorCode", "description": "ModUserErrorCode defines a client error that occurred while adding a moderator.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "FORBIDDEN", "description": "The requesting user does not have permission to add a moderator in this channel.", "isDeprecated": false, "deprecationReason": null }, { "name": "TARGET_NOT_FOUND", "description": "The target user does not exist or has a suspended account.", "isDeprecated": false, "deprecationReason": null }, { "name": "CHANNEL_NOT_FOUND", "description": "The channel does not exist.", "isDeprecated": false, "deprecationReason": null }, { "name": "TARGET_IS_CHAT_BANNED", "description": "The target user is banned or timed out in this channel.", "isDeprecated": false, "deprecationReason": null }, { "name": "TARGET_ALREADY_MOD", "description": "The target user is already a moderator.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "ModUserInput", "description": "ModUserInput contains the parameters to add a user as a moderator to a channel.", "fields": null, "inputFields": [ { "name": "channelID", "description": "The channel that the user will be added as a moderator to.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "targetID", "description": "The ID of the user that will be added as a moderator.\nEither targetID or targetLogin must be provided.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "targetLogin", "description": "The login of the user that will be added as a moderator.\nEither targetID or targetLogin must be provided.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ModUserPayload", "description": "ModUserPayload is the response when adding a user as a moderator.", "fields": [ { "name": "channel", "description": "The channel that the user is added as a moderator to.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "error", "description": "The client error that has occurred.\nNull if the operation is successful.", "args": [], "type": { "kind": "OBJECT", "name": "ModUserError", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "target", "description": "The user that is added as a moderator.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Mutation", "description": "Operations to update data in the Twitch API.", "fields": [ { "name": "acceptFriendRequest", "description": "acceptFriendRequest accepts a friend request from the target user to the authenticated user, creating a new Friend relationship.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "AcceptFriendRequestInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "AcceptFriendRequestPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "acceptProgramAgreement", "description": "Accept program agreement during payout onboarding.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "AcceptProgramAgreementInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "AcceptProgramAgreementPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "activateExtension", "description": "Activate an extension which has been installed on a channel.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ActivateExtensionInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "ActivateExtensionPayload", "ofType": null }, "isDeprecated": true, "deprecationReason": "Should use applyExtensionActivations instead" }, { "name": "addBrowserPushSubscription", "description": "addBrowserPushSubscription adds a browser push subscription for receiving browser (desktop) push notifications.\nThe client must retrieve the input fields from the browser's push notification API. Client's will\ncall this when the user opts-in. A browser push subscription is tied to a user's browser (device).\nTwitch will use these push subscriptions to send browser push notifications.\n\nSpec: https://www.w3.org/TR/push-api/#push-subscription.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "AddBrowserPushSubscriptionInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "AddBrowserPushSubscriptionPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "addChannelBlockedTerm", "description": "Adds a blocked term to a channel.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "AddChannelBlockedTermInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "AddChannelBlockedTermPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "addChannelPermittedTerm", "description": "Adds a permitted term to a channel.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "AddChannelPermittedTermInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "AddChannelPermittedTermPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "addCollectionItem", "description": "addCollectionItem adds an item to a collection.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "AddCollectionItemInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "AddCollectionItemPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "addReaction", "description": "addReaction allows a user to create a reaction for any reactable item in a feed.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "AddReactionInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "AddReactionPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "allowRejectedChatMessage", "description": "Allows a message rejected on a channel chat.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "AllowRejectedChatMessageInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "AllowRejectedChatMessagePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "applyExtensionActivations", "description": "Apply activation state to a subset of installed extensions. In order to deactivate an installed extension,\nsimply pass a null value in the anchor.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ApplyExtensionActivationsInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "ApplyExtensionActivationsPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "banUserFromChatRoom", "description": "Bans a user from chat room permanently or for an specified period of time.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "BanUserFromChatRoomInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "BanUserFromChatRoomPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "banUserFromCommunity", "description": "banUserFromCommunity allows a user to ban another user from a community\nmust be the community owner or a moderator.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "BanUserFromCommunityInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "BanUserFromCommunityPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "banVideoCommenter", "description": "banVideoCommenter bans a user from commenting on a video.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "BanVideoCommenterInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "BanVideoCommenterPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "blockUser", "description": "Blocks target user from communicating with the current user.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "BlockUserInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "BlockUserPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "cancelBounty", "description": "cancelBounty allows a user to cancel a claimed bounty.\nIf the user has not met the requirements to cancel the bounty, an error will be returned.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CancelBountyInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CancelBountyPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "cancelFriendRequest", "description": "cancelFriendRequest destroys a friend request relationship from the authenticated user to the target user.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CancelFriendRequestInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CancelFriendRequestPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "cancelPayoutOnboardingWorkflow", "description": "Cancel a current payout onboarding workflow.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CancelPayoutOnboardingWorkflowInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CancelPayoutOnboardingWorkflowPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "claimAllRewards", "description": "claimAllRewards allows the current user to claim all rewards for a given campaign domain (e.g. Overwatch League).\nIf the domain does not exist an error will be returned.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ClaimAllRewardsInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "ClaimAllRewardsPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "claimBounty", "description": "claimBounty allows a user to claim a bounty from a campaign (e.g. Stream a Game Campaign).\nIf the user has not met the requirements to claim it, an error will be returned.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ClaimBountyInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "ClaimBountyPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "claimMilestone", "description": "claimMilestone allows the current user to claim a milestone for a campaign (e.g. Overwatch League).\nIf the user has not met the requirements to claim it, or the milestone does not exist an error will be returned.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ClaimMilestoneInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "ClaimMilestonePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "claimPrimeOffer", "description": "claimPrimeOffer allows a user to create their entitlement to the given offer/content.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ClaimPrimeOfferInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "ClaimPrimeOfferPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "clearUnreadFriendRequests", "description": "clearUnreadFriendRequests marks all friend requests for the authenticated user as read.", "args": [], "type": { "kind": "OBJECT", "name": "ClearUnreadFriendRequestsPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createClip", "description": "createClip creates a new clip with the authenticated user as the curator.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CreateClipInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CreateClipPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createCollection", "description": "createCollection creates a collection with a provided collection name.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CreateCollectionInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CreateCollectionPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createCommunity", "description": "createCommunity allows a user to create a community.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CreateCommunityInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CreateCommunityPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createCommunityImageUploadURL", "description": "createCommunityImageUploadURL creates and returns a url to use on the client side to upload media images.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CreateCommunityImageUploadURLInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CreateCommunityImageUploadURLPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createDropImageUploadURL", "description": "createDropImageUploadURL creates and returns a url to use on the client side to upload drops images.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CreateDropImageUploadURLInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CreateDropImageUploadURLPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createFriendRequest", "description": "createFriendRequest creates a friend request relationship between the authenticated user and the target user.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CreateFriendRequestInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CreateFriendRequestPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createPanel", "description": "createPanel removes a panel.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CreatePanelInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CreatePanelPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createPost", "description": "createPost creates a new post.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CreatePostInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CreatePostPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createRoom", "description": "Creates a new chatroom.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CreateRoomInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CreateRoomPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createSegmentEvent", "description": "createSegmentEvent allows a user to create a Segment type event.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CreateSegmentEventInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CreateSegmentEventPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createSingleEvent", "description": "createSingleEvent allows a user to create a Single type event. The Single type describes generic,\nbasic, self-contained events that only occur once.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CreateSingleEventInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CreateSingleEventPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createTimetableEvent", "description": "createTimetableEvent allows a user to create a Timetable type event.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CreateTimetableEventInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CreateTimetableEventPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createVideoComment", "description": "createVideoComment creates a video comment.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CreateVideoCommentInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CreateVideoCommentPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createVideoHighlight", "description": "createVideoHighlight creates a video of type Highlight from an Archive type video.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "CreateVideoHighlightInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CreateVideoHighlightPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "deactivateExtension", "description": "Deactivate an extension which has been installed on a channel.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeactivateExtensionInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "DeactivateExtensionPayload", "ofType": null }, "isDeprecated": true, "deprecationReason": "Should use applyExtensionActivations instead" }, { "name": "deleteChannelBlockedTerm", "description": "Deletes a blocked term from a channel.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeleteChannelBlockedTermInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "DeleteChannelBlockedTermPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "deleteChannelPermittedTerm", "description": "Deletes a permitted term from a channel.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeleteChannelPermittedTermInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "DeleteChannelPermittedTermPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "deleteClips", "description": "deleteClips allows a user to delete clips by slugs, video id, or broadcast id.\nOnly the slug and id can be accessed from the list of deleted clips.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeleteClipsInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "DeleteClipsPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "deleteCollection", "description": "deleteCollection performs a delete on the collection with the provided ID.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeleteCollectionInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "DeleteCollectionPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "deleteEventCollection", "description": "deleteEventCollection allows an authorized user to delete an event collection.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeleteEventCollectionInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "DeleteEventCollectionPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "deleteEventLeaf", "description": "deleteEventLeaf allows an authorized user to delete an event leaf.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeleteEventLeafInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "DeleteEventLeafPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "deleteNotification", "description": "deleteNotification deletes an onsite notification of the authenticated user.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeleteNotificationInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "DeleteNotificationPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "deletePanel", "description": "deletePanel removes a panel.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeletePanelInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "DeletePanelPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "deletePost", "description": "deletePost deletes a old post.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeletePostInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "DeletePostPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "deleteRoom", "description": "Deletes a chatroom.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeleteRoomInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "DeleteRoomPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "deleteRoomMessage", "description": "Deletes an existing message in a chatroom.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeleteRoomMessageInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "DeleteRoomMessagePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "deleteVideo", "description": "deleteVideo performs a delete on the video with the provided ID.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeleteVideoInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "DeleteVideoPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "deleteVideo", "description": "deleteVideo performs a delete on the video with the provided ID.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DeleteVideoInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "DeleteVideoPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "deleteVideoComment", "description": "deleteVideoComment performs a delete on the video comment with the provided comment ID.\nNOTE: this should use an input argument, not define the commentID right here.", "args": [ { "name": "commentID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "DeleteVideoCommentPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "denyRejectedChatMessage", "description": "Denies a message rejected on a channel chat.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DenyRejectedChatMessageInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "DenyRejectedChatMessagePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "dismissFriendRecommendation", "description": "dismissFriendRecommendation removes a friend recommendation to the authenticated user without creating a friend\nrequest.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DismissFriendRecommendationInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "DismissFriendRecommendationPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "dismissPinnedCheer", "description": "dismissPinnedCheer allows a moderator to remove a pinned recent message or reset the top pinned messages.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DismissPinnedCheerInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "DismissPinnedCheerPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "dismissPurchaseToken", "description": "dismissPurchaseToken allows the current user to dismiss a purchase token notification without sharing in chat.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DismissPurchaseTokenInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "DismissPurchaseTokenPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "dismissRitualToken", "description": "Permanently dismiss a ritual token without redeeming it.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "DismissRitualTokenInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "DismissRitualTokenPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "editCommunity", "description": "editCommunity allows a user to edit a community's settings\nmust be the community owner.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "EditCommunityInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "EditCommunityPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "editRoomMessage", "description": "Edits an existing message in a chatroom.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "EditRoomMessageInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "EditRoomMessagePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "followCommunity", "description": "followCommunity allows a user to follow a community.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "FollowCommunityInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "FollowCommunityPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "followDeprecatedEvent", "description": "followDeprecatedEvent allows the currently authenticated user to follow an event.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "FollowEventInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "FollowDeprecatedEventPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "followEvent", "description": "followEvent allows the currently authenticated user to follow an event.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "FollowEventInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "FollowEventPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "followGame", "description": "followGame allows a user to follow a game.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "FollowGameInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "FollowGamePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "followUser", "description": "followUser creates a follow relationship between the authenticated user and\nthe target user.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "FollowUserInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "FollowUserPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "installExtension", "description": "Install an extension onto a specific channel.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "InstallExtensionInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "InstallExtensionPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "joinChannelRooms", "description": "Joins the channel's chatrooms.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "JoinChannelRoomsInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "JoinChannelRoomsPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "leaveChannelRooms", "description": "Leaves the channel's chatrooms.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "LeaveChannelRoomsInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "LeaveChannelRoomsPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "linkSSO", "description": "Link a single sign-on (SSO) app to a user's account.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "LinkSSOInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "LinkSSOPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "modUser", "description": "Make a user a moderator for a channel.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ModUserInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "ModUserPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "openCrate", "description": "openCrate allows an authenticated a user to open the specified Twitch Crate. The contents of the crate will be given\nto the user as part of this action. The specified crate must be owned by the requesting user.\nOtherwise, an error will be returned.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "OpenCrateInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "OpenCratePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "orderPanels", "description": "orderPanels updates the sort order of the provided panels, the input must be a list of panel ids\nall of which are owned by the acting user otherwise the request will fail and a generic GraphQL\nerror will be returned.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "OrderPanelsInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "OrderPanelsPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "publishClip", "description": "publishClip allows a user to permanently edit and update their default clip, viewable to the public.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PublishClipInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "PublishClipPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "readNotifications", "description": "readNotifications sets the read state to true for one or more onsite notifications of the authenticated user.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ReadNotificationsInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "ReadNotificationsPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "redeemRitualToken", "description": "Redeem an available ritual token. Currently, tokens are redeemed by sending\na special message to a channel's chat.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "RedeemRitualTokenInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "RedeemRitualTokenPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "redeemTrueXAd", "description": "redeemTrueXAd processes the result of watching an ad to earn bits.\nThis action can only be taken if an OAuth token is supplied with the request.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "RedeemTrueXAdInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "RedeemTrueXAdPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "registerPayoutInformation", "description": "Register payout information during payout onboarding.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "RegisterPayoutInformationInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "RegisterPayoutInformationPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "rejectFriendRequest", "description": "rejectFriendRequest destroys a friend request relationship from the target user to the authenticated user.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "RejectFriendRequestInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "RejectFriendRequestPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "removeCollectionItem", "description": "removeCollectionItem removes an item from a collection.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "RemoveCollectionItemInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "RemoveCollectionItemPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "removeReaction", "description": "removeReaction removes a reaction created with addReaction.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "RemoveReactionInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "RemoveReactionPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "reorderCollectionItem", "description": "reorderCollectionItem reorders an item's position in a collection.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ReorderCollectionItemInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "ReorderCollectionItemPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "reportContent", "description": "reportContent allows a user to report content on the site as infringing of our terms of service.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ReportContentInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "ReportContentPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "reportUserInCommunity", "description": "reportUserInCommunity allows a user to report another user for violating a community's rules.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ReportUserInCommunityInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "ReportUserInCommunityPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "reportVideoComment", "description": "reportVideoComment reports a video comment identified by provided comment ID.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ReportVideoCommentInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "ReportVideoCommentPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "reportWhisperThread", "description": "Reports a whisper thread as spam.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ReportWhisperThreadInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "ReportWhisperThreadPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "requestRitualToken", "description": "Request a ritual token to be issued to the user.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "RequestRitualTokenInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "RequestRitualTokenPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "sendCheer", "description": "sendCheer sends a chat message that contains cheermotes. The message will\nbe processed, bits deducted from the authenticated user's balance, and then the\nmessage will be passed on to the chat service (client shouldn't send the message itself).\nThis action can only be taken if an OAuth token is supplied with the request.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SendCheerInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "SendCheerPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "sendRoomMessage", "description": "Sends a message to a chatroom.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SendRoomMessageInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "SendRoomMessagePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "sendWhisper", "description": "Sends a whisper message to the target user.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SendWhisperInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "SendWhisperPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "setAmendmentAcceptance", "description": "setAmendmentAcceptance sets that the acting user has agreed to the given amendment type.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SetAmendmentAcceptanceInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "SetAmendmentAcceptancePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "setChannelFeedEnabled", "description": "Set value for channel_feed_enabled.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SetChannelFeedEnabledInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "SetChannelFeedEnabledPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "setChannelNotificationSetting", "description": "setChannelNotificationSetting allows a user to set a notification setting.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SetChannelNotificationSettingInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "SetChannelNotificationSettingPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "setDefaultPaymentMethod", "description": "Sets the default payment method for a user.\nCurrently supports the Zuora (credit card) and Recurly (credit card, Pay-with-Amazon, PayPal) payment providers\nThis is the final step of the payment method management flow. (User.paymentMethods -> User.paymentMethodConfigs -> this mutation).", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SetDefaultPaymentMethodInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "SetDefaultPaymentMethodPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "setNotificationSetting", "description": "setNotificationSetting allows a user to set a notification setting.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SetNotificationSettingInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "SetNotificationSettingPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "setPreferredLanguageTag", "description": "Set a user's preferred language tag.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SetPreferredLanguageTagInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "SetPreferredLanguageTagPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "setSessionStatus", "description": "setSessionStatus sets the user's status for this session, which influences how they appear (\"online\", \"idle\",\n\"watching SnarfyBobo\") to friends and related users. To maintain a session status, setSessionStatus needs to be sent\nperiodically. The amount of time your application should wait between these status heartbeats is included in the\nresponse payload.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SetSessionStatusInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "SetSessionStatusPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "setUserResidence", "description": "Set user's country of residence.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SetUserResidenceInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "SetUserResidencePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "sharePurchaseTokenInChat", "description": "sharePurchaseTokenInChat allows the current user to share a purchase token in the chat with a message.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SharePurchaseTokenInChatInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "SharePurchaseTokenInChatPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "spendSubscriptionCredit", "description": "Spend Twitch Prime monthly subscription credit.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SpendSubscriptionCreditInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "SpendSubscriptionCreditPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "startPayoutOnboardingWorkflow", "description": "Start a new payout onboarding workflow.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "StartPayoutOnboardingWorkflowInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "StartPayoutOnboardingWorkflowPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "timeoutUserFromCommunity", "description": "timeoutUserFromCommunity allows a user to time out another user from a community\nmust be the community owner or a moderator.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "TimeoutUserFromCommunityInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "TimeoutUserFromCommunityPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "toggleRitualsEnabled", "description": "toggleRitualsEnabled allows a user to toggle the rituals feature for their channel.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ToggleRitualsEnabledInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "ToggleRitualsEnabledPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "tosBanCommunity", "description": "tosBanCommunity allows a Twitch admin to tos-ban a community from the site.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "TOSBanCommunityInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "TOSBanCommunityPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "unbanUserFromChatRoom", "description": "Removes a ban imposed on a user for an especified chat room.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UnbanUserFromChatRoomInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UnbanUserFromChatRoomPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "unbanUserFromCommunity", "description": "unbanUserFromCommunity allows a user to unban another user from a community\nmust be the community owner or a moderator.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UnbanUserFromCommunityInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UnbanUserFromCommunityPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "unblockUser", "description": "Removes block from target user.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UnblockUserInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UnblockUserPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "unfollowCommunity", "description": "unfollowCommunity allows a user to unfollow a community.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UnfollowCommunityInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UnfollowCommunityPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "unfollowDeprecatedEvent", "description": "unfollowDeprecatedEvent allows the currently authenticated user to unfollow an event.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UnfollowEventInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UnfollowDeprecatedEventPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "unfollowEvent", "description": "unfollowEvent allows the currently authenticated user to unfollow an event.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UnfollowEventInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UnfollowEventPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "unfollowGame", "description": "unfollowGame allows a user to unfollow a game.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UnfollowGameInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UnfollowGamePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "unfollowUser", "description": "unfollowUser destroys the follow relationship between the authenticated user and\nthe target user.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UnfollowUserInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UnfollowUserPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "unfriendUser", "description": "unfriendUser destroys a friend relationship from the target user to the authenticated user.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UnfriendUserInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UnfriendUserPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "uninstallExtension", "description": "Uninstall an extension from a specific channel.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UninstallExtensionInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UninstallExtensionPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "unlinkSSO", "description": "Unlink an SSO app from a user's account.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UnlinkSSOInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UnlinkSSOPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "unmodUser", "description": "Remove moderator status from a user in a channel.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UnmodUserInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UnmodUserPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "unsubscribeEmail", "description": "unsubscribeEmail unsubscribes a given user from a given email campaign.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UnsubscribeEmailInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UnsubscribeEmailPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "untimeoutUserFromCommunity", "description": "untimeoutUserFromCommunity allows a user to un-time out another user from a community\nmust be the community owner or a moderator.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UntimeoutUserFromCommunityInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UntimeoutUserFromCommunityPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updateAllWhisperThreads", "description": "Updates all of a user's whisper threads.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdateAllWhisperThreadsInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UpdateAllWhisperThreadsPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updateAutoModProperties", "description": "Set individual automod categories (i.e. set identity to level 3 but profanity to 0).", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdateAutoModPropertiesInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UpdateAutoModPropertiesPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updateBroadcastSettings", "description": "updateBroadcastSettings allows the user to update their broadcast setting.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdateBroadcastSettingsInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UpdateBroadcastSettingsPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updateChatColor", "description": "Updates a user's chat color.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdateChatColorInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UpdateChatColorPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updateChatSettings", "description": "Set different chat settings (i.e. disable globalBannedWordsOptOut).", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdateChatSettingsInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UpdateChatSettingsPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updateCheerPartnerSettings", "description": "Update the user's partner settings regarding bits.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdateCheerPartnerSettingsInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UpdateCheerPartnerSettingsPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updateClip", "description": "updateClip allows a user to update the metadata of a clip.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdateClipInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UpdateClipPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updateClipViewCount", "description": "updateClipViewCount allows a user to increment the viewcount of a clip.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdateClipViewCountInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UpdateClipViewCountPayload", "ofType": null }, "isDeprecated": true, "deprecationReason": "Will eventually be replaced by different viewcounting method" }, { "name": "updateCollection", "description": "updateCollection performs an update on the collection with the provided ID and updated attributes.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdateCollectionInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UpdateCollectionPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updateEventBroadcastNotifications", "description": "updateEventBroadcastNotifications allows a user to update their notification settings for a given\nEventBroadcast.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdateEventBroadcastNotificationsInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UpdateEventBroadcastNotificationsPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updateIsSharingActivity", "description": "Changes the user's activity sharing setting. A user's activity is one part of their status.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdateIsSharingActivityInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UpdateIsSharingActivityPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updateOnboardingSkippedChannels", "description": "updateOnboardingSkippedChannels updates skipped channel IDs during onboarding for a given user.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdateOnboardingSkippedChannelsInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UpdateOnboardingSkippedChannelsPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updatePanel", "description": "updatePanel updates the data for a given panel.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdatePanelInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UpdatePanelPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updatePremiereEvent", "description": "updatePremiereEvent allows a user to update a Premiere type event.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdatePremiereEventInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UpdatePremiereEventPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updatePrimeSettings", "description": "updatePrimeSettings allows the user to enable or disable chat notifications when spending a Prime Credit,\nand allows the user to set the type of Smilies (Turbos, Robots, or Monkeys) they want for Prime/Turbo Emoticons.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdatePrimeSettingsInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UpdatePrimeSettingsPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updateRoom", "description": "Updates an existing chatroom.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdateRoomInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UpdateRoomPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updateRoomModes", "description": "Updates the room modes (slow mode, emotes only mode, etc.) for the room.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdateRoomModesInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UpdateRoomModesPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updateRoomView", "description": "Update's a user's room view for a chatroom.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdateRoomViewInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UpdateRoomViewPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updateSegmentEvent", "description": "updateSegmentEvent allows a user to update a Segment type event.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdateSegmentEventInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UpdateSegmentEventPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updateSingleEvent", "description": "updateSingleEvent allows a user to update a Single type event.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdateSingleEventInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UpdateSingleEventPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updateSubscriptionProduct", "description": "updateSubscriptionProduct allows a user to update their subscription product settings.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdateSubscriptionProductInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UpdateSubscriptionProductPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updateTimetableEvent", "description": "updateTimetableEvent allows a user to update a Timetable type event.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdateTimetableEventInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UpdateTimetableEventPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updateUserDirectoryHidden", "description": "Set a user's directory hidden field.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdateUserDirectoryHiddenInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UpdateUserDirectoryHiddenPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updateUserSubscriptionSettings", "description": "updateUserSubscriptionSettings updates the subscription preferences for the authenticated user.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdateUserSubscriptionSettingsInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UpdateUserSubscriptionSettingsPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updateVideoComment", "description": "updateVideoComment updates a video comment identified by provided comment ID.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdateVideoCommentInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UpdateVideoCommentPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updateVisibility", "description": "Changes the user's visibility setting. This is an account-level setting that will cause the user's availability to\nappear differently to other users, despite what sessions are reporting. See the VisibilityInput enum for details on\nthe effects of each value.\n\nBecause this is an account-level setting, it should only be used in response to the user expressing clear intention\nto change their visibility. Setting a status for an individual session should be done using setSessionStatus.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdateVisibilityInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UpdateVisibilityPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updateWhisperThread", "description": "Updates a whisper thread.", "args": [ { "name": "input", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "UpdateWhisperThreadInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UpdateWhisperThreadPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "viewedNotifications", "description": "viewedNotifications updates when the authenticated user last saw onsite notifications.", "args": [], "type": { "kind": "OBJECT", "name": "ViewedNotificationsPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INTERFACE", "name": "OEmbed", "description": "OEmbed is a universal spec converted to GraphQL from http://oembed.com/.", "fields": [ { "name": "authorName", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "authorURL", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "cacheAge", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "inputURL", "description": "The inputURL is the URL that we are trying to resolve via oEmbed. It is not part\nof the official spec, but GQL implementations practically need to use it.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "providerName", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "providerURL", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "thumbnail", "description": "The description of thumbnail from the oembed spec fits with an optional thumbnail\ntype with required parameters.", "args": [], "type": { "kind": "OBJECT", "name": "ThumbnailOEmbed", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "version", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "PhotoOEmbed", "ofType": null }, { "kind": "OBJECT", "name": "VideoOEmbed", "ofType": null }, { "kind": "OBJECT", "name": "LinkOEmbed", "ofType": null }, { "kind": "OBJECT", "name": "RichOEmbed", "ofType": null } ] }, { "kind": "ENUM", "name": "OfferDeliveryMethod", "description": "Deliver method type for Prime Offers entitlements.\nNote: This should have been named PrimeOfferDeliveryMethod.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "CLAIM_CODE", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "DIRECT_ENTITLEMENT", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "EXTERNAL", "description": null, "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "Onboarding", "description": "Current state of the user in the onboarding process.", "fields": [ { "name": "skippedChannelIDs", "description": "List of channel IDs skipped by a user during onboarding.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "OnsiteNotification", "description": null, "fields": [ { "name": "actions", "description": "Actions of the notification.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OnsiteNotificationAction", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "body", "description": "Body of the notification in Markdown format.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "createdAt", "description": "When this notification was created.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "creators", "description": "List of users that created this notification.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "User", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "extra", "description": "Optional extra notification content.\nWhen type is \"vodupload\", extra is Video.\nWhen type is \"hotclipfollower\", extra is Clip,.", "args": [], "type": { "kind": "UNION", "name": "OnsiteNotificationContent", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "ID of the notification.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isRead", "description": "Whether this notification is read.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "thumbnailURL", "description": "A URL to a thumbnail image.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": "Type of notification.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "updatedAt", "description": "When notification was last updated.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "OnsiteNotificationAction", "description": null, "fields": [ { "name": "body", "description": "Body of the notification action in plain text.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": "Type of the notification action.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "url", "description": "URL of the notification action.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "OnsiteNotificationConnection", "description": null, "fields": [ { "name": "edges", "description": "List of notifications.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OnsiteNotificationEdge", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information about pagination in this connection.", "args": [], "type": { "kind": "OBJECT", "name": "PageInfo", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "summary", "description": "Notifications summary.", "args": [], "type": { "kind": "OBJECT", "name": "OnsiteNotificationsSummary", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "UNION", "name": "OnsiteNotificationContent", "description": null, "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "Clip", "ofType": null }, { "kind": "OBJECT", "name": "Video", "ofType": null } ] }, { "kind": "OBJECT", "name": "OnsiteNotificationEdge", "description": null, "fields": [ { "name": "cursor", "description": "Opaque cursor describing this edge's position in the paginated list.", "args": [], "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The notification.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "OnsiteNotification", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "OnsiteNotificationsSummary", "description": null, "fields": [ { "name": "lastSeenAt", "description": "Last time notifications were seen.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "unseenCount", "description": "Number of unseen notifications.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "OpenCrateInput", "description": null, "fields": null, "inputFields": [ { "name": "crateID", "description": "The ID used to uniquely identify the crate.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "OpenCratePayload", "description": null, "fields": [ { "name": "crateID", "description": "The ID used to uniquely identify the crate.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": true, "deprecationReason": "The mutated data is not in the response. When this functionality is added, the data will be in this response structure." } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "OrderPanelsInput", "description": null, "fields": null, "inputFields": [ { "name": "ids", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "OrderPanelsPayload", "description": null, "fields": [ { "name": "panels", "description": "List of panels in their new order.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "INTERFACE", "name": "Panel", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Overwatch", "description": "Contains Overwatch game specific information.", "fields": [ { "name": "broadcasterCharacter", "description": "The character that broadcaster is playing.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "broadcasterCharacterAbility", "description": "The ability of the character that broadcaster is playing.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "broadcasterCharacterRole", "description": "The role of the character that broadcaster is playing.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "PUBG", "description": "Contains PUBG game specific information.", "fields": [ { "name": "gameMode", "description": "Game mode of the current game.\nIn cases like game menu this will not exist, hence is nullable.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "playerAliveCount", "description": "Total number of players currentlive alive in the game\nIn cases like game menu this will not exist, hence is nullable.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "PageInfo", "description": "PageInfo is a special field which contains information about the page,\nspecifically the cursors which the page starts and ends, and whether or\nnot the client can forward-paginate or backward-paginate.\n\nThis is part of the Relay Cursor Connections Specification:\nhttps://facebook.github.io/relay/graphql/connections.htm.", "fields": [ { "name": "hasNextPage", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "hasPreviousPage", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "PaidUpgrade", "description": "Data about a paid upgrade for a subscription.\nie. a user upgrades a 1-month gift to a recurring subscription.", "fields": [ { "name": "price", "description": "The formatted price of the paid upgrade in USD.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "startsAt", "description": "The date the paid upgrade begins.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INTERFACE", "name": "Panel", "description": "Panel is information about a single info panel for a channel.", "fields": [ { "name": "id", "description": "id is a unique identifier for the panel.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": "type is the kind of panel.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PanelType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "DefaultPanel", "ofType": null }, { "kind": "OBJECT", "name": "ExtensionPanel", "ofType": null } ] }, { "kind": "INPUT_OBJECT", "name": "PanelActivationInput", "description": "The required configuration to activate a panel extension.", "fields": null, "inputFields": [ { "name": "slot", "description": "The slot name of where the component extension should be displayed.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "PanelType", "description": "PanelType is the kind of panel.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "DEFAULT", "description": "DEFAULT panels contain one or more of the content values in `Panel` to display.", "isDeprecated": false, "deprecationReason": null }, { "name": "EXTENSION", "description": "EXTENSION panels are placeholders for extension content.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "PanelView", "description": "PanelView holds the view configuration of an extension if the panel anchor is supported.", "fields": [ { "name": "height", "description": "The extension developer configured height of the panel extension.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "viewerURL", "description": "The URL which should be loaded in for the extension.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "ExtensionView", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Partnership", "description": "DEPRECATED.", "fields": [ { "name": "isPartner", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "PayPalBillingAgreement", "description": "PayPalBillingAgreement describes a user's PayPal billing agreement for recurring or one time PayPal payments for goods or services.", "fields": [ { "name": "countryCode", "description": "2 digit country code associated with PayPal account.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "email", "description": "The email associated with PayPal account.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "firstName", "description": "The user's firstname in PayPal account.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The PayPal billing agreement unique identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "lastName", "description": "The user's lastname in PayPal account.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "PayWithAmazonConfigs", "description": null, "fields": [ { "name": "clientID", "description": "Used to configure PWA gateway and identify requests to Amazon.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isProduction", "description": "Frontend only has access to production PWA environment so this helps QA.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "sellerID", "description": "Also known as merchant ID, which identifies the account accepting payments.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "PaymentCardType", "description": "Types of credit cards supported.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "VISA", "description": "Visa.", "isDeprecated": false, "deprecationReason": null }, { "name": "MASTERCARD", "description": "Mastercard.", "isDeprecated": false, "deprecationReason": null }, { "name": "AMERICAN_EXPRESS", "description": "American Express.", "isDeprecated": false, "deprecationReason": null }, { "name": "DISCOVER", "description": "Discover.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "PaymentInstrumentType", "description": "Payment instrument used through the payment provider.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "CREDIT_CARD", "description": "Credit or debit card.", "isDeprecated": false, "deprecationReason": null }, { "name": "AMAZON", "description": "Pay with Amazon.", "isDeprecated": false, "deprecationReason": null }, { "name": "PAYPAL", "description": "Pay with Paypal.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "PaymentMethod", "description": "Type of payment method a user has used to buy products on Twitch, such as subs.", "fields": [ { "name": "cardType", "description": "If payment type is card, then the type of card used is shown here.", "args": [], "type": { "kind": "ENUM", "name": "PaymentCardType", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "extMethodID", "description": "External payment method ID (the ID recorded by the payment provider)\nWe can guarantee its uniqueness since it is external from our systems.", "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "lastFour", "description": "Credit card last four digits, if card_type is CREDIT_CARD.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "paymentType", "description": "Payment type used via the payment provider.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PaymentInstrumentType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "provider", "description": "One of the payment providers that Twitch currently supports.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PaymentProvider", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "purchaseProfiles", "description": "List of purchase profiles associated with this payment method.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PurchaseProfile", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "PaymentProvider", "description": "Type of payment providers.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "RECURLY", "description": "Recurly payment provider, allows payments with credit card, amazon, paypal.", "isDeprecated": false, "deprecationReason": null }, { "name": "XSOLLA_V3", "description": "Xsolla payment provider, usually provides Iframe for users to go through checkout process.", "isDeprecated": false, "deprecationReason": null }, { "name": "ZUORA", "description": "Zuora payment provider, supports credit card payments.", "isDeprecated": false, "deprecationReason": null }, { "name": "PRIME", "description": "Twitch Prime used to buy product on Twitch.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "PaymentProviderConfigs", "description": null, "fields": [ { "name": "recurly", "description": "Configs to initiate Recurly library for the user for purchase checkout or payment method update.", "args": [], "type": { "kind": "OBJECT", "name": "RecurlyConfigs", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "xsolla", "description": "Xsolla configs include the iframe URL for purchase checkout or payment method update.", "args": [], "type": { "kind": "OBJECT", "name": "XsollaConfigs", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "zuora", "description": "Configs for initiating Zuora credit card payments or payment method update.", "args": [], "type": { "kind": "OBJECT", "name": "ZuoraConfigs", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "PaymentTransaction", "description": "There are legacy and new data sources that contain similar payment transaction data. This type aims to merge several\ndata sources into one to expose a consistent payment history for each Twitch user.", "fields": [ { "name": "currency", "description": "Currency for the price.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "grossAmount", "description": "Price in smallest subunit for the currency, such as 499.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "Payment ID such as PPT321281 or POPT3278183712.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isGift", "description": "Whether this payment transaction was made to purchase a gift for someone else or not.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "paymentMethod", "description": "The payment method that was used to generate this payment transaction.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PaymentMethod", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "product", "description": "Payment transaction purchased product details.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PaymentTransactionProduct", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "purchasedAt", "description": "Time the purchase payment was recognized at.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "recipient", "description": "The recipient Twitch user of the product purchased by the payment transaction, if applicable.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "PaymentTransactionConnection", "description": "A paginated list of payment transactions, and its metadata.", "fields": [ { "name": "edges", "description": "The list of payment transactions on this page.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PaymentTransactionEdge", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "firstPurchasedAt", "description": "The payment date of the earliest PaymentTransaction among all possible pages.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "lastPurchasedAt", "description": "The payment date of the latest PaymentTransaction among all possible pages.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information about this page of payment transactions.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "totalCount", "description": "The total number of payment transactions in the overall collection.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "PaymentTransactionConnectionCriteriaInput", "description": "Filter and sorting options for querying all transactions for a Twitch purchaser.", "fields": null, "inputFields": [ { "name": "purchasedAfter", "description": "Only show transactions purchased after this date.", "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "defaultValue": null }, { "name": "purchasedBefore", "description": "Only show transactions purchased before this date.", "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "defaultValue": null }, { "name": "sortBy", "description": "Sort transactions by... defaults to date desc.", "type": { "kind": "ENUM", "name": "PaymentTransactionSort", "ofType": null }, "defaultValue": "PURCHASE_DATE_DESC" }, { "name": "type", "description": "Only show transactions that purchased products of a certain type, defaults to ALL.", "type": { "kind": "ENUM", "name": "PaymentTransactionTypeFilter", "ofType": null }, "defaultValue": "ALL" }, { "name": "userID", "description": "Purchaser ID.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "PaymentTransactionEdge", "description": "An element in a paginated list of payment transactions, and its metadata.", "fields": [ { "name": "cursor", "description": "Offset acting as a cursor.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Cursor", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The element node.", "args": [], "type": { "kind": "OBJECT", "name": "PaymentTransaction", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "PaymentTransactionProduct", "description": "Payment transaction purchased product details.", "fields": [ { "name": "name", "description": "The name of the product.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "owner", "description": "Some products have owners. For example, the owner of the `Lirik - Tier 1 Subscription` product is Lirik.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "tier", "description": "Some products have tiers, such as subs.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": "What type of product the payment was made for.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PaymentTransactionType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "PaymentTransactionSort", "description": "Possible sort orders for lists of payment transactions.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "PRICE_DESC", "description": "Sort the payment transactions descending by price.", "isDeprecated": false, "deprecationReason": null }, { "name": "PRICE_ASC", "description": "Sort the payment transactions ascending by price.", "isDeprecated": false, "deprecationReason": null }, { "name": "PURCHASE_DATE_DESC", "description": "Sort by purchase date descending.", "isDeprecated": false, "deprecationReason": null }, { "name": "PURCHASE_DATE_ASC", "description": "Sort by purchase date ascending.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "PaymentTransactionType", "description": "Payment transaction type, currently only subscription payments are surfaced. More types to be added soon such as Bits.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "SUBSCRIPTION", "description": "Transaction for a subscription type.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "PaymentTransactionTypeFilter", "description": "Select the kind of transactions.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "SUBSCRIPTIONS", "description": "Only return payment transactions that associated with subscription products.", "isDeprecated": false, "deprecationReason": null }, { "name": "ALL", "description": "The default filter (no filter).", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "PayoutCategory", "description": "Enumerates valid payout categories.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "AFFILIATE", "description": "Assigned if the user has a payout plan for the affiliate program.", "isDeprecated": false, "deprecationReason": null }, { "name": "EXTENSIONS_DEVELOPER", "description": "Assigned if the user has a payout plan for the extensions developer program.", "isDeprecated": false, "deprecationReason": null }, { "name": "PARTNER", "description": "Assigned if the user has a payout plan for the partner program.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "PayoutInvite", "description": "PayoutInvite describes a user's invite to a payout program.", "fields": [ { "name": "category", "description": "The payout program category the user has been invited to.", "args": [], "type": { "kind": "ENUM", "name": "PayoutOnboardingCategory", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "A PayoutInvite's unique ID.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isForAffiliate", "description": "Whether or not this payout invite is for the affiliate program.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isForExtensionsDeveloper", "description": "Whether or not this payout invite is for the extensions developer program.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isForPartner", "description": "Whether or not this payout invite is for the partner program.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "workflow", "description": "The payout onboarding workflow for this payout invite.", "args": [], "type": { "kind": "OBJECT", "name": "PayoutOnboardingWorkflow", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "PayoutOnboardingCategory", "description": "PayoutOnboardingCategory enumerates valid categories for payout onboarding.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "AFFILIATE", "description": "Assigned for payout onboarding flows to enroll a user into the affiliate program.", "isDeprecated": false, "deprecationReason": null }, { "name": "STANDARD_PARTNER", "description": "Assigned for payout onboarding flows to enroll a user into the partner program with the \"standard\" payout plan.", "isDeprecated": false, "deprecationReason": null }, { "name": "PREMIUM_PARTNER", "description": "Assigned for payout onboarding flows to enroll a user into the partner program with the \"standard\" payout plan.", "isDeprecated": false, "deprecationReason": null }, { "name": "CUSTOM_PARTNER", "description": "Assigned for payout onboarding flows to enroll a user into the partner program with a \"custom\" payout plan.", "isDeprecated": false, "deprecationReason": null }, { "name": "EXTENSIONS_DEVELOPER", "description": "Assigned for payout onboarding flows to enroll a user into the extensions developer program.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "PayoutOnboardingStep", "description": "PayoutOnboardingStep enumerates valid payout onboarding steps.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "REGISTRATION_NOT_STARTED", "description": "User needs to complete their registration step.", "isDeprecated": false, "deprecationReason": null }, { "name": "AGREEMENT_NOT_STARTED", "description": "User needs to agree to their payout agreement.", "isDeprecated": false, "deprecationReason": null }, { "name": "ROYALTY_TAX_INTERVIEW_NOT_STARTED", "description": "User needs to submit their royalty tax interview.", "isDeprecated": false, "deprecationReason": null }, { "name": "ROYALTY_TAX_INTERVIEW_PENDING", "description": "User submitted their royalty tax interview and is waiting for it to be accepted.", "isDeprecated": false, "deprecationReason": null }, { "name": "ROYALTY_TAX_INTERVIEW_ACTION_REQUIRED", "description": "User submitted their royalty tax interview but additional action by the user is required before completion.", "isDeprecated": false, "deprecationReason": null }, { "name": "ROYALTY_TAX_INTERVIEW_MISMATCH", "description": "User submitted their royalty tax interview and received mismatch errors.", "isDeprecated": false, "deprecationReason": null }, { "name": "ROYALTY_TAX_INTERVIEW_FAILED", "description": "User submitted their royalty tax interview and received errors while it was processed.", "isDeprecated": false, "deprecationReason": null }, { "name": "SERVICE_TAX_INTERVIEW_NOT_STARTED", "description": "User has completed their royalty tax interview and needs to complete their service tax interview.", "isDeprecated": false, "deprecationReason": null }, { "name": "SERVICE_TAX_INTERVIEW_PENDING", "description": "User submitted their service tax interview and is waiting for it to be accepted.", "isDeprecated": false, "deprecationReason": null }, { "name": "SERVICE_TAX_INTERVIEW_ACTION_REQUIRED", "description": "User submitted their service tax interview but additional action by the user is required before completion.", "isDeprecated": false, "deprecationReason": null }, { "name": "SERVICE_TAX_INTERVIEW_MISMATCH", "description": "User submitted their service tax interview and received mismatch errors.", "isDeprecated": false, "deprecationReason": null }, { "name": "SERVICE_TAX_INTERVIEW_FAILED", "description": "User submitted their service tax interview and received errors while it was processed.", "isDeprecated": false, "deprecationReason": null }, { "name": "PAYOUT_METHOD_NOT_STARTED", "description": "User neeeds to setup how they want to get paid out.", "isDeprecated": false, "deprecationReason": null }, { "name": "PAYOUT_METHOD_PENDING", "description": "User submitted their payout method and is waiting for it to be accepted.", "isDeprecated": false, "deprecationReason": null }, { "name": "REVIEW_PENDING", "description": "User is waiting for a final approval from the payout onboarding reviewers.", "isDeprecated": false, "deprecationReason": null }, { "name": "COMPLETED", "description": "User has completed their payout onboarding.", "isDeprecated": false, "deprecationReason": null }, { "name": "CANCELED", "description": "User has canceled their payout onboarding workflow.", "isDeprecated": false, "deprecationReason": null }, { "name": "AGREEMENT_PENDING_UPGRADE", "description": "User has a pending upgrade to their payout agreement.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "PayoutOnboardingWorkflow", "description": "PayoutOnboardingWorkflow describes the workflow details while a user is onboarding into a payout program.", "fields": [ { "name": "currentStep", "description": "The current step at which this workflow is at.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PayoutOnboardingStep", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "A PayoutOnboardingWorkflow's unique ID.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "payoutSettingsURL", "description": "The URL for a user to update their payout settings. A redirectURL is the URL\nwhere the user will be redirected to after updating their payout settings.", "args": [ { "name": "redirectURL", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "registration", "description": "The registration information submitted by the user for this workflow.", "args": [], "type": { "kind": "OBJECT", "name": "PayoutRegistration", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "taxInterview", "description": "Describes a user's tax interview information while completing their payout onboarding.", "args": [ { "name": "type", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "TaxInterviewType", "ofType": null } }, "defaultValue": null }, { "name": "returnURL", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "TaxInterview", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "taxMismatchErrors", "description": "Lists the fields that were mismatched during the registration and tax interview steps.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "TaxMismatchError", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "PayoutPlan", "description": "Describes the payout plan a user has when enrolled into a payout program.", "fields": [ { "name": "category", "description": "The category applied for this payout plan.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PayoutCategory", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isReceivingRevenue", "description": "Describes whether or not this payout plan is receiving revenue.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "tags", "description": "Lists tags to further describe this type of payout plan.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PayoutPlanTag", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "PayoutPlanTag", "description": "Enumerates valid payout plan tags.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "STANDARD", "description": "Assigned if the user has the \"standard\" payout plan.", "isDeprecated": false, "deprecationReason": null }, { "name": "PREMIUM", "description": "Assigned if the user has the \"premium\" payout plan.", "isDeprecated": false, "deprecationReason": null }, { "name": "CUSTOM", "description": "Assigned if the user has the \"custom\" payout plan.", "isDeprecated": false, "deprecationReason": null }, { "name": "LEGACY", "description": "Assigned if the user has a payout plan created through the legacy onboarding flow.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "PayoutRegistration", "description": "PayoutRegistration describes the personal information a user submitted while onboarding into a payout program.", "fields": [ { "name": "birthdate", "description": "Birthdate submitted by the user while registering into a payout program.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "city", "description": "City submitted by the user while registering into a payout program.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "companyName", "description": "Company Name submitted by the user while registering into a payout program.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "countryCode", "description": "Country Code (ISO-3166) submitted by the user while registering into a payout program.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "email", "description": "Email submitted by the user while registering into a payout program.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "firstName", "description": "First Name submitted by the user while registering into a payout program.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "lastName", "description": "Last Name submitted by the user while registering into a payout program.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "middleName", "description": "Middle Name submitted by the user while registering into a payout program.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "parentEmail", "description": "Parent Email submitted by the under age user while registering into a payout program.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "parentName", "description": "Parent Name submitted by the under age user while registering into a payout program.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "postal", "description": "Postal submitted by the user while registering into a payout program.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "stateCode", "description": "State Code submitted by the user while registering into a payout program.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "streetAddress", "description": "Primary Address submitted by the user while registering into a payout program.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "streetAddress2", "description": "Secondary Address submitted by the user while registering into a payout program.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "PhotoOEmbed", "description": null, "fields": [ { "name": "authorName", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "authorURL", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "cacheAge", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "height", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "inputURL", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "providerName", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "providerURL", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "thumbnail", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "ThumbnailOEmbed", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "url", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "version", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "width", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "OEmbed", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "PinnedCheerType", "description": "PinnedCheerType is the type of pinned cheer to remove.\nUsed as input in the DismissPinnedCheer mutation.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "RECENT", "description": "RECENT clears the pinned recent cheer message.", "isDeprecated": false, "deprecationReason": null }, { "name": "TOP", "description": "TOP resets the pinned top cheer messages.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "UNION", "name": "Platform", "description": "Stream Platform.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "PlayStation", "ofType": null }, { "kind": "OBJECT", "name": "Xbox", "ofType": null } ] }, { "kind": "OBJECT", "name": "PlatformEventSetting", "description": null, "fields": [ { "name": "isEnabled", "description": "Whether the setting is enabled for the given platform.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "platformName", "description": "The name of the platform. (\"email\", \"push\", etc..).", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "settingState", "description": "The exact state of the setting. (\"on\", \"off\", \"friends_only\", etc).", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "PlatformType", "description": "Stream platform type.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "all", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "ps4", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "xbox", "description": null, "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "PlayStation", "description": "Stream metadata for PlayStation.", "fields": [ { "name": "platform", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "SCETitle", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updatedAt", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "user", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "SCEUser", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Playing", "description": null, "fields": [ { "name": "game", "description": "The game being played.", "args": [], "type": { "kind": "OBJECT", "name": "Game", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": "This activity's type, i.e. \"PLAYING\".", "args": [], "type": { "kind": "ENUM", "name": "ActivityType", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Activity", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Post", "description": null, "fields": [ { "name": "author", "description": "The user that created this post.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "body", "description": "The content of the post as entered by the user and annotated with links and emotes.", "args": [], "type": { "kind": "OBJECT", "name": "MessageBody", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createdAt", "description": "Time the post was created by the user.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "embeds", "description": "Collection of embedable content attached to this post.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "UNION", "name": "PostEmbed", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "This Post's unique feeds ID.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isDeleted", "description": "Is this post deleted.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "reactions", "description": "The reactions associated with this post.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "Reaction", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "self", "description": "Data related to the current user.", "args": [], "type": { "kind": "OBJECT", "name": "PostSelfConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "UNION", "name": "PostEmbed", "description": "TODO: Add events.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "Clip", "ofType": null }, { "kind": "OBJECT", "name": "LinkOEmbed", "ofType": null }, { "kind": "OBJECT", "name": "PhotoOEmbed", "ofType": null }, { "kind": "OBJECT", "name": "RichOEmbed", "ofType": null }, { "kind": "OBJECT", "name": "Video", "ofType": null }, { "kind": "OBJECT", "name": "VideoOEmbed", "ofType": null } ] }, { "kind": "OBJECT", "name": "PostPermissionSet", "description": null, "fields": [ { "name": "canDelete", "description": "True if the current user is allowed to delete this post.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "PostSelfConnection", "description": null, "fields": [ { "name": "permissions", "description": "Permissions that the current user has on this post.", "args": [], "type": { "kind": "OBJECT", "name": "PostPermissionSet", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Premiere", "description": null, "fields": [ { "name": "id", "description": "The Premiere’s identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "items", "description": "The paginated items in the premiere. At this time, they will all be VoDs.\nA maximum of 100 items will be returned per request.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "PremiereConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "pastPremiere", "description": "The archived video. Only populated if the premiere is in state SUCCESS.", "args": [], "type": { "kind": "OBJECT", "name": "Video", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "premiereEvent", "description": "The PremiereEvent for this premiere. Nil if an event has not been scheduled for this premiere.", "args": [], "type": { "kind": "OBJECT", "name": "PremiereEvent", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "status", "description": "Status of the premiere.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PremiereStatus", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "user", "description": "The user who this premiere belongs to.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "PremiereConnection", "description": "Paginated list of videos.", "fields": [ { "name": "edges", "description": "The list of items in this page.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "PremiereItemEdge", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information about this page of videos.", "args": [], "type": { "kind": "OBJECT", "name": "PageInfo", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "totalCount", "description": "The total number of items in the premiere.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "PremiereEvent", "description": "PremiereEvent represents a one-off, stand-alone event where the content is a Premiere.", "fields": [ { "name": "channel", "description": "The channel where this event will be broadcast.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createdAt", "description": "When this event was created.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": "The description of this event.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "endAt", "description": "The time that this event ends.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "game", "description": "The game that will be played during this event.", "args": [], "type": { "kind": "OBJECT", "name": "Game", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The Event's unique identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "imageID", "description": "The chosen image ID for this event.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "imageURL", "description": "The URL or a URL template to the cover image for this event.\nAn optional width and height can be given to specify the dimension of the image in pixels.\nIf left unspecified, this field will be a URL template with {width} and {height} placeholders\nthat the client can replace to create a functional URL.\nWhen width and height are given, this field is a full URL to the image.\nThe image is first scaled to maintain its aspect ratio, then cropped to fit the given dimensions.", "args": [ { "name": "width", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "height", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "language", "description": "The language that this event is being run in.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "Language", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "owner", "description": "The user who owns this event.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "premiere", "description": "The premiere that this event is scheduling.", "args": [], "type": { "kind": "OBJECT", "name": "Premiere", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "self", "description": "The authenticated user's realtionship with this event.", "args": [], "type": { "kind": "OBJECT", "name": "EventSelfConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "startAt", "description": "The time that this event starts.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "stats", "description": "The stats about engagement with this event.", "args": [], "type": { "kind": "OBJECT", "name": "EventStats", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "The title of this event.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "updatedAt", "description": "When this event was last modified.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DeprecatedEvent", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "UNION", "name": "PremiereItem", "description": "The types of objects that can be contained in a premiere.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "Video", "ofType": null } ] }, { "kind": "OBJECT", "name": "PremiereItemEdge", "description": "A page entry, that contains a premiere item and a cursor to return\nfrom the query to allow pagination.\nNOTE: this should have been named PremiereEdge.", "fields": [ { "name": "cursor", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Cursor", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "PremiereItem", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "PremiereStatus", "description": null, "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "UNSCHEDULED", "description": "An unscheduled premiere.", "isDeprecated": false, "deprecationReason": null }, { "name": "SCHEDULED", "description": "A scheduled premiere.", "isDeprecated": false, "deprecationReason": null }, { "name": "CANCELLED", "description": "A cancelled premiere.", "isDeprecated": false, "deprecationReason": null }, { "name": "STARTED", "description": "A premiere that has been started.", "isDeprecated": false, "deprecationReason": null }, { "name": "SUCCESS", "description": "A successfully completed premiere.", "isDeprecated": false, "deprecationReason": null }, { "name": "FAILED", "description": "A failed premiere. Examples of failed premieres are premieres that attempt to run\nprior to the video being processed (or failed processing,) or the event failing\nin the middle due to technical difficulties.", "isDeprecated": false, "deprecationReason": null }, { "name": "UNKNOWN", "description": "An unknown status to ensure we are able to return something.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "PrimeEmoticons", "description": "Wrapper around standard Emoticons for Prime Smilies Emoticons.", "fields": [ { "name": "currentSetName", "description": "Name for the currently enabled Emoticon set selected by the user.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PrimeEmoticonsSetName", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "emoticonSets", "description": "All Prime Emoticon Sets of emote values (id, token, setId).", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SmiliesSet", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "PrimeEmoticonsSetName", "description": "The Names for the smilies Emoticon sets supported by Prime.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "ROBOTS", "description": "Emotes that are granted to all users with Robot faces. Group id is #0 and emoticons start at id #1.", "isDeprecated": false, "deprecationReason": null }, { "name": "PURPLE", "description": "Emotes that are granted via Prime with Turbo faces.", "isDeprecated": false, "deprecationReason": null }, { "name": "MONKEYS", "description": "Emotes that are granted via Prime with Monkey faces.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "PrimeOffer", "description": "Prime Digital Content Offers are displayed to users on Twitch via Offers in the top nav.", "fields": [ { "name": "claimInstructions", "description": "Instructions string in Markdown displayed after offer is claimed to use or redeem.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "content", "description": "Content metadata for the given offer.", "args": [], "type": { "kind": "OBJECT", "name": "PrimeOfferContent", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "deliveryMethod", "description": "The method of offer entitlement.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "OfferDeliveryMethod", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": "Description string in Markdown used in info block for Offer.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "Unique Identifier for an offer.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "imageURL", "description": "Offer image asset URL.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "priority", "description": "Ranking for which the offer should be displayed, ordered ASC -1 through 99 where -1 value indicates top priority.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "self", "description": "The connection for whether the user is entitled to the offer.", "args": [], "type": { "kind": "OBJECT", "name": "PrimeOfferSelfConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "Primary Title for Offer.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "PrimeOfferContent", "description": "An Object containing metadata for Digital Content.", "fields": [ { "name": "categories", "description": "Content Categories for the game, displayed in info.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "externalURL", "description": "If the content has an external marketing page (Blizzard, Retail, etc), some offers will have no external URL.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "game", "description": "The Game metadata.", "args": [], "type": { "kind": "OBJECT", "name": "Game", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "publisher", "description": "The publisher of the content.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "skus", "description": "Content SKU list for the offer.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "PrimeOfferSelfConnection", "description": "The connection between the user and their offer entitlement state.", "fields": [ { "name": "claimData", "description": "The data (link, text, or claim code) for the entitlement that was created.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "hasEntitlement", "description": "Indicates whether the user has the entitlement to the offer.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "PrimePromotion", "description": "Metadata relevant to Prime copy or marketing that needs to be scheduled.", "fields": [ { "name": "externalURL", "description": "externalURL is a string with the destination URL.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "id is the unique identifier for the PrimePromotion.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isExternalLink", "description": "isExternalLink is boolean that indicates whether the text should be a link.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "text", "description": "text is a string field containing the user visible text for a dynamic/changing string.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "PrimeSettings", "description": "Prime Settings related data for a given user.", "fields": [ { "name": "id", "description": "This type's unique identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isSubCreditChatNotificationEnabled", "description": "If true, chat notifications will be sent on Prime Credit Token Channel Subscriptions.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "primeEmoticons", "description": "The currently chosen Emoticon Set for the Prime User that are Smilies.", "args": [], "type": { "kind": "OBJECT", "name": "PrimeEmoticons", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ProductInfo", "description": "General purchase information for a commerce item (games or in-game content).\nFor Commerce.", "fields": [ { "name": "asin", "description": "Amazon identifier for this product.", "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "crateASINs", "description": "List of ASINs for crates that will be grated as part of this purchase.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": "Description of the product.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "imageURL", "description": "Image to display with this offer. Can be box art or a picture of the in-game item.\nAn optional size can be specified to return a square image of the given size. If no size is specified\nthe images native size will be used (typically 256x256).\nIf the product doesn't have an image this will return null for all sizes.", "args": [ { "name": "size", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isEntitled", "description": "True if the authenticated user is entitled to this product (has already purchased it), otherwise false.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isFeatured", "description": "True is the item should be featured.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isForSale", "description": "True if the item can currently be purchased or false if the offer has expired.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isNew", "description": "True if the item should be denoted as \"New\".", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isOutOfStock", "description": "True if the item is out of stock.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "originalPrice", "description": "The original price of the item to be displayed during a sale.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "price", "description": "Purchase price to display for this item.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "primeOffer", "description": "The PrimeOffer associated with the ProductInfo if there is currently a live offer.", "args": [], "type": { "kind": "OBJECT", "name": "PrimeOffer", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "purchaseURL", "description": "External link to redirect to when purchasing this item.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "Name of the product.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ProductLanguage", "description": "Language provides information about how the language is supported for a product.\nFor Commerce.", "fields": [ { "name": "hasAudio", "description": "True if there are audio tracks for this language, false otherwise.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "hasInterface", "description": "True if the interface is localized for this language, false otherwise.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "hasSubtitles", "description": "True if the subtitles are localized for this language, false otherwise.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "language", "description": "The product language.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ProductMedia", "description": "Aggregates all media associated with this product. E.g. screnshots, box art, videos.\nFor Commerce.", "fields": [ { "name": "backgroundImageURL", "description": "The URL of the background image for the detail page.", "args": [ { "name": "width", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "height", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "boxArtURL", "description": "The URL of the box art image.", "args": [ { "name": "width", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "height", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "screenshotURLs", "description": "The URLs of the product screenshots.", "args": [ { "name": "width", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "height", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "videos", "description": "The videos for this product\nIs null if there is a problem retrieving the list of videos.\nElements are null if there is a problem retrieving contents of individual videos.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "Video", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ProgramAgreement", "description": "ProgramAgreement describes the End User License Agreement associated with a user's current payout plan.", "fields": [ { "name": "body", "description": "Agreement body in HTML.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": "Agreement type accepted by the user.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PayoutOnboardingCategory", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "version", "description": "Agreement version (e.g. \"v1\").", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "PublishClipError", "description": "PublishClipError is an error associated with the publishClip mutation.", "fields": [ { "name": "message", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "PublishClipInput", "description": "PublishClipInput edits the clip with the provided slug via segments.", "fields": null, "inputFields": [ { "name": "previewOffsetSeconds", "description": "The number of seconds into the clip's raw media the preview image is set to.", "type": { "kind": "SCALAR", "name": "Float", "ofType": null }, "defaultValue": null }, { "name": "segments", "description": "The segments describing the desired changes to apply to the newly edited clip.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "ClipSegmentInput", "ofType": null } } } }, "defaultValue": null }, { "name": "slug", "description": "The slug uniquely identifying the clip to edit.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "title", "description": "The new title this clip will be updated to.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "PublishClipPayload", "description": "PublishClipPayload returns the edited clip or an error.", "fields": [ { "name": "clip", "description": "The clip with its updated properties.", "args": [], "type": { "kind": "OBJECT", "name": "Clip", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "error", "description": "The error when the clip fails to publish.", "args": [], "type": { "kind": "OBJECT", "name": "PublishClipError", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "PurchaseProfile", "description": "Purchase profile of a recurring or non-recurring subscription that a user bought.", "fields": [ { "name": "cancelledAt", "description": "Cancels the entitled benefit and refunds if isRefundable is true.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createdAt", "description": "Date this purchase profile was created.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "expiresAt", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "extPurchaserID", "description": "Usually the Twitch user's ID, but recorded by the payment provider.", "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "extSubscriptionID", "description": "The external subscription ID recorded by the payment provider.", "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "ID of the Purchase Profile in Payments team database.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isExpired", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isGift", "description": "Whether this purchase profile was gifted to the ticketOwnerID by another user.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isPaying", "description": "Whether this purchase profile is being paid for.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isRecurring", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isRefundable", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "paidAt", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "productType", "description": "Product type of the purchase.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SubscriptionProductType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "purchasedAt", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "purchaserEmail", "description": "Twitch purchaser's email.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "purchaserID", "description": "Twitch purchaser's user ID.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "purchaserName", "description": "Twitch purchaser's real name.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "renewalCurrency", "description": "Currency for the renewalPrice, e.g. \"USD\".", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "renewalPrice", "description": "Expected renewal price of the product in the smallest subunit of the currency, e.g. \"499\".", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "renewalStoppedAt", "description": "Different from cancellation in that it stops renewal but let's user keep the benefit until it expires.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "state", "description": "State of the purchase profile. i.e. cancelling the purchase profile can set state to 'cancelled'.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PurchaseProfileState", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "subscriptionBenefit", "description": "Subscription benefit associated with this purchase profile, if still active.", "args": [], "type": { "kind": "OBJECT", "name": "SubscriptionBenefit", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "ticketID", "description": "The ticket ID mapped to this purchase profile, tickets are owned by the subscriptions team.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "ticketOwnerID", "description": "Twitch user ID, owner of the entitlement benefit.", "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "ticketProductOwnerID", "description": "Twitch user ID, owner of the channel that was subscribed to.", "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updatedAt", "description": "Date this purchase profile was last updated.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "willRenew", "description": "Whether this purchase profile will renew in the future and charge the user's payment method.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "PurchaseProfileState", "description": null, "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "ACTIVE", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "CANCELLED", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "INACTIVE", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "MIGRATED", "description": null, "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "PurchaseToken", "description": "PurchaseToken is a token that appears in the chat, specific to \na tuid/channel (i.e. if a customer buys a product, we give them the option of \nsharing it in the channel they bought it from).", "fields": [ { "name": "asin", "description": "asin is the purchased Amazon ASIN (a unique identifier for products at \nAmazon) to be shared.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "badges", "description": "badges is the set of badges to be shared. There may be duplicate badges\nassociated with the same token.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "BadgePurchaseToken", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "bits", "description": "bits is the set of bits to be shared.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "BitsPurchaseToken", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "crateCount", "description": "crateCount is the number of crates associated with the purchase.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "emoteSets", "description": "emoteSets is the set of emote sets to be shared. There may be duplicate\nemote sets associated with the same token.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "EmoteSetPurchaseToken", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "id is the unique message identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "imageURL", "description": "imageURL is the URL for the image to be used for the purchase token.\nAn optional width can be specified to return an image of the given width. If\nno size is specified the images native size will be used.", "args": [ { "name": "width", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "inGameContents", "description": "In game content is the in game content to be shared.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "InGameContentPurchaseToken", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "status", "description": "status is the status of the purchase token.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "timeReceived", "description": "timeReceived is the time the chat token token was created.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "title is the title to be used for the purchase token.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "token", "description": "token is the consumable purchase token.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INTERFACE", "name": "PurchaseTokenItem", "description": null, "fields": [ { "name": "id", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "EmoteSetPurchaseToken", "ofType": null }, { "kind": "OBJECT", "name": "BadgePurchaseToken", "ofType": null }, { "kind": "OBJECT", "name": "BitsPurchaseToken", "ofType": null }, { "kind": "OBJECT", "name": "InGameContentPurchaseToken", "ofType": null } ] }, { "kind": "OBJECT", "name": "Query", "description": "Root fields to access the Twitch API.", "fields": [ { "name": "badges", "description": "A list of global chat badges.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "Badge", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "bitsOffers", "description": "Gets a list of Bits offers for a logged out user, for use on the Bits landing page.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "BitsOffer", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "channel", "description": "Get a channel by ID or name.", "args": [ { "name": "id", "description": null, "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "name", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "Channel", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use the 'user' query instead." }, { "name": "channels", "description": "Get a list of channels, either by IDs or by their names.", "args": [ { "name": "ids", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, "defaultValue": null }, { "name": "names", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, "defaultValue": null } ], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "Channel", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use the 'users' query instead." }, { "name": "chatRoomBanStatus", "description": "Get the ban status of a usser with respect to a channel's chat room.", "args": [ { "name": "channelID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "userID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "ChatRoomBanStatus", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "clip", "description": "Get a clip by slug.", "args": [ { "name": "slug", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "Clip", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "collection", "description": "Get a single collection (playlist) item by its ID.", "args": [ { "name": "id", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "options", "description": null, "type": { "kind": "INPUT_OBJECT", "name": "CollectionOptions", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "Collection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "community", "description": "Get a single community by its ID or name\nWill error if both id and name are supplied.", "args": [ { "name": "id", "description": null, "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "name", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "Community", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "currentUser", "description": "The currently authenticated user.\nReturns null if the user is not authenticated.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "deprecatedEvent", "description": "Get an Event by ID.", "args": [ { "name": "id", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "INTERFACE", "name": "DeprecatedEvent", "ofType": null }, "isDeprecated": true, "deprecationReason": "Migratory field that clients who want to use the deprecated version of events can consume" }, { "name": "directories", "description": "Fetch directories in specified sort order, optionally filtered to the specified type.\nFilters are additive, meaning that using two filters will include results from both types.\nAn empty filter list implies that no filters are applied, hence all results are included regardless of type.\nBy default returns 10, sorted by descending total viewer count, unfiltered.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "sortBy", "description": null, "type": { "kind": "ENUM", "name": "DirectorySort", "ofType": null }, "defaultValue": "VIEWER_COUNT" }, { "name": "filterBy", "description": null, "type": { "kind": "ENUM", "name": "DirectoryFilter", "ofType": null }, "defaultValue": null }, { "name": "filterBySet", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DirectoryFilter", "ofType": null } } }, "defaultValue": "[]" } ], "type": { "kind": "OBJECT", "name": "DirectoryConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "directory", "description": "Fetch a single directory by name and type.", "args": [ { "name": "name", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "type", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DirectoryType", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "INTERFACE", "name": "Directory", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "event", "description": "Get an Event by ID.", "args": [ { "name": "id", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "UNION", "name": "Event", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "eventBroadcast", "description": "Get an EventBraodcast by ID.", "args": [ { "name": "id", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "EventBroadcast", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use the 'event' query instead." }, { "name": "extension", "description": "Get an Extension by ID. Optionally, provide a specific version. If no version is provided,\nthe released version of that extension is returned.", "args": [ { "name": "id", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "version", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "Extension", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "extensions", "description": "Search extensions by text found in the Extension name, description or summary. The results are\nalways returned in order of popularity. By default, all RELEASED and IN_TEST extensions are returned.\nPass RELEASED as the value of 'state' to only return extensions in the RELEASED state.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "search", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "state", "description": null, "type": { "kind": "ENUM", "name": "ExtensionStateFilter", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "ExtensionConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "featuredContentSections", "description": "Fetch the sections & content that should be featured on mobile\n`language` is a letter code for the language the requesting user speaks (e.g. \"en\").", "args": [ { "name": "language", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "FeaturedContentSection", "ofType": null } } }, "isDeprecated": true, "deprecationReason": "Subject to change" }, { "name": "featuredStreams", "description": "Fetch streams that are featured on the front page, ordered by featurePriority ascending.\nDEPRECATED: `geolocation` is computed based on GeoIP with a fallback value of \"US\" and should be omitted\n`language` is a letter code for the language the requesting user speaks (ex. \"en\")\nBy default returns 6 streams.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "6" }, { "name": "geolocation", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "language", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "FeaturedStream", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "featuredVideos", "description": "Fetch VODs that should be featured on the homepage\n`language` is a letter code for the language the requesting user speaks (e.g. \"en\").", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "2" }, { "name": "language", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "FeaturedVideo", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Subject to change" }, { "name": "feed", "description": "Get a Feed by ID.", "args": [ { "name": "id", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "Feed", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "feedEmbed", "description": "Convert a URL to an object that can be embedded into Twitch feeds.", "args": [ { "name": "url", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "UNION", "name": "FeedEmbed", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "feedItemContent", "description": "Get a feed item by ID.", "args": [ { "name": "id", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "UNION", "name": "FeedItemContent", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "game", "description": "Get a single game as identified by its name.", "args": [ { "name": "name", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "Game", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "games", "description": "Fetch games in order of descending popularity.\nBy default returns 10.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "GameConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "merchandise", "description": "Get a list of all Twitch Merch products.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "MerchandiseProduct", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "primeOffers", "description": "Get Current PrimeOffers for a given region based on country code (request info or query param)\noptional dateOverride to provide offers that would be displayed on that date\noptional countryCode to provide offers that are displayed for that country\noptional locale to provide offers displayed for the supplied locale.", "args": [ { "name": "dateOverride", "description": null, "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "defaultValue": null }, { "name": "countryCode", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "locale", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "PrimeOffer", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "primePromotions", "description": "PrimePromotions data - query supports optional identifiers for promotion strings but default behavior will use\ncountryCode and userID to find available marketing promotions. For whitelisted QA users dateOverride can be provided.", "args": [ { "name": "ids", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, "defaultValue": null }, { "name": "dateOverride", "description": null, "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "PrimePromotion", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "rejectedChatMessage", "description": "Get a message rejected by chat.", "args": [ { "name": "id", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "RejectedChatMessage", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "reportReasons", "description": "Get a list of valid reasons for a content type.", "args": [ { "name": "content", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ReportContentType", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReportReason", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "requestInfo", "description": "Metadata about the request to the API.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "RequestInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "room", "description": "Get a room by its ID.", "args": [ { "name": "id", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "Room", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "streams", "description": "Fetch live streams, ordered by the number of viewers descending.\nlanguages can be empty or null, which will imply all the languages are included on the results.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "platformType", "description": null, "type": { "kind": "ENUM", "name": "PlatformType", "ofType": null }, "defaultValue": "all" }, { "name": "languages", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "Language", "ofType": null } } }, "defaultValue": null }, { "name": "input", "description": null, "type": { "kind": "INPUT_OBJECT", "name": "StreamMetadataFilterInput", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "StreamConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "subscriptionProduct", "description": "Get a subscription product by its name. See product name examples below. The productName uniquely identifies a product.\n\ne.g. \"meclipse\", \"meclipse_2000\", \"meclipse_3000\", these are respectively, the tier 1, 2, and 3 subscription product\nnames for the user with login \"shroud\".", "args": [ { "name": "productName", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "SubscriptionProduct", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "user", "description": "Get a user by their ID or login.\nIf no ID or login is provided, null is returned.", "args": [ { "name": "id", "description": null, "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "login", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "users", "description": "Get a list of users, either by their logins or by their IDs.", "args": [ { "name": "ids", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } }, "defaultValue": null }, { "name": "logins", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, "defaultValue": null } ], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "User", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "video", "description": "Get a video by its ID.\nBy default, Video queries only return public videos.\nIf the owner should also see their own private videos, set includePrivate flag in the `options` input.\nThis flag does not include other people's private videos.", "args": [ { "name": "id", "description": null, "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "options", "description": null, "type": { "kind": "INPUT_OBJECT", "name": "VideoOptions", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "Video", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "videoComments", "description": "A paginated list of comments against id, videoID, or channelID.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "last", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "Before", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "id", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "videoID", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "channelID", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "VideoCommentConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "videos", "description": "Get a list of videos in order of descending popularity.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "broadcastType", "description": null, "type": { "kind": "ENUM", "name": "BroadcastType", "ofType": null }, "defaultValue": null }, { "name": "language", "description": null, "type": { "kind": "ENUM", "name": "Language", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "VideoConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "whisperThread", "description": "Get a whisper thread by ID.", "args": [ { "name": "id", "description": null, "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "WhisperThread", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "UNION", "name": "ReactableContent", "description": null, "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "Clip", "ofType": null }, { "kind": "OBJECT", "name": "Post", "ofType": null }, { "kind": "OBJECT", "name": "Stream", "ofType": null }, { "kind": "OBJECT", "name": "Video", "ofType": null } ] }, { "kind": "OBJECT", "name": "Reaction", "description": null, "fields": [ { "name": "count", "description": "count of users that reacted with a particular Emote.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "emote", "description": "The Emote associated with the Reaction.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Emote", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "self", "description": "The authenticated user's relationship with this reaction.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ReactionSelfConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ReactionSelfConnection", "description": null, "fields": [ { "name": "hasReacted", "description": "Did the authenticated user react.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "ReadNotificationsInput", "description": null, "fields": null, "inputFields": [ { "name": "ids", "description": "IDs of the notifications to set as read. The minimum number is 1 and the maximum is 100.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ReadNotificationsPayload", "description": null, "fields": [ { "name": "count", "description": "The amount of notifications that were set to read.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "notifications", "description": "The notifications that were set to read. Only ID and isRead are accessible.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "OnsiteNotification", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Recommendations", "description": null, "fields": [ { "name": "friends", "description": "A list of recommended friends.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "RecommendedFriend", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "liveRecommendations", "description": "Live recommendations.\nrecRequestID is a tracking id created by the caller. Should be unique per request.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "recRequestID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "language", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "LiveRecommendationConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "streams", "description": "Stream recommendations.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" } ], "type": { "kind": "OBJECT", "name": "RecommendedStreamConnection", "ofType": null }, "isDeprecated": true, "deprecationReason": "use a specific recommendation instead" }, { "name": "videos", "description": "A list of recommended VODs.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "RecommendedVideoConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "RecommendedFriend", "description": null, "fields": [ { "name": "reason", "description": "Reason why this recommendation was made.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "user", "description": "The user recommended to be a friend of the source user.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INTERFACE", "name": "RecommendedStream", "description": null, "fields": [ { "name": "stream", "description": "The recommended stream.", "args": [], "type": { "kind": "OBJECT", "name": "Stream", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": "The type of recommendation. Different types contain different metadata about why the recommendation was made.", "args": [], "type": { "kind": "ENUM", "name": "StreamRecommendationType", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "SocialStream", "ofType": null } ] }, { "kind": "OBJECT", "name": "RecommendedStreamConnection", "description": null, "fields": [ { "name": "nodes", "description": null, "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "INTERFACE", "name": "RecommendedStream", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "RecommendedVideoConnection", "description": null, "fields": [ { "name": "edges", "description": null, "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "RecommendedVideoEdge", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "PageInfo", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "setID", "description": "A unique ID for this generated list of recommendations.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "RecommendedVideoEdge", "description": null, "fields": [ { "name": "cursor", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "Video", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "RecurlyConfigs", "description": null, "fields": [ { "name": "braintreeClientAuthorization", "description": "For interacting with the Braintree gateway and Paypal (supported by Recurly).", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "payWithAmazonConfigs", "description": "For interacting with Pay With Amazon gateway (supported by Recurly).", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PayWithAmazonConfigs", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "publicKey", "description": "Sent to Recurly to identify requests.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "RedeemRitualTokenError", "description": null, "fields": [ { "name": "code", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "RedeemRitualTokenErrorCode", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "RedeemRitualTokenErrorCode", "description": null, "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "TOKEN_NOT_AVAILABLE", "description": "Token is not in a status that can be redeemed.", "isDeprecated": false, "deprecationReason": null }, { "name": "TOKEN_NOT_FOUND", "description": "Token does not exist.", "isDeprecated": false, "deprecationReason": null }, { "name": "FOLLOWER_ONLY_MODE_ENFORCEMENT_FAILED", "description": "User is not a follower and tried redeeming the token in a follower-only chat.", "isDeprecated": false, "deprecationReason": null }, { "name": "SUB_ONLY_MODE_ENFORCEMENT_FAILED", "description": "User is not a subscriber and tried redeeming the token in a subs-only chat.", "isDeprecated": false, "deprecationReason": null }, { "name": "USER_CHAT_BANNED", "description": "User is banned in the channel.", "isDeprecated": false, "deprecationReason": null }, { "name": "USER_CHAT_TIMED_OUT", "description": "User is timed out in the channel.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "RedeemRitualTokenInput", "description": "RedeemRitualTokenInput is the input when redeeming a ritual token.", "fields": null, "inputFields": [ { "name": "channelID", "description": "The channel to redeem the token in.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "messageText", "description": "User-specified text to send with the token redemption.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "type", "description": "The type of ritual to be redeemed.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "RitualTokenType", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "RedeemRitualTokenPayload", "description": "RedeemRitualTokenPayload is the response when redeeming a ritual token.", "fields": [ { "name": "error", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "RedeemRitualTokenError", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "token", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "RitualToken", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "RedeemTrueXAdInput", "description": null, "fields": null, "inputFields": [ { "name": "args", "description": "args are parameters describing the engagement the user just completed for bits.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "signature", "description": "signature is a digital signature protecting the integrity of `args`.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "targetID", "description": "targetID is the `User.id` of the channel where the user is watching the ad.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "trueXAd", "description": "trueXAd is descriptive information about the engagement that was just shown.\nThis information is useful for logging errors on the server-side.", "type": { "kind": "INPUT_OBJECT", "name": "TrueXAd", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "RedeemTrueXAdPayload", "description": null, "fields": [ { "name": "currentUser", "description": "currentUser is the authenticated user object which includes the updated `Wallet` info after the message bits have been spent.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "grantedBits", "description": "grantedBits is the number of bits the user earned from this engagement.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "RegisterPayoutInformationError", "description": "RegisterPayoutInformationError describes the error that occured when registering a user's payout information during payout onboarding.", "fields": [ { "name": "code", "description": "Code to describe error that occurred while registering payout information.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "RegisterPayoutInformationErrorCode", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "invalidFields", "description": "Lists any field names that have an invalid format.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "RegisterPayoutInformationFieldName", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "RegisterPayoutInformationErrorCode", "description": "Enumerates possible errors when registering payout information.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "UNAUTHENTICATED", "description": "Must have auth credentials to register payout information.", "isDeprecated": false, "deprecationReason": null }, { "name": "FORBIDDEN", "description": "User does not have permission to register payout information for the targeted user.", "isDeprecated": false, "deprecationReason": null }, { "name": "INVALID_FORMAT", "description": "One or more fields have an invalid format.", "isDeprecated": false, "deprecationReason": null }, { "name": "INTERNAL_ERROR", "description": "An internal error has occurred.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "RegisterPayoutInformationFieldName", "description": "Enumerates vaid field names when registering payout information.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "BIRTHDATE", "description": "Assigned if Birthdate is given in invalid format.", "isDeprecated": false, "deprecationReason": null }, { "name": "CITY", "description": "Assigned if City is given in invalid format.", "isDeprecated": false, "deprecationReason": null }, { "name": "COMPANY_NAME", "description": "Assigned if Company Name is given in invalid format.", "isDeprecated": false, "deprecationReason": null }, { "name": "COUNTRY_CODE", "description": "Assigned if Country Code is given in invalid format.", "isDeprecated": false, "deprecationReason": null }, { "name": "EMAIL", "description": "Assigned if Email is given in invalid format.", "isDeprecated": false, "deprecationReason": null }, { "name": "FIRST_NAME", "description": "Assigned if First Name is given in invalid format.", "isDeprecated": false, "deprecationReason": null }, { "name": "LAST_NAME", "description": "Assigned if Last Name is given in invalid format.", "isDeprecated": false, "deprecationReason": null }, { "name": "MIDDLE_NAME", "description": "Assigned if Middle Name is given in invalid format.", "isDeprecated": false, "deprecationReason": null }, { "name": "POSTAL", "description": "Assigned if Postal is given in invalid format.", "isDeprecated": false, "deprecationReason": null }, { "name": "STATE_CODE", "description": "Assigned if State Code is given in invalid format.", "isDeprecated": false, "deprecationReason": null }, { "name": "STREET_ADDRESS", "description": "Assigned if Primary Address is given in invalid format.", "isDeprecated": false, "deprecationReason": null }, { "name": "STREET_ADDRESS_2", "description": "Assigned if Secondary Address is given in invalid format.", "isDeprecated": false, "deprecationReason": null }, { "name": "PARENT_NAME", "description": "Assigned if Parent Name is given in invalid format.", "isDeprecated": false, "deprecationReason": null }, { "name": "PARENT_EMAIL", "description": "Assigned if Parent Email is given in invalid format.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "RegisterPayoutInformationInput", "description": "RegisterPayoutInformationInput is the input required to register a user's payout information during payout onboarding.", "fields": null, "inputFields": [ { "name": "birthdate", "description": "Birthdate submitted by the user while registering into a payout program.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "defaultValue": null }, { "name": "city", "description": "City submitted by the user while registering into a payout program.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "companyName", "description": "Company Name submitted by the user while registering into a payout program.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "countryCode", "description": "Country Code (ISO-3166) submitted by the user while registering into a payout program.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "email", "description": "Email submitted by the user while registering into a payout program.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "firstName", "description": "First Name submitted by the user while registering into a payout program.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "lastName", "description": "Last Name submitted by the user while registering into a payout program.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "middleName", "description": "Middle Name submitted by the user while registering into a payout program.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "parentEmail", "description": "Parent Email submitted by the under age user while registering into a payout program.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "parentName", "description": "Parent Name submitted by the under age user while registering into a payout program.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "postal", "description": "Postal submitted by the user while registering into a payout program.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "stateCode", "description": "State Code submitted by the user while registering into a payout program.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "streetAddress", "description": "Primary Address submitted by the user while registering into a payout program.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "streetAddress2", "description": "Secondary Address submitted by the user while registering into a payout program.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "targetUserID", "description": "TargetUserID is the ID of the user whose payout information will be registered.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "RegisterPayoutInformationPayload", "description": "RegisterPayoutInformationPayload is the updated workflow after registration is accepted.", "fields": [ { "name": "error", "description": "Describes error that occured when registering payout information.", "args": [], "type": { "kind": "OBJECT", "name": "RegisterPayoutInformationError", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "workflow", "description": "New workflow state.", "args": [], "type": { "kind": "OBJECT", "name": "PayoutOnboardingWorkflow", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "RejectFriendRequestInput", "description": null, "fields": null, "inputFields": [ { "name": "targetID", "description": "The authenticated user will reject the friend request sent by the user with an ID equal to targetID.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "RejectFriendRequestPayload", "description": null, "fields": [ { "name": "user", "description": "The user whose friend request was just rejected.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "RejectedChatMessage", "description": null, "fields": [ { "name": "body", "description": "Original message's raw body.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "failedFragments", "description": "Optional list of fragments from the messages's body that lead to the message rejection.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The ID of the message.", "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isResolved", "description": "Specifies if a action by a moderator has been taken on the message.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "sender", "description": "The user that created the message.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "target", "description": "The channel where the message was originally sent.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "RemoveCollectionItemInput", "description": "RemoveCollectionItemInput accepts a collectionID and item ID and parameters to remove the item from a collection.", "fields": null, "inputFields": [ { "name": "collectionID", "description": "The id of the collection.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "itemID", "description": "The id of the item of which will be added to the collection.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "itemType", "description": "The type of item ie. video.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "RemoveCollectionItemPayload", "description": "The response from removing an item from a collection.", "fields": [ { "name": "collection", "description": "The newly updated collection.", "args": [], "type": { "kind": "OBJECT", "name": "Collection", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "RemoveReactionInput", "description": null, "fields": null, "inputFields": [ { "name": "emoteID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "entityID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "RemoveReactionPayload", "description": null, "fields": [ { "name": "content", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "UNION", "name": "ReactableContent", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "ReorderCollectionItemInput", "description": "ReorderCollectionItemInput accepts a collectionID and item ID and parameters to update the item order of a collection.", "fields": null, "inputFields": [ { "name": "collectionID", "description": "The id of the collection.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "itemID", "description": "The id of the item of which will be moved in the collection.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "itemType", "description": "The type of item ie. video.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "position", "description": "The new position of the item.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ReorderCollectionItemPayload", "description": "The response from reordering an item in a collection.", "fields": [ { "name": "collection", "description": "The newly updated collection.", "args": [], "type": { "kind": "OBJECT", "name": "Collection", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "ReportContentInput", "description": null, "fields": null, "inputFields": [ { "name": "content", "description": "Content type being reported.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ReportContentType", "ofType": null } }, "defaultValue": null }, { "name": "contentID", "description": "ID of the content being reported.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "description", "description": "The description of the report.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "extra", "description": "Extra (content specific) data for the report.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "reason", "description": "The reason ID for the report.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "targetID", "description": "ID of the user being reported.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ReportContentPayload", "description": null, "fields": [ { "name": "content", "description": "Content type that was reported.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "ReportContentType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "contentID", "description": "ID of the content that was reported.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "ReportContentType", "description": "Types of content that can be reported.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "CHANNEL_FEED_COMMENT_REPORT", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "CHANNEL_FEED_POST_REPORT", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "CHAT_REPORT", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "CLIP_REPORT", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "COLLECTION_REPORT", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "COMMUNITY_REPORT", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "CURSE_PRIVATE_GROUP", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "CURSE_PUBLIC_GROUP", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "CURSE_WHISPER", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "EVENT_REPORT", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "EXTENSION_REPORT", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "LIVE_UP_REPORT", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "RAID_REPORT", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "ROOM_REPORT", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "USER_REPORT", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "VOD_COMMENT_REPORT", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "VOD_REPORT", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "WHISPER_REPORT", "description": null, "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "ReportReason", "description": "A valid reason for a report.", "fields": [ { "name": "id", "description": "The unique ID of the reason.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "text", "description": "The displayed text for this reason localized based on Accept-Language.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "ReportUserInCommunityInput", "description": null, "fields": null, "inputFields": [ { "name": "communityID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "reason", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "userID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ReportUserInCommunityPayload", "description": null, "fields": [ { "name": "user", "description": "The user that was reported.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "ReportVideoCommentInput", "description": null, "fields": null, "inputFields": [ { "name": "commentID", "description": "ID of the comment being reported.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "description", "description": "More details about the report.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "reason", "description": "The reason for report.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ReportVideoCommentPayload", "description": null, "fields": [ { "name": "comment", "description": "The comment that was reported.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "VideoComment", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "ReportWhisperThreadInput", "description": null, "fields": null, "inputFields": [ { "name": "reason", "description": "Reason why the user is reporting the thread.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "targetUserID", "description": "ID of user being reported.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "threadID", "description": "ID of thread to report.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ReportWhisperThreadPayload", "description": null, "fields": [ { "name": "thread", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "WhisperThread", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "RequestInfo", "description": "Metadata about a GraphQL request.", "fields": [ { "name": "countryCode", "description": "The country code where the request originated. Defaults to \"US\" if geoip lookup fails.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "fromEU", "description": "Whether the request came from a country belonging to the European Union.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "ipAddress", "description": "The IP address where the request originated.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "RequestRitualTokenError", "description": null, "fields": [ { "name": "code", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "RequestRitualTokenErrorCode", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "RequestRitualTokenErrorCode", "description": null, "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "TOKEN_NOT_AVAILABLE", "description": "Token is not in a status that can be requested.", "isDeprecated": false, "deprecationReason": null }, { "name": "TOKEN_NOT_FOUND", "description": "Token does not exist.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "RequestRitualTokenInput", "description": "RequestRitualTokenInput is the input when requesting a ritual token.", "fields": null, "inputFields": [ { "name": "channelID", "description": "The channel to request a ritual token in.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "type", "description": "The type of ritual token to request.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "RitualTokenType", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "RequestRitualTokenPayload", "description": "RequestRitualTokenPayload is the response when requesting a ritual token.", "fields": [ { "name": "error", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "RequestRitualTokenError", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "token", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "RitualToken", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "RequiredAction", "description": "Represents the values possible in requiredAction after the activateMutation mutation.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "NONE", "description": "There is no user action required in order to activate the extension.", "isDeprecated": false, "deprecationReason": null }, { "name": "PROMPT_FOR_PERMISSIONS", "description": "The user must accept the permissions in order to complete the activation.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "ResubNotification", "description": "A recent resub token to use for sending a special message.", "fields": [ { "name": "id", "description": "A unique ID for the resub notification.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "months", "description": "The number of months of consecutive subbing.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "token", "description": "The token to use when submitting a sub/resub message.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "RetailProduct", "description": "Details associated with a retail product offer.\nFor Commerce.", "fields": [ { "name": "brandName", "description": "The brand name associated with the retail item (e.g. \"Riot Games\", \"Razer\", \"Blizzard Entertainment\").", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "detailBullets", "description": "List of description details for the item.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "info", "description": "Information about how to purchase this retail item.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ProductInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isPrimeEligible", "description": "Whether this retail offer is eligible for prime shipping on Amazon.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "RichOEmbed", "description": null, "fields": [ { "name": "authorName", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "authorURL", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "cacheAge", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "height", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "html", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "inputURL", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "providerName", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "providerURL", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "thumbnail", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "ThumbnailOEmbed", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "version", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "width", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "OEmbed", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "RitualToken", "description": "A ritual is an opportunity for a viewer to better connect with a streamer's\ncommunity by announcing when they reach milestones in the channel.\nA ritual token is issued when a user is eligible for the ritual, and can be\nredeemed to send the announcement in a channel.", "fields": [ { "name": "channel", "description": "The channel that the user can redeem the ritual token in.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "expiresAt", "description": "The time after which the ritual is considered expired and can no longer be\nredeemed. Clients should dismiss the ritual UI if it's still shown after\nthis time. Null if the ritual never expires.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "A unique ID for the ritual token.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "status", "description": "The status of the ritual token.", "args": [], "type": { "kind": "ENUM", "name": "RitualTokenStatus", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": "The type of the ritual to be redeemed.", "args": [], "type": { "kind": "ENUM", "name": "RitualTokenType", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "user", "description": "The user that owns the ritual token.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "RitualTokenStatus", "description": null, "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "ELIGIBLE", "description": "ELIGIBLE means a user does not have this token, but can request one.", "isDeprecated": false, "deprecationReason": null }, { "name": "AVAILABLE", "description": "AVAILABLE means a user has been granted this token and it can be redeemed.", "isDeprecated": false, "deprecationReason": null }, { "name": "DISMISSED", "description": "DISMISSED means a user has opted out of redeeming this token.", "isDeprecated": false, "deprecationReason": null }, { "name": "REDEEMED", "description": "REDEEMED means a user has successfully consumed this token.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "RitualTokenType", "description": null, "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "NEW_CHATTER", "description": "NEW_CHATTER is granted 5 minutes after a user joins a channel for the first time.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "Room", "description": "A chatroom associated with a channel where members of the room can exchange messages.", "fields": [ { "name": "id", "description": "UUID of the room.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isPreviewable", "description": "Whether the room can be read by non-members and logged out users.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use room.minimumReadMessagesRole instead" }, { "name": "members", "description": "Paginated list of members of the chatroom.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "100" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "RoomMemberConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "messages", "description": "List of messages to the room, in reverse chronological order. If fromTime is used, that time is used\nas the cursor instead of after/before.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "last", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "fromTime", "description": null, "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "RoomMessageConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "minimumAllowedRole", "description": "Minimum role required to join the room. For example, in a sub room, subs can join,\nbut also the broadcaster, mods, and staff.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "RoomRole", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use room.minimumReadMessagesRole and room.maximumReadMessagesRole instead" }, { "name": "modes", "description": "Room modes (e.g. slow mode).", "args": [], "type": { "kind": "OBJECT", "name": "RoomModes", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "name", "description": "The name of the room (e.g. subs-only).", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "owner", "description": "The user the room belongs to.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "User", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "rolePermissions", "description": "rolePermissions describes the role necessary to perform actions in the room.", "args": [], "type": { "kind": "OBJECT", "name": "RoomRolePermissions", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "self", "description": "Returns the current user's settings for the room.", "args": [], "type": { "kind": "OBJECT", "name": "RoomView", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "topic", "description": "The room topic (e.g. \"serious discussion only\").", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "RoomMemberConnection", "description": "Paginated list of room members (users).", "fields": [ { "name": "edges", "description": "The elements of the list.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "RoomMemberEdge", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information about this page.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "RoomMemberEdge", "description": "Element in a list of room members.", "fields": [ { "name": "cursor", "description": "Opaque cursor describing this edge's position in the paginated list.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Cursor", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The user who is a member of the room.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": "Type of user for grouping users in the rooms member list.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "RoomMemberType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "RoomMemberType", "description": "Type of user for grouping users in the rooms member list.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "BROADCASTER", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "STAFF", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "ADMIN", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "GLOBALMOD", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "MOD", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "REGULAR", "description": null, "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "RoomMessage", "description": "A message sent from a user to a room.", "fields": [ { "name": "content", "description": "The text and emoticon content of a message.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "RoomMessageContent", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "deletedAt", "description": "Time the message was deleted or purged. Null if the message is not deleted.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "UUID of the message.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "room", "description": "The room the message was sent in.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Room", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "sender", "description": "The user that sent the message.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "User", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "sentAt", "description": "Time the msesage was sent.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "RoomMessageConnection", "description": "Paginated list of messages in a room.", "fields": [ { "name": "edges", "description": "The elements of the list.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "RoomMessageEdge", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information about this page.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "RoomMessageContent", "description": "The content of a user's message to a room.", "fields": [ { "name": "fragments", "description": "Parsed list of fragments in the message, include emotes, mentions, and plaintext.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "RoomMessageFragment", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "text", "description": "String representation of the user message.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "RoomMessageEdge", "description": "Element in a list of messages.", "fields": [ { "name": "cursor", "description": "Opaque cursor describing this edge's position in the paginated list.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Cursor", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The message.", "args": [], "type": { "kind": "UNION", "name": "RoomMessageItem", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "RoomMessageFragment", "description": "One parsed part of a message, which may be an emote, mention, or plaintext.", "fields": [ { "name": "content", "description": "Contains an emote or a mentioned user depending on the text of the fragment.", "args": [], "type": { "kind": "UNION", "name": "FragmentContent", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "text", "description": "Plaintext representation of the fragment.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "UNION", "name": "RoomMessageItem", "description": null, "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "RoomMessage", "ofType": null } ] }, { "kind": "OBJECT", "name": "RoomModes", "description": "Modes that have been enabled for the room.", "fields": [ { "name": "emotesOnlyModeEnabled", "description": "If enabled, messages to the room must contain only emotes.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "r9kModeEnabled", "description": "If enabled, messages to the room must be unique.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "slowModeDurationSeconds", "description": "The number of seconds users must wait between messages. If 0, slow mode is disabled.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "RoomPermissions", "description": "Represents the permissions a user has in a room.", "fields": [ { "name": "moderate", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "readMessages", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "sendMessages", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "RoomRole", "description": "Describes the role a user must be in order to perform an action, such as sending messages. Roles are\nhierarchical, so users that meet a role also meet all lower roles as well. For example, a moderator\nmeets the subscriber role, even if they are not subscribed to the channel. Roles are defined in order\nfrom highest to lowest in the enum.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "BROADCASTER", "description": "The channel owner.", "isDeprecated": false, "deprecationReason": null }, { "name": "MODERATOR", "description": "A moderator for the channel.", "isDeprecated": false, "deprecationReason": null }, { "name": "SUBSCRIBER", "description": "A subscriber of the channel.", "isDeprecated": false, "deprecationReason": null }, { "name": "EVERYONE", "description": "All users.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "RoomRolePermissions", "description": "RoomRolePermissions describes the role necessary to perform actions in a room.", "fields": [ { "name": "read", "description": "Read describes the role necessary to read messages in the room.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "RoomRole", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "send", "description": "Send describes the role necessary to send messages in the room.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "RoomRole", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "RoomView", "description": "A RoomView represents the authenticated user's self connection to a room, and includes the user's\nsettings and permissions.", "fields": [ { "name": "isArchived", "description": "Whether the user has archived the room.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isMuted", "description": "Whether the user has muted the room.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isUnread", "description": "Whether the user has unread messages in the room.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "lastReadAt", "description": "Last time the user read a message in the room.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "permissions", "description": "The permissions the authenticated user has in the room.", "args": [], "type": { "kind": "OBJECT", "name": "RoomPermissions", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "room", "description": "The room the room view belongs to.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Room", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "unreadMentionCount", "description": "The number of mentions for the user in the room that the user has not read.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SCETitle", "description": "Sony Computer Entertainment (SCE) title properties.\nUsed as part of stream metadata for PlayStation.", "fields": [ { "name": "ageRating", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "attribute", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "genre", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isPreset", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "language", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "metadata", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "name", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "presetText", "description": null, "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "presetTextDescription", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "productID", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "sessionID", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "shortName", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "storeURL", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SCEUser", "description": "Sony Computer Entertainment (SCE) user properties.\nUsed as part of stream metadata for PlayStation.", "fields": [ { "name": "country", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "npID", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "onlineID", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SSOLink", "description": "A link between a single sign-on (SSO) app and a Twitch account.\nSSO apps are the Twitch apps on console and smart TV.", "fields": [ { "name": "app", "description": "The name of the SSO app that is linked to the authenticated user's Twitch account.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "ssoID", "description": "The identifier of the device or user account on XboxLive, PSN, etc.\nthat is linked to the authenticated user's Twitch account.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SegmentEvent", "description": "Segment events are sub-events that represent a piece of content that is part of a greater event.\nSegmentEvent would be good at representing:\n * A single run of a gaming event like \"Awesome Games Done Quick 2017\". These segments could be children\n under a TimetableEvent which would group all the runs for \"Awesome Games Done Quick 2018\" together.\n * A single panel in a conference like \"TwitchCon 2017\". These segments could be children\n under a TimetableEvent which would group all the panels for the conference together.", "fields": [ { "name": "channel", "description": "The channel where this event will be broadcast.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createdAt", "description": "When this event was created.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": "The description of this event.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "endAt", "description": "The time that this event ends.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "game", "description": "The game that will be played during this event.", "args": [], "type": { "kind": "OBJECT", "name": "Game", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The Event's unique identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "imageID", "description": "The chosen image ID for this event.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "imageURL", "description": "The URL or a URL template to the cover image for this event.\nAn optional width and height can be given to specify the dimension of the image in pixels.\nIf left unspecified, this field will be a URL template with {width} and {height} placeholders\nthat the client can replace to create a functional URL.\nWhen width and height are given, this field is a full URL to the image.\nThe image is first scaled to maintain its aspect ratio, then cropped to fit the given dimensions.", "args": [ { "name": "width", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "height", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "language", "description": "The language that this event is being run in.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "Language", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "owner", "description": "The user who owns this event.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "parent", "description": "The container event that this event is a part of.", "args": [], "type": { "kind": "UNION", "name": "SegmentParentEvent", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "self", "description": "The authenticated user's relationship with this event.", "args": [], "type": { "kind": "OBJECT", "name": "EventSelfConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "startAt", "description": "The time that this event starts.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "stats", "description": "The stats about engagement with this event.", "args": [], "type": { "kind": "OBJECT", "name": "EventStats", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "The title of this event.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "updatedAt", "description": "When this event was last modified.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "videos", "description": "Highlights or past broadcasts recorded during this event.\nIf a type isn't specified, both broadcasts and highlights will be included in the list.\nIf sort isn't specified, the list will be sorted by start time, in descending order.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "sort", "description": null, "type": { "kind": "ENUM", "name": "VideoSort", "ofType": null }, "defaultValue": null }, { "name": "type", "description": null, "type": { "kind": "ENUM", "name": "EventTypeBroadcastType", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "EventVideoConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DeprecatedEvent", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "UNION", "name": "SegmentParentEvent", "description": "SegmentParentEvent defines the types of container-events that a SegmentEvent may be a part of.\nNOTE: Clients should be resilient to SegmentParentEvent including new types in the future.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "TimetableEvent", "ofType": null } ] }, { "kind": "INPUT_OBJECT", "name": "SendCheerInput", "description": null, "fields": null, "inputFields": [ { "name": "bits", "description": "bits is the number of bits the message will spend (as parsed by the client).", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "defaultValue": null }, { "name": "content", "description": "content is the text to process and forward to the chat system.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "id", "description": "id is a client-generated unique ID used to prevent a message from being re-sent (thus spending double bits).\nThe server will reject any request with an ID that has already been used.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "targetID", "description": "targetID is the `User.id` of the channel to send the cheer to.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SendCheerPayload", "description": null, "fields": [ { "name": "currentUser", "description": "currentUser is the authenticated user object which includes the updated `Wallet` info after the message bits have been spent.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "id is the client-generated value passed in as part of the request.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SendRoomMessageError", "description": null, "fields": [ { "name": "code", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SendRoomMessageErrorCode", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "remainingDurationSeconds", "description": "On SLOW_MODE_ENFORCEMENT_FAILED, USER_CHAT_TIMED_OUT: the number of remaining seconds user must wait before sending another message.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "slowModeDurationSeconds", "description": "On SLOW_MODE_ENFORCEMENT_FAILED: the number of seconds users must wait in between sending messages.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "SendRoomMessageErrorCode", "description": null, "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "FORBIDDEN", "description": "User not allowed to chat in room.", "isDeprecated": false, "deprecationReason": null }, { "name": "AUTO_MOD_ENFORCEMENT_FAILED", "description": "Message failed automod check.", "isDeprecated": false, "deprecationReason": null }, { "name": "EMOTE_ONLY_MODE_ENFORCEMENT_FAILED", "description": "Room is in emotes only mode and message contained non-emote text.", "isDeprecated": false, "deprecationReason": null }, { "name": "R9K_MODE_ENFORCEMENT_FAILED", "description": "Room is in R9K mode and message was not unique.", "isDeprecated": false, "deprecationReason": null }, { "name": "RATE_LIMIT_FAILED", "description": "User is rate limited.", "isDeprecated": false, "deprecationReason": null }, { "name": "SLOW_MODE_ENFORCEMENT_FAILED", "description": "Room is in slow mode and user tried to send a message to quickly.", "isDeprecated": false, "deprecationReason": null }, { "name": "SPAM_ENFORCEMENT_FAILED", "description": "Message failed spam check.", "isDeprecated": false, "deprecationReason": null }, { "name": "ZALGO_ENFORCEMENT_FAILED", "description": "Message contained zalgo characters.", "isDeprecated": false, "deprecationReason": null }, { "name": "USER_CHAT_BANNED", "description": "User is banned in the channel.", "isDeprecated": false, "deprecationReason": null }, { "name": "USER_CHAT_TIMED_OUT", "description": "User is timed out in the channel.", "isDeprecated": false, "deprecationReason": null }, { "name": "USER_SUSPENDED", "description": "User is suspended from Twitch.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "SendRoomMessageInput", "description": null, "fields": null, "inputFields": [ { "name": "message", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "nonce", "description": "Optional nonce which will be included in the pubsub event for this message.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "roomID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SendRoomMessagePayload", "description": null, "fields": [ { "name": "error", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "SendRoomMessageError", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "message", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "RoomMessage", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "SendWhisperInput", "description": null, "fields": null, "inputFields": [ { "name": "message", "description": "Message to send to user.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "nonce", "description": "Random string generated by the client and should be unique across messages.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "recipientUserID", "description": "User to send a whisper to.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SendWhisperPayload", "description": null, "fields": [ { "name": "message", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "WhisperMessage", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "SetAmendmentAcceptanceInput", "description": null, "fields": null, "inputFields": [ { "name": "amendmentType", "description": "Amendment type that is being accepted by acting user.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CommerceAmendmentType", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SetAmendmentAcceptancePayload", "description": null, "fields": [ { "name": "twitch", "description": "Amendment type that was accepted by acting user.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserTwitchConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "SetChannelFeedEnabledInput", "description": null, "fields": null, "inputFields": [ { "name": "enabled", "description": "The new desired value for channel_feed_enabled.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SetChannelFeedEnabledPayload", "description": null, "fields": [ { "name": "user", "description": "The user whose channel feed setting was toggled.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "User", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "SetChannelNotificationSettingInput", "description": null, "fields": null, "inputFields": [ { "name": "category", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "channelID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "platform", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "settingState", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SetChannelNotificationSettingPayload", "description": null, "fields": [ { "name": "settingState", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "SetDefaultPaymentMethodInput", "description": null, "fields": null, "inputFields": [ { "name": "provider", "description": "The payment provider we're updating the payment method on.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PaymentProvider", "ofType": null } }, "defaultValue": null }, { "name": "recurlyToken", "description": "If provider you want to set for is Recurly, then this should be specified.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "userID", "description": "The user to set default payment method for.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "zuoraPaymentMethodID", "description": "If provider you want to set for is Recurly, then new default payment method ID should be specified.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SetDefaultPaymentMethodPayload", "description": null, "fields": [ { "name": "paymentMethod", "description": "The new default payment method that was just set.", "args": [], "type": { "kind": "OBJECT", "name": "PaymentMethod", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updatedAt", "description": "Time the payment method was updated at, if it was updated.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "user", "description": "User who had their payment method updated. The 'user.paymentMethods' field gets updated list of payment methods.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "SetNotificationSettingInput", "description": null, "fields": null, "inputFields": [ { "name": "category", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "platform", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "settingState", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SetNotificationSettingPayload", "description": null, "fields": [ { "name": "settingState", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "SetPreferredLanguageTagInput", "description": "The required input for a setPreferredLanguageTag mutation.", "fields": null, "inputFields": [ { "name": "preferredLanguageTag", "description": "The preferred language tag to set onto the user.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "LanguageTag", "ofType": null } }, "defaultValue": null }, { "name": "userID", "description": "The user to modify.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SetPreferredLanguageTagPayload", "description": "The result of a setPreferredLanguageTag mutation.", "fields": [ { "name": "user", "description": "The user whose preferred language tag was changed.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "SetSessionStatusInput", "description": "SetSessionStatusInput represents a user's status within a single session (browser tab, game, desktop application,\nmobile application, etc.).", "fields": null, "inputFields": [ { "name": "activity", "description": "activity is the action the user is performing in your application. The purpose of an activity is to allow the user's\nfriends and related users to join in on whatever the user is doing. If the user is not performing any action that\nother users can join in on (e.g. watching a VOD, browsing their settings page) or is not performing any action at\nall, this should be set to null.", "type": { "kind": "INPUT_OBJECT", "name": "ActivityInput", "ofType": null }, "defaultValue": null }, { "name": "availability", "description": "availability is the state of the user's session in your application. You should set it to ONLINE if the user is\nknown to be at their device, IDLE if they are not, and OFFLINE if your application is currently terminating.\n\nNote that if your application fails to send an OFFLINE heartbeat before terminating, the session will automatically\nexpire after some time without a heartbeat.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "AvailabilityInput", "ofType": null } }, "defaultValue": null }, { "name": "sessionID", "description": "sessionID must be supplied and can be any string unique to this session. Generating a random UUID when your\napplication starts and sending it for each setSessionStatus is a good idea.\n\nEach instance of your application should send the same ID for each of its setSessionStatus calls, but two instances\nof your application running at the same time should never have the same session ID.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SetSessionStatusPayload", "description": null, "fields": [ { "name": "setAgainInSeconds", "description": "The number of seconds your application should wait before sending another setSessionStatus. If your application does\nnot call setSessionStatus again within roughly this duration, it will be assumed to have terminated unexpectedly and\nits session status for this user will expire.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "user", "description": "The modified user.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "SetUserResidenceInput", "description": "SetUserResidenceInput is input required to set a user's residence.", "fields": null, "inputFields": [ { "name": "countryCode", "description": "User's country in ISO alpha-2.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "userID", "description": "Target user for setting residence.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "zipCode", "description": "User's zip code.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SetUserResidencePayload", "description": "SetUserResidencePayload is the response from the SetUserResidence mutation.", "fields": [ { "name": "user", "description": "User whose residence was set for.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Share", "description": null, "fields": [ { "name": "author", "description": "The user that created this share.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createdAt", "description": "Time the share was created by the user.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "Share ID.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "target", "description": "The item that was shared.", "args": [], "type": { "kind": "UNION", "name": "ShareTarget", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "SharePurchaseTokenInChatInput", "description": null, "fields": null, "inputFields": [ { "name": "channelID", "description": "The channel ID containing the purchase token.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "message", "description": "The message to use in chat when sharing. Must not be empty String.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "token", "description": "The purchase token identifier.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SharePurchaseTokenInChatPayload", "description": "SharePurchaseTokenInChatPayload contains the token value of the shared purchase token.", "fields": [ { "name": "token", "description": "The purchase token identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "UNION", "name": "ShareTarget", "description": null, "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "Clip", "ofType": null }, { "kind": "OBJECT", "name": "Post", "ofType": null }, { "kind": "OBJECT", "name": "Stream", "ofType": null }, { "kind": "OBJECT", "name": "Video", "ofType": null } ] }, { "kind": "OBJECT", "name": "SingleEvent", "description": "SingleEvent represents a one-off, stand-alone event where the content is a live stream on a single channel.", "fields": [ { "name": "channel", "description": "The channel where this event will be broadcast.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createdAt", "description": "When this event was created.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": "The description of this event.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "endAt", "description": "The time that this event ends.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "game", "description": "The game that will be played during this event.", "args": [], "type": { "kind": "OBJECT", "name": "Game", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The Event's unique identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "imageID", "description": "The chosen image ID for this event.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "imageURL", "description": "The URL or a URL template to the cover image for this event.\nAn optional width and height can be given to specify the dimension of the image in pixels.\nIf left unspecified, this field will be a URL template with {width} and {height} placeholders\nthat the client can replace to create a functional URL.\nWhen width and height are given, this field is a full URL to the image.\nThe image is first scaled to maintain its aspect ratio, then cropped to fit the given dimensions.", "args": [ { "name": "width", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "height", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "language", "description": "The language that this event is being run in.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "Language", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "owner", "description": "The user who owns this event.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "self", "description": "The authenticated user's realtionship with this event.", "args": [], "type": { "kind": "OBJECT", "name": "EventSelfConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "startAt", "description": "The time that this event starts.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "stats", "description": "The stats about engagement with this event.", "args": [], "type": { "kind": "OBJECT", "name": "EventStats", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "The title of this event.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "updatedAt", "description": "When this event was last modified.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "videos", "description": "Highlights or past broadcasts recorded during this event.\nIf a type isn't specified, both broadcasts and highlights will be included in the list.\nIf sort isn't specified, the list will be sorted by start time, in descending order.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "sort", "description": null, "type": { "kind": "ENUM", "name": "VideoSort", "ofType": null }, "defaultValue": null }, { "name": "type", "description": null, "type": { "kind": "ENUM", "name": "EventTypeBroadcastType", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "EventVideoConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DeprecatedEvent", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SmiliesSet", "description": "Wrapper around the standard emoticon groups for Prime Emoticons.", "fields": [ { "name": "emoticonSet", "description": "Emotes associated with the Smilies Set Id.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "EmoteSet", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "ID for the current smilies set.", "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SocialStream", "description": null, "fields": [ { "name": "friend", "description": "The friend who generated the recommendation.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "stream", "description": "The recommended stream.", "args": [], "type": { "kind": "OBJECT", "name": "Stream", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": "The type of recommendation. Different types contain different metadata about why the recommendation was made.", "args": [], "type": { "kind": "ENUM", "name": "StreamRecommendationType", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "RecommendedStream", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "SortOrder", "description": "Sort direction.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "ASC", "description": "Ascending (A-Z, 1-9).", "isDeprecated": false, "deprecationReason": null }, { "name": "DESC", "description": "Descending (Z-A, 9-1).", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "SpendSubscriptionCreditError", "description": "Error returned when attempting to spend subscription credit.", "fields": [ { "name": "code", "description": "Error code for error that occured while attempting to spend subscription credit.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SpendSubscriptionCreditErrorCode", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "SpendSubscriptionCreditErrorCode", "description": "Possible error codes returned when attempting to spend subscription credit.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "UNABLE_TO_SPEND", "description": "Occurs if a Twitch Prime user attempts to spend subscription credit that is (still) unavailable.", "isDeprecated": false, "deprecationReason": null }, { "name": "TOO_MANY_RECENT_SPENDS", "description": "Occurs if a Twitch Prime user attempts to spend multiple times, acting as a flag for fraud.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "SpendSubscriptionCreditInput", "description": "Input requires the broadcaster to be payed and user to deduct credit.", "fields": null, "inputFields": [ { "name": "broadcasterID", "description": "The user id of streamer being subscribed to.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "userID", "description": "Twitch user ID.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SpendSubscriptionCreditPayload", "description": "Mutated data after spending the subscription credit.", "fields": [ { "name": "error", "description": "Possible error returned from the service.", "args": [], "type": { "kind": "OBJECT", "name": "SpendSubscriptionCreditError", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "subscriptionBenefit", "description": "The modified subscription benefit data.", "args": [], "type": { "kind": "OBJECT", "name": "SubscriptionBenefit", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "userID", "description": "Twitch user ID.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "StartPayoutOnboardingWorkflowInput", "description": "StartPayoutOnboardingWorkflowInput returns the required input when starting a new workflow for payout onboarding.", "fields": null, "inputFields": [ { "name": "targetUserID", "description": "TargetUserID is the ID of the user whose workflow will be started.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "StartPayoutOnboardingWorkflowPayload", "description": "StartPayoutOnboardingWorkflowPayload returns a new workflow when starting payout onboarding.", "fields": [ { "name": "workflow", "description": "A new workflow status.", "args": [], "type": { "kind": "OBJECT", "name": "PayoutOnboardingWorkflow", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Stream", "description": "A live stream.", "fields": [ { "name": "averageFPS", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Float", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "bitrate", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Float", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "broadcastLanguage", "description": "The language the stream is being broadcasted in.", "args": [], "type": { "kind": "ENUM", "name": "Language", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "broadcaster", "description": "The user who is broadcasting the live stream.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "channel", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "Channel", "ofType": null }, "isDeprecated": true, "deprecationReason": "Channel fields have been merged into User. Use stream.broadcaster instead." }, { "name": "codec", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createdAt", "description": "The time streaming started.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "directories", "description": "Information about what directories the stream is categorized in.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "INTERFACE", "name": "Directory", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "game", "description": "Information about the game being streamed.", "args": [], "type": { "kind": "OBJECT", "name": "Game", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "height", "description": "The height of the stream's video, in pixels.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The stream's unique identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isDirectoryHidden", "description": "Whether the stream is hidden from its directory.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isMature", "description": "Whether the broadcaster has indicated the stream is intended for mature audiences only.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use broadcaster.broadcastSettings.isMature instead" }, { "name": "isPartner", "description": "Whether the broadcaster is partnered with Twitch.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isStreamDropsEnabled", "description": "Whether or not viewers of this stream can receive drops.\nNote: Actually earning drops additionally requires that the game have an\nactive drops campaign and is done at the discretion of the developer.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "language", "description": "The lanugage setting of the streaming user.", "args": [], "type": { "kind": "ENUM", "name": "Language", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "lastUpdatedAt", "description": "When the stream was last updated.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "maxHeight", "description": "The maximum height of the stream's video, in pixels.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "platform", "description": "Platform-specific (e.g. Xbox, PlayStation) metadata.", "args": [], "type": { "kind": "UNION", "name": "Platform", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "previewImageURL", "description": "A URL to a dynamically sized image.\nIf either `height` or `width` are not given, a templated value will be present instead.", "args": [ { "name": "height", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "width", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "retailOffers", "description": "Retail products to be displayed alongside this stream (broadcaster + game).\nWill only include a small number (<10) of products per stream, so no pagination needed.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "RetailProduct", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "self", "description": "self contains information on the relationship between the current user (anonymous or authenticated) and this stream.", "args": [], "type": { "kind": "OBJECT", "name": "StreamSelfConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "streamMetadata", "description": "Metadata about the game being played in the stream.", "args": [], "type": { "kind": "OBJECT", "name": "StreamMetadata", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "A user-defined title describing the stream.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": true, "deprecationReason": "Title field in Users has been deprecated. Use broadcaster.broadcastSettings.title instead" }, { "name": "type", "description": "What type of stream this is (e.g. live, playlist, watch_party).", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "viewersCount", "description": "The number of viewers currently watching the stream.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "width", "description": "The width of the stream's video, in pixels.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "StreamConnection", "description": "Paginated list of Streams.", "fields": [ { "name": "edges", "description": null, "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "StreamEdge", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "generationID", "description": "Used for tracking.", "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "PageInfo", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "responseID", "description": "Used for tracking.", "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "StreamEdge", "description": "Contains information about a Streams's relationship to a given page (connection),\nand the Stream itself.", "fields": [ { "name": "cursor", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "Stream", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "StreamMetadata", "description": null, "fields": [ { "name": "counterStrikeGlobalOffensive", "description": "Counter Strike Global Offensive game information.", "args": [], "type": { "kind": "OBJECT", "name": "CounterStrikeGlobalOffensive", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "hearthstone", "description": "Hearthstone game information.", "args": [], "type": { "kind": "OBJECT", "name": "Hearthstone", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "leagueOfLegends", "description": "League Of Legends game information.", "args": [], "type": { "kind": "OBJECT", "name": "LeagueOfLegends", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "overwatch", "description": "Overwatch game information.", "args": [], "type": { "kind": "OBJECT", "name": "Overwatch", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "pubg", "description": "PUBG game information.", "args": [], "type": { "kind": "OBJECT", "name": "PUBG", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "StreamMetadataFilterInput", "description": "Query to let consumers filter streams that have specific metadata.\ne.g. return only those hearthstone streams that have broadcasterheroclass as mage.\nFE uses these parameters to implemtent filters.", "fields": null, "inputFields": [ { "name": "counterStrikeMap", "description": "Filter streams by CSGO Map.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "counterStrikeSkill", "description": "Filter streams by CSGO skill.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "hearthstoneBroadcasterHeroClass", "description": "Filter streams by Hearthstone hero class e.g Mage.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "hearthstoneBroadcasterHeroName", "description": "Filter streams by Hearthstone hero name e.g Jaina.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "hearthstoneGameMode", "description": "Filter streams by Hearthstone game mode e.g arena or rank etc.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "leagueOfLegendsChampionID", "description": "Filter streams by League Of Legends champion id.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "overwatchBroadcasterCharacter", "description": "Filter streams by Overwatch broadcaster's character e.g Widowmaker.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "pubgGameMode", "description": "Filter streams by PUBG game mode.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "pubgPlayerAliveMax", "description": "Filter streams by PUBG max number of players alive in game.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "pubgPlayerAliveMin", "description": "Filter streams by PUBG min number of players alive in game.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "StreamRecommendationType", "description": null, "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "SOCIAL", "description": "A SocialStream.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "StreamSelfConnection", "description": "The relationship between the authenticated user and a stream.", "fields": [ { "name": "retailOffers", "description": "The retail products that sohuld be displayed on this stream for this user.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "RetailProduct", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "StreamSort", "description": "Possible ways of sorting collections of live streams.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "VIEWER_COUNT", "description": "Sort streams by number of concurrent viewers, descending (most viewers first).", "isDeprecated": false, "deprecationReason": null }, { "name": "RELEVANCE", "description": "Sort by relevance to the current user.", "isDeprecated": false, "deprecationReason": null }, { "name": "CSGO_SKILL", "description": "Sort streams for the game \"Counter-Strike: Global Offensive\" by skill, descending (highest skill first).\nOther streams are included last, sorted at random.", "isDeprecated": false, "deprecationReason": null }, { "name": "LOL_SUMMONER_RANK", "description": "Sort streams for the game \"League of Legends\" by summoner rank, descending (highest rank first).\nOther streams are included last, sorted at random.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "Streaming", "description": null, "fields": [ { "name": "stream", "description": "The stream being broadcasted.", "args": [], "type": { "kind": "OBJECT", "name": "Stream", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": "This activity's type, i.e. \"STREAMING\".", "args": [], "type": { "kind": "ENUM", "name": "ActivityType", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Activity", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "SCALAR", "name": "String", "description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SubscribedChannelConnection", "description": "A list of channels subscribed to by a user.", "fields": [ { "name": "edges", "description": "The subscribed channels.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscribedChannelEdge", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Pagination.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "totalCount", "description": "The total number of subscribed channels.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SubscribedChannelEdge", "description": "A broadcaster user with cursor.", "fields": [ { "name": "cursor", "description": "Cursor represents the position of the current edge/node.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Cursor", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "Node represents the user for the current edge.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SubscriptionBenefit", "description": "Data about a user's subscription to a broadcaster.", "fields": [ { "name": "endsAt", "description": "The date that the subscription benefit ends.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "gift", "description": "gift resolves gift info about a SubscriptionBenefit.", "args": [], "type": { "kind": "OBJECT", "name": "SubscriptionGift", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The unique identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "intervalNumber", "description": "For a recurring subscription, the price is charged at every interval i months.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "originID", "description": "The id of where the subscription originated from. Used when DNRing a recurring subscription.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "paidUpgrade", "description": "If the subscriptionBenefit has a future dated paid upgrade. (ie. a user has upgraded a 1-month gift to a recurring subscription).", "args": [], "type": { "kind": "OBJECT", "name": "PaidUpgrade", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "platform", "description": "The platform the subscription was purchased on.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SubscriptionPlatform", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "product", "description": "Resolves the product that the subscription benefit is to.", "args": [], "type": { "kind": "OBJECT", "name": "SubscriptionProduct", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "purchasedWithPrime", "description": "Whether this benefit was achieved using a Twitch Prime subscription.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "renewsAt", "description": "The date that the subscription benefit will renew. Will be nil if the subscription benefit\nis not going to renew.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "thirdPartySKU", "description": "Exposes the third party SKU for managing third party subscriptions from the client.\nWill be nil if there is not a thirdPartySKU associated with this subscription benefit.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "tier", "description": "The subscription tier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "user", "description": "The user who is subscribed to.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SubscriptionBenefitConnection", "description": "A paginated list of subscription benefits.", "fields": [ { "name": "edges", "description": "The list of subscription benefits on this page.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionBenefitEdge", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information about this page of payment transactions.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "SubscriptionBenefitCriteriaInput", "description": "Criteria for building paginated list of user's all active subscriptions.", "fields": null, "inputFields": [ { "name": "filter", "description": "Only return subscription benefits for a given filter value.", "type": { "kind": "ENUM", "name": "SubscriptionBenefitFilter", "ofType": null }, "defaultValue": "ALL" }, { "name": "platform", "description": "Platform where subscriptions were purchased.", "type": { "kind": "ENUM", "name": "SubscriptionPlatform", "ofType": null }, "defaultValue": "WEB" } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SubscriptionBenefitEdge", "description": "An element in a paginated list of subscription benefits.", "fields": [ { "name": "cursor", "description": "Opaque cursor describing this edge's position in the paginated list.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Cursor", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The element node.", "args": [], "type": { "kind": "OBJECT", "name": "SubscriptionBenefit", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "SubscriptionBenefitFilter", "description": "Set of ways to filter subscription benefit paginated results.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "PLATFORM", "description": "Only subscriptions purchased on a platform, specified in the input as platform.", "isDeprecated": false, "deprecationReason": null }, { "name": "GIFT", "description": "Only Subscriptions received through gifts from another Twitch user.", "isDeprecated": false, "deprecationReason": null }, { "name": "ALL", "description": "All active subscriptions.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "SubscriptionCheckoutConfigs", "description": "Configs that help initiate the subscription checkout flow.", "fields": [ { "name": "canGift", "description": "Whether the initiated checkout flow can complete/succeed and gift the recipient the product.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isOneMonthFreeEligible", "description": "Whether the purchaser is eligible for a one-time promotion in the subscription purchase checkout flow.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "paymentProviderConfigs", "description": "Holds configuration necessary for initializing payment provider client libraries and facilitate checkout flow.", "args": [], "type": { "kind": "OBJECT", "name": "PaymentProviderConfigs", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SubscriptionGift", "description": "Gift information for a subscription benefit.", "fields": [ { "name": "giftDate", "description": "giftDate is the date that the gift was given.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "gifter", "description": "Gifter is the user who sent the gift. Will be nil if isGift is false.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isGift", "description": "isGift says whether the subscription benefit is a gift or not.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SubscriptionInterval", "description": "Represents the interval of a subscription product.", "fields": [ { "name": "duration", "description": "The unit-less amount of time a subscription lasts for.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "unit", "description": "Denotes the unit of the interval.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SubscriptionIntervalUnit", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "SubscriptionIntervalUnit", "description": "Denotes the unit of the period of a subscription product.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "WEEK", "description": "This subscription product lasts X weeks.", "isDeprecated": false, "deprecationReason": null }, { "name": "MONTH", "description": "This subscription product lasts X months.", "isDeprecated": false, "deprecationReason": null }, { "name": "YEAR", "description": "This subscription product lasts X years.", "isDeprecated": false, "deprecationReason": null }, { "name": "ONE_TIME", "description": "This subscription product lasts forever.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "SubscriptionPlatform", "description": "SubscriptionPlatform enumerates platform options such as WEB, IOS, ANDROID.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "WEB", "description": "Access from the browser. ).", "isDeprecated": false, "deprecationReason": null }, { "name": "IOS", "description": "Access from the Twitch iOS application.", "isDeprecated": false, "deprecationReason": null }, { "name": "ANDROID", "description": "Access from the Twitch Android application.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "SubscriptionProduct", "description": "A subscription that is purchasable by users.\nOnce purchased, the subscription entitles the user to use special emote sets on Twitch.", "fields": [ { "name": "displayName", "description": "The subscription product's display name.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "emoteSetID", "description": "The identifier of an EmoteSet that a user gains access to use on Twitch,\nwhen they purchase this product.", "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "emotes", "description": "A list of Emotes the user gains access to use on Twitch when they purchase\nthis product.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "Emote", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "giftPromotion", "description": "The subscription product's promotion if it is active.", "args": [], "type": { "kind": "OBJECT", "name": "SubscriptionPromotion", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "hasAdFree", "description": "Whether the subscription hides ads for the channel.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "hasFastChat", "description": "Whether the subscribers of this product are affected by slow chat mode.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "hasSubOnlyChat", "description": "Whether the channel has sub only chatroom restriction.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "hasSubonlyVideoArchive", "description": "Whether the subscribers of this product are able to see the subs-only video archive.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The subscription product's identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "interval", "description": "The interval that the product lasts for. Includes unit + duration.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionInterval", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "name", "description": "The subscription product's name.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "owner", "description": "The Twitch user that is the owner of the channel associated with this subscription product.\nThis is null for SubscriptionProducts like 'turbo' that are not associated with any user.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "price", "description": "The subscription's USD-formatted price, e.g. \"$9.99\".", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "self", "description": "The connection for user to the subscription product.", "args": [], "type": { "kind": "OBJECT", "name": "SubscriptionProductSelfConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "thirdPartyTemplateSKU", "description": "ThirdPartytemplateSKU is used by the frontend to retrieve third party product information such\nas price. templateSKU is exposed separately from purchaseSKU since retrieving purchaseSKU is a\nmore expensive operation. A user may not be able to purchase the templateSKU. Use purchaseSKU\nwhen the user has indiciated they want to purchase.\nUses Client-ID to determine platform information and IP address to determine location.", "args": [ { "name": "platform", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "tier", "description": "The tier of the product.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": "The type of subscription, e.g. \"chansub\" or \"teamsub\".", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SubscriptionProductType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "url", "description": "The URL for this subscription's purchase page.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SubscriptionProductSelfConnection", "description": "The connection between the user and subscription product.", "fields": [ { "name": "benefit", "description": "This user's subscription benefit information for the subscription product.", "args": [], "type": { "kind": "OBJECT", "name": "SubscriptionBenefit", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "checkoutConfigs", "description": "Holds configuration necessary to start subscription purchase checkout flow for this product for current user.\nThe user completing the checkout can get the subscription benefit for themself or for a gift recipient.\nOnly the authenticated user can access their own configs.", "args": [ { "name": "isGift", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "defaultValue": null }, { "name": "recipientID", "description": null, "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "SubscriptionCheckoutConfigs", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "discountType", "description": "The subscription's discount type (e.g. \"percent_off\").", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "DiscountType", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Transitioning to promotion field instead" }, { "name": "discountValue", "description": "The discount value of the subscription product (e.g. \"50\").", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Transitioning to promotion field instead" }, { "name": "isEligibleForDiscount", "description": "If the product is eligible for a discount.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Transitioning to promotion field instead" }, { "name": "newPrice", "description": "The subscription's USD-formatted price after discount (e.g. \"$2.49\").", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Transitioning to promotion field instead" }, { "name": "oldPrice", "description": "The subscription's USD-formatted price before discount (e.g. \"$4.99\").", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Transitioning to promotion field instead" }, { "name": "promotion", "description": "The subscription product's promotion for user if eligible.", "args": [], "type": { "kind": "OBJECT", "name": "SubscriptionPromotion", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "purchase", "description": "This user's subscription purchase details for the subscription product. If this user is not\nsubscribed to the product, then the result's state is 'inactive'. If a compatible purchase exists,\nthen the result's \"compatiblePurchase\" field is present.", "args": [], "type": { "kind": "OBJECT", "name": "SubscriptionPurchase", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "thirdPartyPurchaseSKU", "description": "ThirdPartyPurchaseSKU is different from templateSKU since it represents the SKU of the exact item the\nuser will purchase. It is more expensive to retrieve purchaseSKU than templateSKU, so only\nuse purchaseSKU when the user has indicated they want to checkout. Use templateSKU on channel\npage load to retrieve product information.\n\nWill return an error if the user has no purchasable skus. Will return nil if not on a platform\nwith an external subscription product or if the country is not supported.\nUses Client-ID to determine platform information and IP address to determine location.", "args": [ { "name": "platform", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "SubscriptionProductType", "description": "The types of subscription products that can be purchased.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "CHANSUB", "description": "Channel sub.", "isDeprecated": false, "deprecationReason": null }, { "name": "TEAMSUB", "description": "Team sub.", "isDeprecated": false, "deprecationReason": null }, { "name": "TURBO", "description": "Turbo sub.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "SubscriptionPromotion", "description": "The promotion offer on subscription product.", "fields": [ { "name": "discountType", "description": "The subscription's discount type (e.g. \"PERCENT_OFF\").", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SubscriptionPromotionDiscountType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "discountValue", "description": "The discount value of the subscription product (e.g. \"50\").", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "newPrice", "description": "The subscription's USD-formatted price after discount (e.g. \"$2.49\").", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "oldPrice", "description": "The subscription's USD-formatted price before discount (e.g. \"$4.99\").", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "SubscriptionPromotionDiscountType", "description": "Valid discount types for Subscription promotion.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "NONE", "description": "No discount on subscription product.", "isDeprecated": false, "deprecationReason": null }, { "name": "PERCENT_OFF", "description": "Percent off discount on subscription product.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "SubscriptionPurchase", "description": "A user's subscription purchase details, part of the Subscription Checkout workflow.", "fields": [ { "name": "compatiblePurchases", "description": "A compatible purchase exists if this user bought a subscription product of a different tier for the\nchannel in question.\n\ni.e. this user doesn't have this subscription purchase for the $4.99 sub but they do have a\n compatible purchase for the $9.99 subscription.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionPurchaseDetails", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "details", "description": "The purchase details for a Twitch purchaser - Subscription product combination.", "args": [], "type": { "kind": "OBJECT", "name": "SubscriptionPurchaseDetails", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SubscriptionPurchaseDetails", "description": "The receipt details for a subscription purchase.", "fields": [ { "name": "cancelledAt", "description": "Date the purchase was cancelled at, if applicable, else null.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "currency", "description": "Currency for the price, e.g. \"USD\".", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "paymentProvider", "description": "Purchase's payment provider.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "PaymentProvider", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "price", "description": "Price in smallest subunit of currency, e.g. \"499\" cents.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "productTier", "description": "The tier of the subscription purchase product.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "productType", "description": "The type of subscription purchase.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SubscriptionProductType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "state", "description": "Purchase state.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "SubscriptionPurchaseState", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "SubscriptionPurchaseState", "description": "The various states of the subscription purchase receipt.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "ACTIVE", "description": "Active subscription purchase. It could be non-renewing or renewing.", "isDeprecated": false, "deprecationReason": null }, { "name": "CANCELLED", "description": "Cancelled subscription purchase.", "isDeprecated": false, "deprecationReason": null }, { "name": "INACTIVE", "description": "Inactive subscription purchase. User's subscription benefit from the original purchase has ended\nand has not renewed.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "SupportedPlatform", "description": "Platform information for a game.\nNOTE: Should have been named GameSupportedPlatform.\nFor Commerce.", "fields": [ { "name": "iconURL", "description": "URL of an icon for this platform.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "name", "description": "Name of the platform.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "SystemRequirement", "description": "SystemRequirement aggregates information about the hardware and software needed to run the product.\nFor Commerce.", "fields": [ { "name": "directXVersion", "description": "The required Direct X version.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "hardDriveSpace", "description": "The required available hard drive space.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "osVersion", "description": "The supported operating system versions.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "other", "description": "Misc requirements.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "processor", "description": "The suggested processors.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "ram", "description": "The suggested amount of RAM.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "videoCard", "description": "The suggested video cards.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "TOSBanCommunityInput", "description": null, "fields": null, "inputFields": [ { "name": "communityID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "TOSBanCommunityPayload", "description": null, "fields": [ { "name": "community", "description": "The community that was tos banned.", "args": [], "type": { "kind": "OBJECT", "name": "Community", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "TaxInterview", "description": "TaxInterview describes the information for a user's Amazon tax interview during payout onboarding.", "fields": [ { "name": "accountID", "description": "Amazon tax interview account ID.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "clientID", "description": "Amazon tax interview client ID.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "governmentAlias", "description": "Legal name of the user completing the Amazon tax interview.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "locale", "description": "The preferred locale for user in the accepted format to initate the Amazon tax interview (e.g. \"en_US\").", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "signature", "description": "Unique signature to initiate the Amazon tax interview.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": "The type of Amazon tax interview.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "TaxInterviewType", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "url", "description": "The URL for user to begin their Amazon tax interview.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "TaxInterviewType", "description": "TaxInterviewType enumerates valid Amazon tax interview types.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "ROYALTY", "description": "Describes an Amazon tax interview that would allow users to receive royalty income through licensed content.", "isDeprecated": false, "deprecationReason": null }, { "name": "SERVICE", "description": "Describes an Amazon tax interview that would allow users to receive income for their goods and services.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "TaxMismatchError", "description": "TaxMismatchError enumerates valid registration and tax interview field names for payout onboarding.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "NAME", "description": "Applied when the user submits a name that does not match the name on their registration.\nIf provided, the company name will be compared intead of the user's full legal name.", "isDeprecated": false, "deprecationReason": null }, { "name": "COUNTRY", "description": "Applied when the user submits a country that does not match the country on their registration.", "isDeprecated": false, "deprecationReason": null }, { "name": "EMAIL", "description": "Applied when the user submits an email that does not match the email on their registration.", "isDeprecated": false, "deprecationReason": null }, { "name": "STREET_ADDRESS", "description": "Applied when the user submits a street address that does not match the street address on their registration.", "isDeprecated": false, "deprecationReason": null }, { "name": "STREET_ADDRESS_2", "description": "Applied when the user submits a street address 2 that does not match the street address 2 on their registration.", "isDeprecated": false, "deprecationReason": null }, { "name": "CITY", "description": "Applied when the user submits a city that does not match the city on their registration.", "isDeprecated": false, "deprecationReason": null }, { "name": "STATE", "description": "Applied when the user submits a state that does not match the state on their registration.", "isDeprecated": false, "deprecationReason": null }, { "name": "POSTAL", "description": "Applied when the user submits a postal that does not match the postal on their registration.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "Team", "description": "Stream team details.", "fields": [ { "name": "displayName", "description": "Display version of the team name.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "name", "description": "The alphanumeric Twitch name of the team.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ThumbnailOEmbed", "description": null, "fields": [ { "name": "height", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "url", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "width", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "SCALAR", "name": "Time", "description": "RFC3339 timestamp.\nFor example \"2015-07-22T21:41:14Z\".", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "TimeoutUserFromCommunityError", "description": "TimeoutUserFromCommunityError is the error code while timing out a user from a community.\nNOTE: Should have been named TimeoutUserFromCommunityErrorCode.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "TARGET_USER_OWNER", "description": "User is unauthorized to timeout the community's owner.", "isDeprecated": false, "deprecationReason": null }, { "name": "TARGET_USER_MOD", "description": "User is unauthorized to timeout a community moderator.", "isDeprecated": false, "deprecationReason": null }, { "name": "TARGET_USER_SELF", "description": "User attempts to timeout themselves.", "isDeprecated": false, "deprecationReason": null }, { "name": "TARGET_USER_STAFF", "description": "User attempts to timeout a Twitch Staff member.", "isDeprecated": false, "deprecationReason": null }, { "name": "NOT_PERMITTED", "description": "User is not permitted to timeout users from this community.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "TimeoutUserFromCommunityInput", "description": null, "fields": null, "inputFields": [ { "name": "communityID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "durationHours", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "defaultValue": null }, { "name": "reason", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "userID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "TimeoutUserFromCommunityPayload", "description": null, "fields": [ { "name": "community", "description": "The community the user was timed out from.", "args": [], "type": { "kind": "OBJECT", "name": "Community", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "error", "description": "An error code.", "args": [], "type": { "kind": "ENUM", "name": "TimeoutUserFromCommunityError", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "user", "description": "The user that was timed out.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "UNION", "name": "TimetableChildEvent", "description": "TimetableChildEvent defines the types of sub-events that a TimetableEvent may contain.\nNOTE: Clients should be resilient to TimetableChildEvent including new types in the future.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": null, "possibleTypes": [ { "kind": "OBJECT", "name": "SegmentEvent", "ofType": null } ] }, { "kind": "OBJECT", "name": "TimetableChildEventConnection", "description": "Paginated list of sub-events that are part of a TimetableEvent.", "fields": [ { "name": "edges", "description": null, "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TimetableChildEventEdge", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "TimetableChildEventEdge", "description": null, "fields": [ { "name": "cursor", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": null, "args": [], "type": { "kind": "UNION", "name": "TimetableChildEvent", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "TimetableEvent", "description": "TimetableEvent describes an event that comprises of a collection of closely related sub-events.\nTimetableEvent would be good at representing:\n * A gaming event like \"Awesome Games Done Quick 2018\" which each run is its own piece of content that can\n be represented by a SegmentEvent\n * A conference like \"TwitchCon 2017\" where each panel is its own piece of content that can be represented\n by a SegmentEvent.", "fields": [ { "name": "channels", "description": "The channels where this event's children will be broadcast.\nThe channels will be returned in descending order by their associated events' popularity.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "UserConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "children", "description": "The sub events that make up this Timetable event.\nNote that this connection supports both forwards and backwards pagination. Clients must supply the \"first\" and\n\"after\" params to page forwards, or \"last\" and \"before\" to page backwards.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "last", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "criteria", "description": null, "type": { "kind": "INPUT_OBJECT", "name": "EventConnectionCriteriaInput", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "TimetableChildEventConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createdAt", "description": "When this event was created.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": "The description of this event.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "endAt", "description": "The time that this event ends.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "games", "description": "The games that will be played during this event.\nThe games will be returned in descending order by their associated events' popularity.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "GameConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The Event's unique identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "imageID", "description": "The chosen image ID for this event.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "imageURL", "description": "The URL or a URL template to the cover image for this event.\nAn optional width and height can be given to specify the dimension of the image in pixels.\nIf left unspecified, this field will be a URL template with {width} and {height} placeholders\nthat the client can replace to create a functional URL.\nWhen width and height are given, this field is a full URL to the image.\nThe image is first scaled to maintain its aspect ratio, then cropped to fit the given dimensions.", "args": [ { "name": "width", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "height", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "language", "description": "The language that this event is being run in.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "Language", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "owner", "description": "The user who owns this event.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "self", "description": "The authenticated user's relationship with this event.", "args": [], "type": { "kind": "OBJECT", "name": "EventSelfConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "startAt", "description": "The time that this event starts.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "stats", "description": "The stats about engagement with this event.", "args": [], "type": { "kind": "OBJECT", "name": "EventStats", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "The title of this event.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "updatedAt", "description": "When this event was last modified.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "DeprecatedEvent", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "ToggleRitualsEnabledInput", "description": null, "fields": null, "inputFields": [ { "name": "channelID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "isEnabled", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ToggleRitualsEnabledPayload", "description": null, "fields": [ { "name": "isEnabled", "description": "Whether the rituals feature is enabled for a channel.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "user", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Tournament", "description": "Tournament is an object that contains all information about a tournament\nmanaged within Bits for a specific event tied to cheering.\nNOTE: Should have been named CheeringTournament.", "fields": [ { "name": "globalLeaderboard", "description": "Leaderboard of all users who have cheered in the tournament.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BitsLeaderboard", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "Event ID of the tournament.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "progress", "description": "The list of global milestones that can be claimed in the tournament.\nFor a given threshold, this milestone is reached when cheers from all users on the channel\nis greater than or equal to the threshold. This unlocks a reward for all users who have cheered.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TournamentProgress", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "rewards", "description": "The list of rewards that are a part of the tournament. This is separated out into global, participant, and individual\nrewards that can be claimed if the user is logged in.", "args": [], "type": { "kind": "OBJECT", "name": "TournamentRewards", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "self", "description": "The list of individual milestones that can be claimed in the tournament.\nfor a given threshold, this milestone is reached when an individual user's total cheers in\nthe channel is greater than or equal to the threshold. This unlocks a reward\nfor the individual user who cheered.", "args": [], "type": { "kind": "OBJECT", "name": "TournamentSelfEdge", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "teamLeaderboard", "description": "Leaderboard of all teams who have been cheered for in the tournament. This leaderboard contains how much each team\nin the tournament was cheered for.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "BitsLeaderboard", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "teams", "description": "The list of teams participating in the tournament.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "TournamentTeam", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "TournamentInsiderRewards", "description": "Contains all rewards information about the Insider rewards.", "fields": [ { "name": "badges", "description": "Twitch chat badge rewards.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TournamentReward", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "heroSkins", "description": "Hero skin rewards.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TournamentReward", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "inGameContent", "description": "In Game Content rewards, like sprays and avatars (non-hero skin rewards).", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TournamentReward", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "TournamentProgress", "description": "Describes the amount of progress that has been made in a tournament, with corresponding milestones about said progress.", "fields": [ { "name": "amount", "description": "The amount of progress that has been made in the tournament. This is not exclusive to cheering in the channel.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "milestones", "description": "The milestones associated with the progress made. This is a list of rewards the progress value will unlock.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Milestone", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "TournamentReward", "description": "Type containing information about a Reward and claiming information.", "fields": [ { "name": "canBeFulfilled", "description": "Can this reward be entitled to the user.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": "The reward's description.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The ID of the reward.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "imageURL", "description": "The reward's display image URL.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isEntitled", "description": "The state of the reward is entitled to the user.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "name", "description": "The display name of the reward.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": "The type of reward (ex. Twitch Emote, In Game Content).", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "TournamentRewards", "description": "This type holds all information about rewards that are associated with a tournament. The struct parses out\nwhich rewards are Global, Team, and Individual, as well as if you're logged in that status if you can claim the reward.", "fields": [ { "name": "global", "description": "The list of Global rewards. If the user is logged in, this will also show the claim status of the reward.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TournamentReward", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "individual", "description": "The list of Individual rewards. If the user is logged in, this will also show the claim status of the reward.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TournamentReward", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "insider", "description": "The list of Insider rewards, which are granted when one subscribes to the insider pass.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TournamentInsiderRewards", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "team", "description": "The list of Team rewards. If the user is logged in, this will also show the claim status of the reward.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TournamentReward", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "TournamentSelfEdge", "description": "Tournament progress related to a user.", "fields": [ { "name": "globalLeaderboardItem", "description": "The leaderboard entry of the user. Gives the current position and score.", "args": [], "type": { "kind": "OBJECT", "name": "BitsLeaderboardItem", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "progress", "description": "Amount of progress a user had made towards the tournament personally. This could be a combination of factors,\nincluding bits cheered in the channel.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TournamentProgress", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "teams", "description": "A list of the amount of bits a user has cheered for a certain team, as well as the\nlist of milestones that the user could claim with their claim status.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "TournamentTeam", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "TournamentTeam", "description": "Team is a construct that contains metadata about a team participating in the tournament,\nas well as the milestones associated with cheering for them.", "fields": [ { "name": "division", "description": "The division of the team. This string is set by the tournament organizer. (NA, CN, Atlantic League, etc.).", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The ID of the team.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "logoURL", "description": "The image URL of the team.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "name", "description": "Name of the team.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "TrueXAd", "description": "TrueXAd is descriptive information about an engagement that was show for bits.\nUsed as input on the redeem trueXAd mutation.", "fields": null, "inputFields": [ { "name": "campaignID", "description": "campaignID is the ID of the campaign this ad belongs to.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "creativeID", "description": "creativeID is the ID of the particular ad experience displayed to the user.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "currencyAmount", "description": "currencyAmount is the suggested amount of \"currency\" to provide to the user based on this ad.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "name", "description": "name is the name of the ad campaign.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UnbanUserFromChatRoomError", "description": null, "fields": [ { "name": "code", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "UnbanUserFromChatRoomErrorCode", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "UnbanUserFromChatRoomErrorCode", "description": null, "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "FORBIDDEN", "description": "User does not have permission to unban in channel.", "isDeprecated": false, "deprecationReason": null }, { "name": "TARGET_NOT_FOUND", "description": "Target does not exist.", "isDeprecated": false, "deprecationReason": null }, { "name": "TARGET_NOT_BANNED", "description": "Target is not banned in channel.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UnbanUserFromChatRoomInput", "description": null, "fields": null, "inputFields": [ { "name": "bannedUserLogin", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "channelID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UnbanUserFromChatRoomPayload", "description": null, "fields": [ { "name": "ban", "description": "The new ban status of this user regarding the specified channel.", "args": [], "type": { "kind": "OBJECT", "name": "ChatRoomBanStatus", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "error", "description": "Mutation error caused by the user input.", "args": [], "type": { "kind": "OBJECT", "name": "UnbanUserFromChatRoomError", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UnbanUserFromCommunityInput", "description": null, "fields": null, "inputFields": [ { "name": "communityID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "userID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UnbanUserFromCommunityPayload", "description": null, "fields": [ { "name": "community", "description": "The community the user was banned from.", "args": [], "type": { "kind": "OBJECT", "name": "Community", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "user", "description": "The user that was banned.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UnblockUserInput", "description": null, "fields": null, "inputFields": [ { "name": "targetUserID", "description": "ID of user to unblock.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UnblockUserPayload", "description": null, "fields": [ { "name": "targetUser", "description": "User that was unblocked.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "User", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UnfollowCommunityInput", "description": null, "fields": null, "inputFields": [ { "name": "communityID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UnfollowCommunityPayload", "description": null, "fields": [ { "name": "community", "description": "The community that was unfollowed.", "args": [], "type": { "kind": "OBJECT", "name": "Community", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "follow", "description": "The deleted follow relationship.", "args": [], "type": { "kind": "OBJECT", "name": "CommunityFollow", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UnfollowDeprecatedEventPayload", "description": "The result of an unfollowDeprecatedEvent mutation.", "fields": [ { "name": "event", "description": "The event that was unfollowed.", "args": [], "type": { "kind": "INTERFACE", "name": "DeprecatedEvent", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UnfollowEventInput", "description": "The required input for an unfollowEvent mutation.", "fields": null, "inputFields": [ { "name": "eventID", "description": "ID of the event that the user is to unfollow.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UnfollowEventPayload", "description": "The result of an unfollowEvent mutation.", "fields": [ { "name": "event", "description": "The event that was unfollowed.", "args": [], "type": { "kind": "UNION", "name": "Event", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UnfollowGameInput", "description": "UnfollowGameInput contains just the game ID of the game to unfollow.", "fields": null, "inputFields": [ { "name": "gameID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UnfollowGamePayload", "description": "UnfollowGamePayload is the response from unfollowing a game.", "fields": [ { "name": "follow", "description": "The deleted follow relationship, if one existed beforehand.", "args": [], "type": { "kind": "OBJECT", "name": "GameFollow", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "game", "description": "The game that was unfollowed\ngame.self.follow should now be null.", "args": [], "type": { "kind": "OBJECT", "name": "Game", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UnfollowUserInput", "description": null, "fields": null, "inputFields": [ { "name": "targetID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UnfollowUserPayload", "description": null, "fields": [ { "name": "follow", "description": "The deleted follow relationship.", "args": [], "type": { "kind": "OBJECT", "name": "Follow", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UnfriendUserInput", "description": null, "fields": null, "inputFields": [ { "name": "targetID", "description": "The authenticated user will no longer be friends with the user whose ID is equal to targetID.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UnfriendUserPayload", "description": null, "fields": [ { "name": "user", "description": "The user whose friend relationship was just destroyed by the authenticated user.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UninstallExtensionInput", "description": "The required input for an uninstallExtension mutation.", "fields": null, "inputFields": [ { "name": "extensionInstallationID", "description": "The composite ID of an extension installation .", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UninstallExtensionPayload", "description": "The resulting payload of an uninstallExtension mutation.", "fields": [ { "name": "id", "description": "The id of the extension which was uninstalled.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UnlinkSSOInput", "description": null, "fields": null, "inputFields": [ { "name": "app", "description": "The single sign-on (SSO) app that should be unlinked from the authenticated user's account.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "token", "description": "The token that identifies the user on the linked SSO app.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UnlinkSSOPayload", "description": null, "fields": [ { "name": "links", "description": "The deleted SSO links.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SSOLink", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UnmodUserError", "description": "ModUserError contains details about a client error that occurred.", "fields": [ { "name": "code", "description": "The enum indicating what error has occurred.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "UnmodUserErrorCode", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "UnmodUserErrorCode", "description": "UnmodUserErrorCode defines a client error that occurred while remove a moderator.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "FORBIDDEN", "description": "The requesting user does not have permission to add a moderator in this channel.", "isDeprecated": false, "deprecationReason": null }, { "name": "TARGET_NOT_FOUND", "description": "The target user does not exist or has a suspended account.", "isDeprecated": false, "deprecationReason": null }, { "name": "CHANNEL_NOT_FOUND", "description": "The channel does not exist.", "isDeprecated": false, "deprecationReason": null }, { "name": "TARGET_NOT_MOD", "description": "The target user is not a moderator.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UnmodUserInput", "description": "UnmodUserInput contains the parameters to remove a user as a moderator to a channel.", "fields": null, "inputFields": [ { "name": "channelID", "description": "The channel that the user will be removed as a moderator to.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "targetID", "description": "The ID of the user that will be removed as a moderator.\nEither targetID or targetLogin must be provided.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "targetLogin", "description": "The login of the user that will be removed as a moderator.\nEither targetID or targetLogin must be provided.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UnmodUserPayload", "description": "UnmodUserPayload is the response when remove a user as a moderator.", "fields": [ { "name": "channel", "description": "The channel that the user is removed as a moderator to.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "error", "description": "The client error that has occurred.\nNull if the operation is successful.", "args": [], "type": { "kind": "OBJECT", "name": "UnmodUserError", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "target", "description": "The user that is removed as a moderator.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UnsubscribeEmailInput", "description": "Input to the unsubscribe mutation. One of \"channel\" or \"type\" fields must be provided.", "fields": null, "inputFields": [ { "name": "sourceEmailID", "description": "The unique ID of the origin email.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "sourceEmailType", "description": "The email type of the origin email.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "targetChannelID", "description": "ID of the channel whose notifications should be blocked.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "targetEmailType", "description": "The email type from which the user is unsubscribing.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "userID", "description": "ID of the user requesting the unsubscribe action.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "validatingHash", "description": "Server signature to verify authenticity of the link author.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UnsubscribeEmailPayload", "description": "Output from the unsubscribe mutation.", "fields": [ { "name": "isSuccess", "description": "Specifies whether the action was successful.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UntimeoutUserFromCommunityInput", "description": null, "fields": null, "inputFields": [ { "name": "communityID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "userID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UntimeoutUserFromCommunityPayload", "description": null, "fields": [ { "name": "community", "description": "The community the user was timed out from.", "args": [], "type": { "kind": "OBJECT", "name": "Community", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "user", "description": "The user that was timed out.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateAllWhisperThreadsInput", "description": null, "fields": null, "inputFields": [ { "name": "markAllAsRead", "description": null, "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdateAllWhisperThreadsPayload", "description": null, "fields": [ { "name": "count", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateAutoModPropertiesInput", "description": null, "fields": null, "inputFields": [ { "name": "aggressiveLevel", "description": "These fields should be values between 0 and 4 inclusive.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "defaultValue": null }, { "name": "channelID", "description": "String ID of the channel AutoModProperties are being updated for.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "identityLevel", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "defaultValue": null }, { "name": "profanityLevel", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "defaultValue": null }, { "name": "sexualLevel", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdateAutoModPropertiesPayload", "description": null, "fields": [ { "name": "autoModProperties", "description": "The new properties after applying the mutation.", "args": [], "type": { "kind": "OBJECT", "name": "AutoModProperties", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateBroadcastSettingsInput", "description": "The required input for a updateBroadcastSettings mutation.", "fields": null, "inputFields": [ { "name": "isMature", "description": "The isMature boolean to set onto the user broadcast.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null }, { "name": "userID", "description": "The Id of the user whose broadcast setting is being updated.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdateBroadcastSettingsPayload", "description": "The result of a updateBroadcastSettings mutation.", "fields": [ { "name": "broadcastSettings", "description": "The modified broadcast settings.", "args": [], "type": { "kind": "OBJECT", "name": "BroadcastSettings", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateChatColorInput", "description": null, "fields": null, "inputFields": [ { "name": "color", "description": "Named color for normal users (e.g. \"Blue\" or \"Coral\", see https://help.twitch.tv/customer/portal/articles/659095-twitch-chat-and-moderation-commands)\nor a hex color for Turbo users (e.g. \"#001122\").", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdateChatColorPayload", "description": null, "fields": [ { "name": "user", "description": "The user whose chat color was set.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateChatSettingsInput", "description": "Possible chat settings modifiable for the channel specified via ChannelID.", "fields": null, "inputFields": [ { "name": "autoModLevel", "description": "autoModLevel is an integer from 0-4 representing the level of automoderation of chat\n0 is off, 4 is the highest level of moderation.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "channelID", "description": "ID of the channel for which chat settings are being updated.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "chatDelayInMs", "description": "chatDelayInMs is the delay before non-mods see a message.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "hideLinks", "description": "hideLinks indicates if links should be deleted from non-mod messages.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null }, { "name": "isBroadcasterLanguageModeEnabled", "description": "isBroadcasterLanguageModeEnabled indicates if the broadcaster requires chat messages to\nmatch their language.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null }, { "name": "isOptedOutOfGlobalBannedWordsList", "description": "If isOptedOutOfGlobalBannedWordsList is true, the legacy twitch banned words list will\nbe inserted into automod if the channel has automod enabled.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null }, { "name": "requireVerifiedAccount", "description": "requireVerifiedAccount indicates if users must be verified to chat.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null }, { "name": "rules", "description": "rules is a list of rules to display to users when joining a chat channel.", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdateChatSettingsPayload", "description": "Result of mutation is the updated ChatSettings object.", "fields": [ { "name": "chatSettings", "description": "The new chatSettings after applying the mutation.", "args": [], "type": { "kind": "OBJECT", "name": "ChatSettings", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateCheerPartnerSettingsChatMessageInput", "description": "Partner settings related to chat messages with bits.", "fields": null, "inputFields": [ { "name": "minBitsPerEmote", "description": "The minimnm setting that controls the minimum bits that must be part of a cheer emote.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "minBitsToCheer", "description": "The minimum setting that controls the minimum amount a user must cheer in the channel.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateCheerPartnerSettingsCustomPrefixInput", "description": "Partner settings related to the custom cheermote prefix.", "fields": null, "inputFields": [ { "name": "isEnabled", "description": "Flag that is set if the user has the custom cheermote prefix enabled.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateCheerPartnerSettingsInput", "description": "Mutation input for updating Bits partner channel settings.", "fields": null, "inputFields": [ { "name": "chatMessage", "description": "Partner settings related to chat messages with bits.", "type": { "kind": "INPUT_OBJECT", "name": "UpdateCheerPartnerSettingsChatMessageInput", "ofType": null }, "defaultValue": null }, { "name": "customPrefix", "description": "Partner settings related to the custom cheermote prefix.", "type": { "kind": "INPUT_OBJECT", "name": "UpdateCheerPartnerSettingsCustomPrefixInput", "ofType": null }, "defaultValue": null }, { "name": "leaderboard", "description": "Partner settings related to the bits leaderboard.", "type": { "kind": "INPUT_OBJECT", "name": "UpdateCheerPartnerSettingsLeaderboardInput", "ofType": null }, "defaultValue": null }, { "name": "recentCheer", "description": "Partner settings related to the recent cheer message.", "type": { "kind": "INPUT_OBJECT", "name": "UpdateCheerPartnerSettingsRecentCheerInput", "ofType": null }, "defaultValue": null }, { "name": "userID", "description": "The user ID to update channel settings.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateCheerPartnerSettingsLeaderboardInput", "description": "Partner settings related to the bits leaderboard.", "fields": null, "inputFields": [ { "name": "isEnabled", "description": "Flag that is true if the user has bits leaderboards turned on.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null }, { "name": "timePeriod", "description": "The time period the user wants the leaderboard to be displayed as.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdateCheerPartnerSettingsPayload", "description": "Result of mutation is the updated UserSettings object.", "fields": [ { "name": "cheer", "description": "The updated user settings object.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "CheerPartnerSettings", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateCheerPartnerSettingsRecentCheerInput", "description": "Partner settings related to the recent cheer message.", "fields": null, "inputFields": [ { "name": "canPin", "description": "Flag that when true pins the recent cheer to their channel.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null }, { "name": "minimumBits", "description": "The minimum bits a user must cheer to show their cheer on the chat header.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "timeoutMilliseconds", "description": "The amount of time a recent cheer is shown before being dismissed.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdateClipError", "description": "UpdateClipError is an error associated with the updateClip mutation.", "fields": [ { "name": "message", "description": "The error when the clip fails to update a clip.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateClipInput", "description": "UpdateClipInput updates the title of the clip with the provided slug.", "fields": null, "inputFields": [ { "name": "slug", "description": "The slug of the clip to update.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "title", "description": "The new title of the clip.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdateClipPayload", "description": "UpdateClipPayload returns the updated clip.", "fields": [ { "name": "clip", "description": "The clip with its updated properties.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Clip", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "error", "description": "The error when the clip fails to update a clip.", "args": [], "type": { "kind": "OBJECT", "name": "UpdateClipError", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateClipViewCountInput", "description": "UpdateClipViewCountInput increments the viewcount of the provided slug.", "fields": null, "inputFields": [ { "name": "slug", "description": "The slug of the clip to increment viewcount on.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdateClipViewCountPayload", "description": "UpdateClipViewCount returns the clip that was updated.", "fields": [ { "name": "clip", "description": "The clip that was updated.\nThe views field is the only field that is updated, and the change is not reflected immediately.", "args": [], "type": { "kind": "OBJECT", "name": "Clip", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateCollectionInput", "description": "UpdateCollectionInput accepts a collection ID and parameters to update a collection.", "fields": null, "inputFields": [ { "name": "collectionID", "description": "The id of the collection to be updated.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "thumbnailInput", "description": "The itemID of the item whose thumbnail will be collection's thumbnail.", "type": { "kind": "INPUT_OBJECT", "name": "UpdateCollectionThumbnailInput", "ofType": null }, "defaultValue": null }, { "name": "title", "description": "The updated title of the collection.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdateCollectionPayload", "description": "UpdateCollectionPayload resolves the updated collection.", "fields": [ { "name": "collection", "description": "The collection that was just updated.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Collection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateCollectionThumbnailInput", "description": "UpdateCollectionThumbnailInput accepts a item ID and item Type for the new collection's thumbnail.", "fields": null, "inputFields": [ { "name": "id", "description": "The id of the item whose thumbnail will be collection's thumbnail.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "type", "description": "The type of the item whose thumbnail will be collection's thumbnail.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateEventBroadcastNotificationsInput", "description": "Input for mutation to modify a user's settings about notifications for an event broadcast.", "fields": null, "inputFields": [ { "name": "emailEnabled", "description": "Whether you want email notifications about this event broadcast.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null }, { "name": "eventID", "description": "ID of the event broadcast you want to follow.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdateEventBroadcastNotificationsPayload", "description": "Response payload for the mutation to follow an event broadcast.", "fields": [ { "name": "eventBroadcast", "description": "The event that you are following.", "args": [], "type": { "kind": "OBJECT", "name": "EventBroadcast", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateIsSharingActivityInput", "description": "Updates the user's activity sharing setting. This must only be sent in response to a direct action by the user\nintended to change the setting.", "fields": null, "inputFields": [ { "name": "isSharingActivity", "description": "Determines whether or not to show the user's activity in their shared status. When false, the user will always\nappear as if they are performing no activity.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdateIsSharingActivityPayload", "description": null, "fields": [ { "name": "user", "description": "The modified user.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateOnboardingSkippedChannelsInput", "description": "Used for mutating onboarding status.", "fields": null, "inputFields": [ { "name": "channelIDs", "description": "List of channels the user skips during the onboarding process.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } } } }, "defaultValue": null }, { "name": "userID", "description": "ID for the user to update.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdateOnboardingSkippedChannelsPayload", "description": "Returned after onboarding state is mutated.", "fields": [ { "name": "user", "description": "Current state of the given user.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdatePanelInput", "description": null, "fields": null, "inputFields": [ { "name": "description", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "id", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "imageURL", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "linkURL", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "slotID", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "title", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdatePanelPayload", "description": null, "fields": [ { "name": "panel", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INTERFACE", "name": "Panel", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdatePremiereEventInput", "description": "Inputs to the updatePremiereEvent mutation.", "fields": null, "inputFields": [ { "name": "coverImageID", "description": "New ID of the cover image to be displayed,\nan empty string if the default image should be used,\nor null if the cover image ID should not be updated.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "defaultTimeZone", "description": "New default time zone that this event's times should be displayed in, or null if the\ntime zone should not be updated.\nIf specified, defaultTimeZone is expected to be a tz database time zone name. E.g. America/New_York.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "description", "description": "New description for the event, or null if the description should not be updated.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "endAt", "description": "New end time of the event, or null if the end time should not be updated.", "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "defaultValue": null }, { "name": "gameID", "description": "New ID of the game that will be played, or null if the game ID should not be updated.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "id", "description": "ID of the Premiere event that should be updated.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "language", "description": "New language that the event will be run in, or null if the language should not be updated.", "type": { "kind": "ENUM", "name": "Language", "ofType": null }, "defaultValue": null }, { "name": "startAt", "description": "New start time of the event, or null if the start time should not be updated.", "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "defaultValue": null }, { "name": "title", "description": "New title for event, or null if the title should not be updated.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdatePremiereEventPayload", "description": "Output from the updatePremiereEvent mutation.", "fields": [ { "name": "event", "description": "The event that was updated.", "args": [], "type": { "kind": "OBJECT", "name": "EventLeaf", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdatePrimeSettingsInput", "description": "UpdatePrimeSettingsInput contains boolean for setting the users preference on chat notifications,\nand the users preference on the emoticon set name to be selected.", "fields": null, "inputFields": [ { "name": "primeEmoticonsSetName", "description": "The Prime Emoticons Set Name for Prime Emoticons Smilies.", "type": { "kind": "ENUM", "name": "PrimeEmoticonsSetName", "ofType": null }, "defaultValue": null }, { "name": "shouldEnableSubCreditChatNotification", "description": "True or False for whether the user wants notifications enabled.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null }, { "name": "userID", "description": "The ID of the user who's settings are being updated.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdatePrimeSettingsPayload", "description": "Data that was mutated.", "fields": [ { "name": "primeSettings", "description": "The mutated PrimeSettings.", "args": [], "type": { "kind": "OBJECT", "name": "PrimeSettings", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdateRoomError", "description": null, "fields": [ { "name": "code", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "UpdateRoomErrorCode", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "maxLength", "description": "On NAME_LENGTH_INVALID, TOPIC_LENGTH_INVALID: Maximum number of characters.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "minLength", "description": "On NAME_LENGTH_INVALID, TOPIC_LENGTH_INVALID: Minimum number of characters.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "UpdateRoomErrorCode", "description": null, "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "FORBIDDEN", "description": "User does not have permission to update room.", "isDeprecated": false, "deprecationReason": null }, { "name": "ROOM_NOT_FOUND", "description": "Could not find a room with the given room ID.", "isDeprecated": false, "deprecationReason": null }, { "name": "NAME_LENGTH_INVALID", "description": "Name too short or too long.", "isDeprecated": false, "deprecationReason": null }, { "name": "NAME_CONTAINS_INVALID_CHARACTERS", "description": "Name contains invalid characters (e.g. spaces).", "isDeprecated": false, "deprecationReason": null }, { "name": "NAME_INAPPROPRIATE", "description": "Name failed automod check.", "isDeprecated": false, "deprecationReason": null }, { "name": "NAME_NOT_UNIQUE", "description": "Name was not unique to channel.", "isDeprecated": false, "deprecationReason": null }, { "name": "TOPIC_LENGTH_INVALID", "description": "Topic too short or too long.", "isDeprecated": false, "deprecationReason": null }, { "name": "TOPIC_INAPPROPRIATE", "description": "Topic failed automod check.", "isDeprecated": false, "deprecationReason": null }, { "name": "ROLES_INVALID", "description": "Invalid roles specified (e.g. a more permissive role for send than read).", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateRoomInput", "description": null, "fields": null, "inputFields": [ { "name": "isPreviewable", "description": "Deprecated. Use minimumReadMessagesRole instead.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null }, { "name": "minimumAllowedRole", "description": "Deprecated. Use minimumReadMessagesRole and minimumSendMessagesRole instead.", "type": { "kind": "ENUM", "name": "RoomRole", "ofType": null }, "defaultValue": null }, { "name": "minimumReadMessagesRole", "description": "Minimum role required to read messages in the room.", "type": { "kind": "ENUM", "name": "RoomRole", "ofType": null }, "defaultValue": null }, { "name": "minimumSendMessagesRole", "description": "Minimum role required to send messages in the room.", "type": { "kind": "ENUM", "name": "RoomRole", "ofType": null }, "defaultValue": null }, { "name": "name", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "roomID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "topic", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdateRoomModesError", "description": null, "fields": [ { "name": "code", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "UpdateRoomModesErrorCode", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "maximumSlowModeDurationSeconds", "description": "On SLOW_MODE_DURATION_INVALID: Maximum number of seconds slow mode can be set to.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "minimumSlowModeDurationSeconds", "description": "On SLOW_MODE_DURATION_INVALID: Minimum number of seconds slow mode can be set to.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "UpdateRoomModesErrorCode", "description": null, "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "ROOM_NOT_FOUND", "description": "RoomID referred to an invalid or the user does not have permissions to see the room.", "isDeprecated": false, "deprecationReason": null }, { "name": "FORBIDDEN", "description": "User did not have permission to update room modes.", "isDeprecated": false, "deprecationReason": null }, { "name": "SLOW_MODE_DURATION_INVALID", "description": "Slow mode duration was too short, too long, or not a number.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateRoomModesInput", "description": null, "fields": null, "inputFields": [ { "name": "enableEmotesOnlyMode", "description": "Turns emotes only mode on or off.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null }, { "name": "enableR9KMode", "description": "Turns r9k mode on or off.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null }, { "name": "enableSlowMode", "description": "Turns slow mode on or off.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null }, { "name": "roomID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "slowModeDurationSeconds", "description": "If slow mode enabled, the number of seconds users must wait between messages.", "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdateRoomModesPayload", "description": null, "fields": [ { "name": "error", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "UpdateRoomModesError", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "room", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "Room", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdateRoomPayload", "description": null, "fields": [ { "name": "error", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "UpdateRoomError", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "room", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "Room", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateRoomViewInput", "description": null, "fields": null, "inputFields": [ { "name": "isArchived", "description": null, "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null }, { "name": "isMuted", "description": null, "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null }, { "name": "lastReadAt", "description": null, "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "defaultValue": null }, { "name": "roomID", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdateRoomViewPayload", "description": null, "fields": [ { "name": "roomView", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "RoomView", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateSegmentEventInput", "description": "Inputs to the updateSegmentEvent mutation.", "fields": null, "inputFields": [ { "name": "coverImageID", "description": "New ID of the cover image to be displayed,\nan empty string if the default image should be used,\nor null if the cover image ID should not be updated.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "description", "description": "New description for the event, or null if the description should not be updated.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "endAt", "description": "New end time of the event, or null if the end time should not be updated.", "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "defaultValue": null }, { "name": "gameID", "description": "New ID of the game that will be played, or null if the game ID should not be updated.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "id", "description": "ID of the Segment event that should be updated.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "startAt", "description": "New start time of the event, or null if the start time should not be updated.", "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "defaultValue": null }, { "name": "title", "description": "New title for event, or null if the title should not be updated.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdateSegmentEventPayload", "description": "Output from the updateSegmentEvent mutation.", "fields": [ { "name": "event", "description": "The event that was updated.", "args": [], "type": { "kind": "OBJECT", "name": "EventLeaf", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateSingleEventInput", "description": "Inputs to the updateSingleEvent mutation.", "fields": null, "inputFields": [ { "name": "coverImageID", "description": "New ID of the cover image to be displayed,\nan empty string if the default image should be used,\nor null if the cover image ID should not be updated.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "defaultTimeZone", "description": "New default time zone that this event's times should be displayed in, or null if the\ntime zone should not be updated.\nIf specified, defaultTimeZone is expected to be a tz database time zone name. E.g. America/New_York.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "description", "description": "New description for the event, or null if the description should not be updated.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "endAt", "description": "New end time of the event, or null if the end time should not be updated.", "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "defaultValue": null }, { "name": "gameID", "description": "New ID of the game that will be played, or null if the game ID should not be updated.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "id", "description": "ID of the Single event that should be updated.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "language", "description": "New language that the event will be run in, or null if the language should not be updated.", "type": { "kind": "ENUM", "name": "Language", "ofType": null }, "defaultValue": null }, { "name": "startAt", "description": "New start time of the event, or null if the start time should not be updated.", "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "defaultValue": null }, { "name": "title", "description": "New title for event, or null if the title should not be updated.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdateSingleEventPayload", "description": "Output from the updateSingleEvent mutation.", "fields": [ { "name": "event", "description": "The event that was updated.", "args": [], "type": { "kind": "OBJECT", "name": "EventLeaf", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateSubscriptionProductInput", "description": "Inputs to the updateSubscriptionProduct mutation.", "fields": null, "inputFields": [ { "name": "displayName", "description": "Name of the product.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "hasAdFree", "description": "Toggle to enable add free viewing.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null }, { "name": "hasFastChat", "description": "Toggle to enable fast chat (or disable slow mode).", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null }, { "name": "hasSubOnlyChat", "description": "Toggle to enable sub only chat.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null }, { "name": "hasSubOnlyVideoArchive", "description": "Toggle to enable sub only video.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null }, { "name": "id", "description": "The id of the subscription product.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "targetUserID", "description": "User the update belongs to.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdateSubscriptionProductPayload", "description": "Output from the updateSubscriptionProduct mutation.", "fields": [ { "name": "product", "description": "Subscription product output.", "args": [], "type": { "kind": "OBJECT", "name": "SubscriptionProduct", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "targetUser", "description": "User/channel to update the subscription product.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateTimetableEventInput", "description": "Inputs to the updateTimetableEvent mutation.", "fields": null, "inputFields": [ { "name": "coverImageID", "description": "New ID of the cover image to be displayed,\nan empty string if the default image should be used,\nor null if the cover image ID should not be updated.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "defaultTimeZone", "description": "New default time zone that this event's times should be displayed in, or null if the\ntime zone should not be updated.\nIf specified, defaultTimeZone is expected to be a tz database time zone name. E.g. America/New_York.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "description", "description": "New description for the event, or null if the description should not be updated.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "id", "description": "ID of the Timetable event that should be updated.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "language", "description": "New language that the event will be run in, or null if the language should not be updated.", "type": { "kind": "ENUM", "name": "Language", "ofType": null }, "defaultValue": null }, { "name": "title", "description": "New title for event, or null if the title should not be updated.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdateTimetableEventPayload", "description": "Output from the updateTimetableEvent mutation.", "fields": [ { "name": "event", "description": "The event that was updated.", "args": [], "type": { "kind": "OBJECT", "name": "EventCollection", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateUserDirectoryHiddenInput", "description": "The required input for a updateUserDirectoryHidden mutation.", "fields": null, "inputFields": [ { "name": "IsDirectoryHidden", "description": "The directory hidden boolean to set onto the user.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdateUserDirectoryHiddenPayload", "description": "The result of a updateUserDirectoryHidden mutation.", "fields": [ { "name": "user", "description": "The modified user.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateUserSubscriptionSettingsInput", "description": "UpdateUserSubscriptionSettingsInput updates the users subscription settings.", "fields": null, "inputFields": [ { "name": "giftsInFollowedChannelsOnly", "description": "Whether the user only wants to receive gifts to channels they follow.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdateUserSubscriptionSettingsPayload", "description": "UpdateUserSubscriptionGiftSettingsPayload returns the user's current gift settings.", "fields": [ { "name": "subscriptionSettings", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "UserSubscriptionSettings", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateVideoCommentInput", "description": null, "fields": null, "inputFields": [ { "name": "commentID", "description": "ID of the comment being updated.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null }, { "name": "state", "description": "The state of the comment.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "VideoCommentState", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdateVideoCommentPayload", "description": null, "fields": [ { "name": "comment", "description": "The comment that was updated.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "VideoComment", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateVisibilityInput", "description": "The change that will be applied to the user's visibility. See VisibilityInput for details on the effects of each\nvalue.", "fields": null, "inputFields": [ { "name": "visibility", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "VisibilityInput", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdateVisibilityPayload", "description": null, "fields": [ { "name": "user", "description": "The modified user.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UpdateWhisperThreadInput", "description": null, "fields": null, "inputFields": [ { "name": "isArchived", "description": "Whether to archive the room.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null }, { "name": "isMuted", "description": "Whether to mute the room.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null }, { "name": "isSpam", "description": "Whether to mark the message as spam.", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null }, { "name": "lastReadMessageID", "description": "ID of last message read by the user.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "threadID", "description": "ID of thread to be marked as read.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UpdateWhisperThreadPayload", "description": null, "fields": [ { "name": "thread", "description": "Thread that was updated.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "WhisperThread", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "User", "description": "Twitch user.", "fields": [ { "name": "accountConnections", "description": "Information about a user's connected accounts.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "AccountConnectionSet", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "activity", "description": "The computed state of a user or session.\nThis special field only resolves for the authenticated user; use friends.edges.activity to retrieve this\ninformation about friends.\nRequires the `user_presence_friends_read` scope.", "args": [], "type": { "kind": "INTERFACE", "name": "Activity", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "amazon", "description": "The user's relationship with Amazon.", "args": [], "type": { "kind": "OBJECT", "name": "UserAmazonConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "amazonMarketplaces", "description": "amazonMarketplaces returns a list of Amazon marketplaces in which this user is active in.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "AmazonMarketplace", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "autoModProperties", "description": "AutoModProperties is a mapping of automod categories to levels, i.e. a user has indicated they want level 4, or\nthe highest level of moderation for profanity, but level 1 for everything else.", "args": [], "type": { "kind": "OBJECT", "name": "AutoModProperties", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "autohostChannels", "description": "The list of channel that this user has configured to automatically host\nwhen their channel is not streaming live. Users can only view their own\nautohost channels.", "args": [], "type": { "kind": "OBJECT", "name": "AutohostChannelConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "autohostSettings", "description": "Options and preferences for autohost behavior, including whether\nautohosting is enabled at all and how to choose which channel to host.\nUsers can only view their own autohost settings.", "args": [], "type": { "kind": "OBJECT", "name": "AutohostSettings", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "availability", "description": "An action that a user or session is performing.\nThis special field only resolves for the authenticated user; use friends.edges.availability to retrieve this\ninformation about friends..\nRequires the `user_presence_friends_read` scope.", "args": [], "type": { "kind": "ENUM", "name": "Availability", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "availableBadges", "description": "The badges which are available for the authenticated user to select for use on another user's streams and videos if no channel-specific preference is set.\nIf no domain is not specified, all emote sets will be returned.\nThis is only returned if the request is authenticated by the same user whose email is requested.", "args": [ { "name": "domains", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "BadgeDomain", "ofType": null } } }, "defaultValue": null } ], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "Badge", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "bannedUsers", "description": "A list of this user's banned users.\nA maximum of 100 users by most recent are returned\nOnly resolves for the authenticated user.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ChannelBannedUser", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "bannerImageURL", "description": "A URL to the user's banner image.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "bitsBalance", "description": "bitsBalance is the number of bits this user currently has available to spend.\nIf this isn't the `currentUser` or the user has been banned from using bits this will return null.\nThis field can only be requested if an OAuth token is supplied with the request.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "bitsOffers", "description": "bitsOffers is a list of the ways this user can obtain more bits.\nIf this isn't the `currentUser` or the user has been banned from using bits this will return null.\nThis field can only be requested if an OAuth token is supplied with the request.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "INTERFACE", "name": "BitsOffer", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "blizzardAccount", "description": "Resolves account information that Twitch has stored for a user's blizzard account information.", "args": [], "type": { "kind": "OBJECT", "name": "BlizzardUser", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "blockedTerms", "description": "Get the blocked terms of a user.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ChannelBlockedTerm", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "blockedUsers", "description": "blockedUsers returns a list users that are restrained from directly communicating with this user.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "User", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "bounties", "description": "bounties is a list of bounty board bounties for this user.", "args": [ { "name": "status", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Bounty", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "bountyBoardSettings", "description": "bountyBoardSettings are settings and rules around the behavior of bounty boards for this user.", "args": [], "type": { "kind": "OBJECT", "name": "BountyBoardSettings", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "broadcastBadges", "description": "Badges that are displayed in chat during this user's broacasts or videos.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "Badge", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "broadcastSettings", "description": "A User's broadcast settings that persists between streams.", "args": [], "type": { "kind": "OBJECT", "name": "BroadcastSettings", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "channel", "description": "The channel which belongs to the user.", "args": [], "type": { "kind": "OBJECT", "name": "Channel", "ofType": null }, "isDeprecated": true, "deprecationReason": "Channel has been deprecated and its fields have been merged into User." }, { "name": "channelFeed", "description": "A user's channel feed.\nNo authorization required. Returns even if channel feed is disabled in the UI.", "args": [], "type": { "kind": "OBJECT", "name": "Feed", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "channelRooms", "description": "Returns the list of chatrooms in the channel visible by the current user.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "Room", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "chatColor", "description": "Hex color of the user's name in chat, e.g. \"#ccaa44\".", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "chatSettings", "description": "chatSettings are settings and rules for chatting in this user's channel.", "args": [], "type": { "kind": "OBJECT", "name": "ChatSettings", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "cheer", "description": "cheer is the channel-specific cheer settings and current state.\nReturns null if cheering isn't enabled for this channel.", "args": [], "type": { "kind": "OBJECT", "name": "CheerInfo", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "clientAuthorizations", "description": "The list of OAuth clients authorized by the current user.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ClientAuthorization", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "clips", "description": "A paginated list of clips featuring this user.\nWhen criteria is not specified, the default values are used.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "criteria", "description": null, "type": { "kind": "INPUT_OBJECT", "name": "UserClipsInput", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "ClipConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "collections", "description": "A paginated list of collections (playlists) created by the user.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "options", "description": null, "type": { "kind": "INPUT_OBJECT", "name": "CollectionsOptions", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "CollectionsConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "crates", "description": "A list of Twitch crates in a user's inventory.\nThis is only returned if the request is authenticated by the same user who's email is requested.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "Crate", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "createdAt", "description": "When the user created their account.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": "A user-provided blurb describing themselves.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "directories", "description": "The directories the user is currently set to broadcast in.", "args": [], "type": { "kind": "OBJECT", "name": "UserDirectoryConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "displayBadges", "description": "Lists the chat badges that should be displayed by the user's display name in\nfeatures like chat and whispers. If a channelID is passed in, fetches the\ndisplay badges that user will have in that channel's context.\nIncludes the following badges:\n- global authority (staff/admin/global mod)\n- channel authority (broadcaster/mod, if channelID is set)\n- subscriber (if channelID is set)\n- channel selected (bits) or global selected (prime, turbo, ...).", "args": [ { "name": "channelID", "description": null, "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "channelLogin", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "Badge", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "displayName", "description": "A user-styled version of their login.\nFor international users, this could be the user's login with localized characters.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "email", "description": "The user's email address.\nThis is only returned if the request is authenticated by the same user who's email is requested.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "emoteSets", "description": "The emote sets this user is entitled to use.\nIf no domains are specified, all emote sets will be returned.\nIf multiple domains are specified, emotes that belong to either domain are returned (OR).\nIf this user is not the current user, it returns nil and a \"forbidden\" error.", "args": [ { "name": "domains", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "EmoteSetDomain", "ofType": null } } }, "defaultValue": null } ], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "EmoteSet", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "eventLeaves", "description": "Paginated list of leaf events that will or have run on theis user's channel.\nThis selects *all* leaves of all collections that this user might have assocated as well.\nAn optional criteria object can be given to specify the relevant time window that events should fall within, and\nhow the events are sorted.\nNOTE: If no time window is given, this field will only contain upcoming events.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "criteria", "description": null, "type": { "kind": "INPUT_OBJECT", "name": "EventConnectionCriteriaInput", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "EventLeafConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "events", "description": "Paginated list of events that will or have run on this user's channel.\nAn optional criteria object can be given to specify the relevant time window that events should fall within, and\nhow the events are sorted.\nNOTE: If no time window is given, this field will only contain upcoming events.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "criteria", "description": null, "type": { "kind": "INPUT_OBJECT", "name": "EventConnectionCriteriaInput", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "DeprecatedEventConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "featureFlags", "description": "Feature flags specific to this user.\nThis is only returned if the request is authenticated by the same user whose email is requested.", "args": [], "type": { "kind": "OBJECT", "name": "FeatureFlags", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "follow", "description": "A follow relationship between this user and the one which has the target ID or login.\nNull if no relationship exists.", "args": [ { "name": "targetID", "description": null, "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "targetLogin", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "Follow", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use user.self.follower instead." }, { "name": "followedCommunities", "description": "A list of communities this user is following, ordered by most viewers.\nOnly resolves for the authenticated user.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "FollowedCommunityConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "followedEvents", "description": "Paginated list of events that this user is currently following.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "criteria", "description": null, "type": { "kind": "INPUT_OBJECT", "name": "EventConnectionCriteriaInput", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "DeprecatedEventConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "followedGames", "description": "Retrieves a list of games which the user is following.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "type", "description": null, "type": { "kind": "ENUM", "name": "FollowedGamesType", "ofType": null }, "defaultValue": "ALL" } ], "type": { "kind": "OBJECT", "name": "FollowedGameConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "followedHosts", "description": "A list of broadcasters this user follows, who are hosting other broadcasters.\nOnly resolves for the authenticated user.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" } ], "type": { "kind": "OBJECT", "name": "FollowedHostConnection", "ofType": null }, "isDeprecated": true, "deprecationReason": "This field is intended to be replaced as soon as an alternative is available." }, { "name": "followedLiveUsers", "description": "A list of live-streaming broadcasters this user is following.\nOnly resolves for the authenticated user.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "sort", "description": null, "type": { "kind": "ENUM", "name": "StreamSort", "ofType": null }, "defaultValue": "VIEWER_COUNT" } ], "type": { "kind": "OBJECT", "name": "FollowedLiveUserConnection", "ofType": null }, "isDeprecated": true, "deprecationReason": "This field is intended to be replaced as soon as an alternative is available." }, { "name": "followedVideos", "description": "Retrieves recent/popular VODs from the streamers you follow.\nIf this isn't the `currentUser` this will return null.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "languages", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } } }, "defaultValue": null }, { "name": "types", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "BroadcastType", "ofType": null } } }, "defaultValue": null }, { "name": "sort", "description": null, "type": { "kind": "ENUM", "name": "VideoSort", "ofType": null }, "defaultValue": "TIME" } ], "type": { "kind": "OBJECT", "name": "VideoConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "followers", "description": "A paginated list of users which follow this user.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "order", "description": null, "type": { "kind": "ENUM", "name": "SortOrder", "ofType": null }, "defaultValue": "ASC" } ], "type": { "kind": "OBJECT", "name": "FollowerConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "follows", "description": "A paginated list of users this user is following.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "filter", "description": null, "type": { "kind": "ENUM", "name": "FollowsFilter", "ofType": null }, "defaultValue": "ALL" }, { "name": "order", "description": null, "type": { "kind": "ENUM", "name": "SortOrder", "ofType": null }, "defaultValue": "ASC" } ], "type": { "kind": "OBJECT", "name": "FollowConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "friends", "description": "A list of this user's Twitch friends.\nA maximum of 500 friends are returned, although most users have less than the maximum.\nOnly accessible if the user is authenticated with the `user_presence_friends_read` scope.", "args": [], "type": { "kind": "OBJECT", "name": "FriendConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "hasPrime", "description": "Whether this user has Twitch Prime.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "hasTurbo", "description": "Whether this user has Twitch Turbo.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "hosting", "description": "The user who this user is hosting.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The user's unique identifier.", "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "idSHA1", "description": "Returns a SHA-1 hash of the id field.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "incomingFriendRequests", "description": "A list of open friend requests sent to this user. Friend requests from non-strangers are always placed in front of\nfriend requests from strangers; `sort` affects how the two components are ordered within themselves. Only accessible\nif the user is authenticated with the `user_presence_friends_read` scope.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "sort", "description": null, "type": { "kind": "ENUM", "name": "FriendSort", "ofType": null }, "defaultValue": "DESC" } ], "type": { "kind": "OBJECT", "name": "IncomingFriendRequestConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "installedExtensions", "description": "The list of extensions the user has installed.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ExtensionInstallation", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "inventory", "description": "Items (crates, drops, etc.) the user owns.", "args": [], "type": { "kind": "OBJECT", "name": "Inventory", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isCommerceRevShareEnabled", "description": "Whether or not the broadcaster is eligible for payout through twitch game commerce revenue share.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Use user.settings.isCommerceRevShareEnabled instead." }, { "name": "isConnectedToTwitter", "description": "Whether the user's Twitch account is connected to a Twitter account.\nReturns nil if there was an error. This field is only accessible on the current user.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isEmailVerified", "description": "Whether or not the user has verified their email address by clicking a link sent to their email.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isGlobalMod", "description": "Whether or not the user can moderate any broadcast chat.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use user.roles.isGlobalMod instead." }, { "name": "isPartner", "description": "Whether or not the user is a partnered broadcaster with Twitch.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use user.roles.isPartner instead." }, { "name": "isSiteAdmin", "description": "Whether or not the user is a site admininistrator.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use user.roles.isSiteAdmin instead." }, { "name": "isStaff", "description": "Whether or not the user is a Twitch staff member.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use user.roles.isStaff instead." }, { "name": "language", "description": "The user's language preference.", "args": [], "type": { "kind": "ENUM", "name": "Language", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use user.settings.preferredLanguageTag instead." }, { "name": "lastBroadcast", "description": "The user's last broadcast.", "args": [], "type": { "kind": "OBJECT", "name": "Broadcast", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "lastStatusChangeAt", "description": "The last time the user's availability or activity changed.\nThis special field only resolves for the authenticated user; use friends.edges.lastStatusChangeAt to retrieve this\ninformation about friends..\nRequires the `user_presence_friends_read` scope.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "liveDeprecatedEvent", "description": "The event that the live stream is a part of. If the channel is not live, or the stream is not associated with an\nevent, this field will be null.", "args": [], "type": { "kind": "INTERFACE", "name": "DeprecatedEvent", "ofType": null }, "isDeprecated": true, "deprecationReason": "Migratory field that clients who want to use the deprecated version of events can consume" }, { "name": "liveEvent", "description": "The event that the live stream is a part of. If the channel is not live, or the stream is not associated with an\nevent, this field will be null.", "args": [], "type": { "kind": "UNION", "name": "Event", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "login", "description": "The user's standard alphanumeric Twitch name.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "logoURL", "description": "The user's profile image.\nValid widths are 28, 50, 70, 150, 300, and 600.\nThe image height will be the same as the given width.", "args": [ { "name": "width", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": true, "deprecationReason": "Replaced by profileImageURL" }, { "name": "managedEventCollections", "description": "Paginated list of event collections owned by this User.\nThe event collections are sorted by title in ascending order.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "EventCollectionConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "managedEventLeaves", "description": "Paginated list of event leaves owned by this User.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "last", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "before", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "criteria", "description": null, "type": { "kind": "INPUT_OBJECT", "name": "ManagedEventLeavesCriteriaInput", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "EventLeafConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "maxAllowedChannelRooms", "description": "Returns the max number of channel rooms that the current user is allowed to\ncreate for their channel.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "mods", "description": "Returns a paginated list of channel moderators.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "ModConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "notificationSettings", "description": "A user's event notification settings.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "EventNotificationSetting", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "notifications", "description": "A user's notifications.\nThis is only returned if the request is authenticated by the same user whose onsite notifications are requested.\n`language` is a letter code for the language the requesting user speaks (ex. \"en\").", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "language", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "OnsiteNotificationConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "offlineImageURL", "description": "A URL to the image that is displayed when the user is not broadcasting nor hosting another user's broadcast.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "onboarding", "description": "Information about the current user's onboarding state.", "args": [], "type": { "kind": "OBJECT", "name": "Onboarding", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "panels", "description": "panels is a list of `Panel` objects with information related to this channel.", "args": [ { "name": "hideExtensions", "description": null, "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "INTERFACE", "name": "Panel", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "payPalBillingAgreement", "description": "User's PayPal billing agreement.", "args": [], "type": { "kind": "OBJECT", "name": "PayPalBillingAgreement", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "payPalBillingAgreementURL", "description": "URL where user can create or update their PayPal billing agreement.", "args": [ { "name": "returnURL", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "cancelURL", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null }, { "name": "locale", "description": null, "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "paymentMethodConfigs", "description": "Holds configuration necessary to start payment method management. Only the authenticated user can access their own configs.\nThis is the second step of the payment method management flow.\n(User.paymentMethods -> User.paymentMethodConfigs -> Mutation.setDefaultPaymentMethod).", "args": [], "type": { "kind": "OBJECT", "name": "PaymentProviderConfigs", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "paymentMethods", "description": "List of payment methods that will be used to pay for Twitch subscriptions that renew in the future\nThis is the first step of the payment method management flow.\n(User.paymentMethods -> User.paymentMethodConfigs -> Mutation.setDefaultPaymentMethod).", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PaymentMethod", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "paymentTransactions", "description": "Get user's list of payment transactions. This currently aggregates subscriptions related transactions but plans\nto also aggregate other product types such as Bits. The ultimate goal is to record, aggregate, and provide the\npayment history of Twitch users in a convenient way.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "50" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "criteria", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "PaymentTransactionConnectionCriteriaInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "PaymentTransactionConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "payoutInvite", "description": "A user's invite into a payout program.", "args": [], "type": { "kind": "OBJECT", "name": "PayoutInvite", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "payoutPlans", "description": "List of payout plans a user has when enrolled in any payout programs.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PayoutPlan", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "permittedTerms", "description": "Get the permitted terms of a user.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "ChannelPermittedTerm", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "primaryTeam", "description": "The primary team this user belongs to. A user may belong to more than one team at the same time but must select a single\nteam as the primary. If the user doesn't have a primary team this will be null.", "args": [], "type": { "kind": "OBJECT", "name": "Team", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "primeSettings", "description": "The Twitch Prime settings data for the user.", "args": [], "type": { "kind": "OBJECT", "name": "PrimeSettings", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "profileImageURL", "description": "A URL to the user's profile image.\nValid widths are 28, 50, 70, 150, 300, and 600.\nThe image height will be the same as the given width.", "args": [ { "name": "width", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "profileViewCount", "description": "The number of views this user's profile has received since creation.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "programAgreement", "description": "The program agreement for a user enrolled in a payout program.", "args": [], "type": { "kind": "OBJECT", "name": "ProgramAgreement", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "pulseFeed", "description": "A user's pulse feed.\nThis is only returned if the request is authenticated by the same user whose email is requested.", "args": [], "type": { "kind": "OBJECT", "name": "Feed", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "recommendations", "description": "Recommendations for the user. Recommendations can be retrieved only if the request\nis authenticated and only for the authenticated user.", "args": [], "type": { "kind": "OBJECT", "name": "Recommendations", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "residence", "description": "User's declared country of residence.", "args": [], "type": { "kind": "OBJECT", "name": "UserResidence", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "roles", "description": "The roles this user fulfills on Twitch.", "args": [], "type": { "kind": "OBJECT", "name": "UserRoles", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "searchVideos", "description": "Search through a paginated list of public and private videos for this user.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "search", "description": null, "type": { "kind": "INPUT_OBJECT", "name": "VideoConnectionSearchParams", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "VideoConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "selectedBadge", "description": "The badge this user has selected for global use on Twitch.", "args": [], "type": { "kind": "OBJECT", "name": "Badge", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "self", "description": "The authenticated user's relationship with this user.", "args": [], "type": { "kind": "OBJECT", "name": "UserSelfConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "settings", "description": "The settings this user has on Twitch.", "args": [], "type": { "kind": "OBJECT", "name": "UserSettings", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "ssoLinks", "description": "The relationship between the authenticated user and the single sign-on (SSO) apps they have linked to their Twitch account.", "args": [ { "name": "app", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "SSOLink", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "stream", "description": "The user's live stream.\nNull if the user is not currently broadcasting.", "args": [], "type": { "kind": "OBJECT", "name": "Stream", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "subscribedChannels", "description": "A list of channels to which the user is subscribed.\nOnly resolves for the authenticated user.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "live", "description": null, "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "SubscribedChannelConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "subscriptionBenefits", "description": "A paginated list of user's all active subscriptions.\nOnly resolves for the current user. Returns a forbidden error if requested for another user.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "criteria", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", "name": "SubscriptionBenefitCriteriaInput", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "SubscriptionBenefitConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "subscriptionProducts", "description": "A list of subscription products available for purchase on the user's page.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "SubscriptionProduct", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "subscriptionSettings", "description": "Subscription preferences for the current user.\nOnly resolves for the current user. Returns an error if request for another user.", "args": [], "type": { "kind": "OBJECT", "name": "UserSubscriptionSettings", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "suggestedFeeds", "description": "A list of suggested feeds for the user.\nThis is only returned if the request is authenticated by the same user whose email is requested.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "6" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "FeedConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "tournament", "description": "Tournament associated with the user. This is used with the Bits custom cheering experience.", "args": [], "type": { "kind": "OBJECT", "name": "Tournament", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "twitch", "description": "The user's relationship with Twitch.", "args": [], "type": { "kind": "OBJECT", "name": "UserTwitchConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "unreadWhisperMessagesCount", "description": "Number of unread whisper messages the user has.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updatedAt", "description": "When the user last updated their account.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "videos", "description": "A paginated list of videos for this user.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "type", "description": null, "type": { "kind": "ENUM", "name": "BroadcastType", "ofType": null }, "defaultValue": null }, { "name": "sort", "description": null, "type": { "kind": "ENUM", "name": "VideoSort", "ofType": null }, "defaultValue": "TIME" } ], "type": { "kind": "OBJECT", "name": "VideoConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "viewedVideos", "description": "A paginated list of viewed videos and their histories for this user.\nOnly resolves for current user.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" } ], "type": { "kind": "OBJECT", "name": "ViewedVideosConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "whisperThreads", "description": "A paginated list of whisper threads for the current user, sorted by recent first.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "WhisperThreadConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UserAmazonConnection", "description": "The relationship between the user and Amazon.", "fields": [ { "name": "associatesStore", "description": "The Amazon associates store linked to this user.", "args": [], "type": { "kind": "OBJECT", "name": "AssociatesStore", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "UserClipsInput", "description": "Filtering criteria for paginated user clips results.", "fields": null, "inputFields": [ { "name": "broadcasterID", "description": "The ID of the broadcaster to filter results by.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "curatorID", "description": "The ID of the curator to filter results by.", "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "defaultValue": null }, { "name": "filter", "description": "DEPRECATED: `filter` should no longer be used. Prefer `period` and `sort` instead.\nA filter which restricts results.", "type": { "kind": "ENUM", "name": "ClipsFilter", "ofType": null }, "defaultValue": null }, { "name": "gameName", "description": "The name of the game to filter results by.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null }, { "name": "period", "description": "The time period to restrict clips based on creation time.", "type": { "kind": "ENUM", "name": "ClipsPeriod", "ofType": null }, "defaultValue": "LAST_WEEK" }, { "name": "sort", "description": "The sort order for the clips results.", "type": { "kind": "ENUM", "name": "ClipsSort", "ofType": null }, "defaultValue": "VIEWS_DESC" } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UserConnection", "description": "Paginated list of Users, where the relationship between the source type and the User is\ngeneric enough that no information needs to be encoded on the edge.", "fields": [ { "name": "edges", "description": null, "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "UserEdge", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UserDirectoryConnection", "description": "The connection between a user and the directories they have selected to broadcast in.", "fields": [ { "name": "nodes", "description": "The directories selected by this user.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "INTERFACE", "name": "Directory", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UserDropAwardConnection", "description": "A list of Drops awarded to the user.", "fields": [ { "name": "nodes", "description": "The Drops awarded to the user.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "DropAward", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "totalCount", "description": "The number of drop awards a user has received.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UserEdge", "description": "Generic edge between some type and a User, where there is no information that needs to\nto be encoded on the edge.", "fields": [ { "name": "cursor", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UserResidence", "description": "User's residence.", "fields": [ { "name": "countryCode", "description": "Country in ISO alpha-2.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "postalCode", "description": "Postal code.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UserRoles", "description": "Groups site-wide user roles together.", "fields": [ { "name": "isAffiliate", "description": "Whether or not the user is enrolled in the affiliate program.\nSee https://affiliate.twitch.tv for more information.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isExtensionsApprover", "description": "Whether or not the user is allowed to approve extensions on Twitch.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isExtensionsDeveloper", "description": "Whether or not the user is enrolled in the extensions developer program.\nSee https://dev.twitch.tv/docs/extensions/onboarding for more information.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isGlobalMod", "description": "Whether or not the user can moderate any broadcast chat.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isPartner", "description": "Whether or not the user is a partnered broadcaster with Twitch.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isSiteAdmin", "description": "Whether or not the user is a site admininistrator.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isStaff", "description": "Whether or not the user is a Twitch staff member.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UserSelfBitsBadge", "description": "UserSelfBitsBadge contains the current user's badge tier in a channel and progress toward the next tier.\nNOTE: should probably have been named CurrentUserBitsBadge.", "fields": [ { "name": "current", "description": "current is the highest bits chat badge the authenticated user has achieved in this channel.\nIf a badge tier is disabled after being earned it will still appear here until the next tier is earned.\nIf the user hasn't earned any bits badges yet this will be null.", "args": [], "type": { "kind": "OBJECT", "name": "Badge", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "next", "description": "next is the next chat badge the authenticated user can earn in this channel.\nIf this is null then there are no higher tiers to earn.", "args": [], "type": { "kind": "OBJECT", "name": "Badge", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "nextBits", "description": "nextBits is the bits value of the next chat badge the authenticated user can earn in this channel.\nIf this is null then there are no higher tiers to earn.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "progress", "description": "progress is the fraction of the way the user is toward the next badge tier [0.0-1.0).\nIf `next` is null this will be zero.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Float", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "totalBits", "description": "totalBits is the number of bits the authenticated user has used in this channel.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UserSelfConnection", "description": "Subjective data on another User (user/channel) for the current user.", "fields": [ { "name": "availableBadges", "description": "The badges which are available for the authenticated user to select for use on another user's streams and videos.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "Badge", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "bitsBadge", "description": "bitsBadge contains information about bits badge progression in a channel.\nThis field can only be requested if an OAuth token is supplied with the request.", "args": [], "type": { "kind": "OBJECT", "name": "UserSelfBitsBadge", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "bitsLeaderboardEntry", "description": "The bits leaderboard entry shows the current user's entry in the\nchannel's leaderboard. It does not show context entries around it.", "args": [], "type": { "kind": "OBJECT", "name": "BitsLeaderboardEntry", "ofType": null }, "isDeprecated": true, "deprecationReason": "use user.self.bitsLeaderboardItem instead." }, { "name": "bitsLeaderboardItem", "description": "The bits leaderboard item shows the current user's entry in the\nchannel's leaderboard. It does not show context entries around it.", "args": [], "type": { "kind": "OBJECT", "name": "BitsLeaderboardItem", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "bitsLeaderboardPosition", "description": "The bits leaderboard position shows the curreent users rank\nand the surrounding users in the current channel.", "args": [], "type": { "kind": "OBJECT", "name": "BitsLeaderboard", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "canGift", "description": "CanGift relationship between the authenticated user, another user, and a product.\nTrue is the authenticated user can gift the product to the other user.", "args": [ { "name": "product", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "canPrimeSubscribe", "description": "Checks if the authenticated user can subscribe to this channel via Prime.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "displayBadges", "description": "Lists the chat badges that should be displayed by the user's display name in\nfeatures on a particular user's channel (i.e. chat, feeds).\nIncludes the following badges:\n- global authority (staff/admin/global mod)\n- channel authority (broadcaster/mod)\n- subscriber\n- channel selected (bits) or global selected (prime, turbo, ...).", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "Badge", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "follower", "description": "A follower relationship between the authenticated user and another user.\nNull if the relationship does not exist.", "args": [], "type": { "kind": "OBJECT", "name": "FollowerEdge", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isChannelMember", "description": "True if the authenticated user has joined this channel.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isEditor", "description": "Whether or not the authenticated user is editor of a another user's channel.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isModerator", "description": "Whether or not the authenticated user is moderator of a another user's channel.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "purchaseTokens", "description": "purchaseTokens are the purchase tokens and their current state.\nThey can be used with ConsumeChatToken to share a recent purchase in another user's channel.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "PurchaseToken", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "resubNotification", "description": "The most recent resub token to use for sending a special message.\nIf no notification is pending this will be null.", "args": [], "type": { "kind": "OBJECT", "name": "ResubNotification", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "ritualTokens", "description": "Lists ritual tokens that can be requested or displayed to the user in another user's channel.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "RitualToken", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "selectedBadge", "description": "The badge the authenticated user selected for use on another user's streams and videos.", "args": [], "type": { "kind": "OBJECT", "name": "Badge", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "subscriptionBenefit", "description": "The subscription benefit relationship between the authenticated user and another user.\nNull if the authenticated user is not subscribed to the other user.", "args": [], "type": { "kind": "OBJECT", "name": "SubscriptionBenefit", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UserSettings", "description": "Groups site-wide user settings together.", "fields": [ { "name": "channelFeedEnabled", "description": "The user's channel feed on/off switch.\nThe channel feed is displayed if set to true and is\nhidden if set to false.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "cheer", "description": "The cheer settings for a user, configured in their partner dashboard.", "args": [], "type": { "kind": "OBJECT", "name": "CheerPartnerSettings", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "hasTwoFactorEnabled", "description": "Whether or not the user has a second authentication method configured.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isAmazonRetailRevShareEnabled", "description": "Whether or not the broadcaster is eligible for payout through Amazon retail revenue share.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isCommerceRevShareEnabled", "description": "Whether or not the broadcaster is eligible for payout through twitch game commerce revenue share.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isDirectoryHidden", "description": "Whether or not the user has elected to be hidden from search results.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isRitualsEnabled", "description": "Whether the user's channel has rituals enabled.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isRitualsWhitelisted", "description": "Whether the user's channel is whitelisted into the rituals experiment.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": true, "deprecationReason": "Rituals is whitelisted only for launch." }, { "name": "isSharingActivity", "description": "The user's activity sharing setting.\nActivity is the part of a user's status that shows what they're currently playing, watching, or streaming.\nRequires the `user_presence_friends_read` scope.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "preferredLanguageTag", "description": "The user's preferred language tag for displaying text content.", "args": [], "type": { "kind": "ENUM", "name": "LanguageTag", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "visibility", "description": "The user's shared availability while online.\nA value of ONLINE (typically called \"invisibility\") additionally means that the user's activity will not be shared\nregardless of the isSharingActivity setting.\nRequires the `user_presence_friends_read` scope.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "Visibility", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UserSubscriptionSettings", "description": "User preferences related to subscriptions and subscription gifts.\nie. Can I receive gifts to all channels or only channels I follow?", "fields": [ { "name": "giftsToFollowedChannelsOnly", "description": "Whether the user only wants to receive gifts to channels they follow.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "UserTwitchConnection", "description": "The relationship between the user and Twitch.", "fields": [ { "name": "commerceAmendment", "description": "The current state of the game commerce amendments for the user.", "args": [ { "name": "types", "description": null, "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "CommerceAmendmentType", "ofType": null } } } }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "CommerceAmendment", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Video", "description": null, "fields": [ { "name": "animatedPreviewURL", "description": "A link to an image which contains an animated preview of the video.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "broadcastType", "description": "The type of broadcast the video originated from.", "args": [], "type": { "kind": "ENUM", "name": "BroadcastType", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "comments", "description": "A paginated list of comments against this video.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "last", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "Before", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null }, { "name": "contentOffsetSeconds", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "VideoCommentConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "createdAt", "description": "The time the video metadata record was created.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "creator", "description": "The user who created this video.\nThis will be either the broadcaster or one of their editors.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "deletedAt", "description": "NOTE: named `deleteAt` in Vinyl.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": "A description of the video, formatted in markdown.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "duration", "description": "The length of the video.", "args": [], "type": { "kind": "SCALAR", "name": "Duration", "ofType": null }, "isDeprecated": true, "deprecationReason": "Use length instead, as it's easier to parse." }, { "name": "game", "description": "The game the video is depicting.", "args": [], "type": { "kind": "OBJECT", "name": "Game", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The video's identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isDeleted", "description": "Whether the video has been soft deleted.", "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "language", "description": "Which language the video is in.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "lengthSeconds", "description": "The length of the video, as an int, in seconds.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "offsetSeconds", "description": "For highlights, the number of seconds offset from the beginning of the past broadcast the highlight starts.\nFor past broadcasts and uploads, this means nothing.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "owner", "description": "The owner of the video.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "previewThumbnailURL", "description": "The URL to the thumbnail which should be displayed for the video.\nIf either `height` or `width` are not given, a templated value (i.e. `{height}`, `{width}`) will be present in the URL instead.", "args": [ { "name": "height", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "width", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "publishedAt", "description": "The time when the archive/highlight/upload was first ever available to public,\neven if it is not currently public.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "reactions", "description": "The reactions associated with this video.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "Reaction", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "recordedAt", "description": "The time the video was recorded.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "scope", "description": "Either PRIVATE or PUBLIC.", "args": [], "type": { "kind": "ENUM", "name": "VideoPrivacyScope", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "self", "description": "The authenticated user's relationship with this video.", "args": [], "type": { "kind": "OBJECT", "name": "VideoSelfEdge", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "status", "description": "When broadcastType is:\n- ARCHIVE: status goes from RECORDING to RECORDED.\n- HIGHLIGHT: status goes from UNPROCESSED to RECORDED.\n- UPLOAD: status goes from CREATED to UPLOADING, to PENDING_TRANSCODE, to RECORDED, or FAILED if anything goes wrong.\n- PREMIERE_UPLOAD: status goes from CREATED to UPLOADING, to PENDING_TRANSCODE, to RECORDED, or FAILED if anything goes wrong.\n- PAST_PREMIERE: status goes from RECORDING to RECORDED.", "args": [], "type": { "kind": "ENUM", "name": "VideoStatus", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "tags", "description": "An array of tags describing the video.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "thumbnailURLs", "description": "A list of thumbnail URLs for the video, ordered by descending priority.\nOwners can insert custom thumbnails into this list.\nIf either `height` or `width` are not given, a templated value (i.e. `{height}`, `{width}`) will be present in the URL instead.", "args": [ { "name": "height", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "width", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null } ], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": "The title of the video.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updatedAt", "description": "The most recent time the video data was updated.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "viewCount", "description": "The numer of views this video has. Can be delayed by up to 15 minutes.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "viewableAt", "description": "For a scheduled video, the time when the video will be made available to the\npublic (the time when the scope will be automatically set to \"public\").\nFor a video that is public or not scheduled, is null.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "VideoComment", "description": "Comment on a video.", "fields": [ { "name": "commenter", "description": "Author of the comment.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "contentOffsetSeconds", "description": "Position of the video where this comment was added.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "createdAt", "description": "The time the comment was created.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "The comments's unique identifier.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "message", "description": "The message of the comment.", "args": [], "type": { "kind": "OBJECT", "name": "VideoCommentMessage", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "replies", "description": "List of replies on this comment.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": null }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "VideoCommentConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "state", "description": "Current state of the comment.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "VideoCommentState", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "updatedAt", "description": "The last time this comment was updated.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "video", "description": "The video on which this comment was added.", "args": [], "type": { "kind": "OBJECT", "name": "Video", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "VideoCommentConnection", "description": "Paginated list of comments.", "fields": [ { "name": "edges", "description": null, "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "VideoCommentEdge", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "VideoCommentEdge", "description": "Video comment edge with cursor and the comment node.", "fields": [ { "name": "cursor", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "VideoComment", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "VideoCommentMessage", "description": "Represents the message of a comment.", "fields": [ { "name": "fragments", "description": "Parts of the message body with meta info.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "VideoCommentMessageFragment", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userBadges", "description": "List of badges the comment author had selected for use at the time of the comment.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "Badge", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userColor", "description": "Text color preferences of comment's author.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "VideoCommentMessageFragment", "description": "Represents a part of the message body with meta info.", "fields": [ { "name": "emote", "description": "Embedded emote info.", "args": [], "type": { "kind": "OBJECT", "name": "EmbeddedEmote", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "mention", "description": "User which was mentioned.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "text", "description": "Raw text of the comment.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "VideoCommentState", "description": "Represents the state of a video comment.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "PUBLISHED", "description": "The comment is published.", "isDeprecated": false, "deprecationReason": null }, { "name": "UNPUBLISHED", "description": "The comment was manually unpublished by a mod or the channel owner.", "isDeprecated": false, "deprecationReason": null }, { "name": "PENDING_REVIEW", "description": "The comment was automatically flagged for review (AutoMod).", "isDeprecated": false, "deprecationReason": null }, { "name": "PENDING_REVIEW_SPAM", "description": "The comment is possibly spam and has to be reviewed by a moderator.", "isDeprecated": false, "deprecationReason": null }, { "name": "DELETED", "description": "The comment has been soft-deleted.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "VideoConnection", "description": "A paginated list of videos, and its metadata.", "fields": [ { "name": "edges", "description": "The list of videos in this page.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "VideoEdge", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information about this page of videos.", "args": [], "type": { "kind": "OBJECT", "name": "PageInfo", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "totalCount", "description": "The total number of videos in the larger collection.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "VideoConnectionSearchParams", "description": "A Video Connection Search input to set params to include search term.", "fields": null, "inputFields": [ { "name": "term", "description": "The search term to filter video results by.", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "VideoEdge", "description": "An element in a paginated list of videos, and its metadata.", "fields": [ { "name": "cursor", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "Video", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "VideoOEmbed", "description": null, "fields": [ { "name": "authorName", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "authorURL", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "cacheAge", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "height", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "html", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "inputURL", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "providerName", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "providerURL", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "thumbnail", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "ThumbnailOEmbed", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "title", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "version", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "width", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "OEmbed", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "VideoOptions", "description": "Options to include private videos.", "fields": null, "inputFields": [ { "name": "includePrivate", "description": null, "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", "name": "VideoOverlayActivationInput", "description": "The required configuration to activate a video overlay extension.", "fields": null, "inputFields": [ { "name": "slot", "description": "The slot name of where the component extension should be displayed.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "defaultValue": null } ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "VideoOverlayView", "description": "VideoOverlayView holds the view configuration of an extension if the videoOverlay anchor is supported.", "fields": [ { "name": "viewerURL", "description": "The URL which should be loaded in for the extension.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "ExtensionView", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "VideoPrivacyScope", "description": null, "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "PRIVATE", "description": "The video is only viewable by the owner.", "isDeprecated": false, "deprecationReason": null }, { "name": "PUBLIC", "description": "The video is listed in search and anyone can view the video.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "VideoSelfEdge", "description": "The relationship between the authenticated user and a video.", "fields": [ { "name": "viewingHistory", "description": "User's viewing history against a video.", "args": [], "type": { "kind": "OBJECT", "name": "VideoViewingHistory", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "VideoSort", "description": "Possible sort orders for lists of videos.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "TIME", "description": "Sort the videos descending by time (publishedAt if available or createdAt).", "isDeprecated": false, "deprecationReason": null }, { "name": "VIEWS", "description": "Sort the videos descending by views.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "VideoStatus", "description": null, "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "RECORDING", "description": "The video is being recorded from a live broadcast.", "isDeprecated": false, "deprecationReason": null }, { "name": "UNPROCESSED", "description": "The video needs to be processed.", "isDeprecated": false, "deprecationReason": null }, { "name": "CREATED", "description": "The upload job is ready to begin.", "isDeprecated": false, "deprecationReason": null }, { "name": "UPLOADING", "description": "The video is being uploaded.", "isDeprecated": false, "deprecationReason": null }, { "name": "PENDING_TRANSCODE", "description": "The video is being transcoded.", "isDeprecated": false, "deprecationReason": null }, { "name": "FAILED", "description": "Something went wrong.", "isDeprecated": false, "deprecationReason": null }, { "name": "RECORDED", "description": "The video is ready to watch.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "VideoViewingHistory", "description": "User's viewing history against a video. All fields are null if no viewing history is available.", "fields": [ { "name": "position", "description": "Position in seconds since the start of the video.", "args": [], "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "updatedAt", "description": "When the viewing history was last updated.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ViewedNotificationsPayload", "description": null, "fields": [ { "name": "user", "description": "The modified user which contains an updated OnsiteNotificationsSummary.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ViewedVideosConnection", "description": "A paginated list of viewed videos, their histories, and metadata.", "fields": [ { "name": "edges", "description": "The list of videos and their viewing histories in this page.", "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "ViewedVideosEdge", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ViewedVideosEdge", "description": "An element in a paginated list of viewing histories, and its metadata.", "fields": [ { "name": "history", "description": "Viewing history of user against the video.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "VideoViewingHistory", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "Video this viewing history belongs to.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "Video", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "Visibility", "description": "The user's shared availability while online.\nA value of ONLINE (typically called invisibility) additionally means that the user's activity will not be shared\nregardless of the isSharingActivity setting.\nNOTE: Should have been named UserOnlineVisibility.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "ONLINE", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "AWAY", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "BUSY", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "OFFLINE", "description": null, "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "ENUM", "name": "VisibilityInput", "description": "A visibility type for the user.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "ONLINE", "description": "An ONLINE visibility (default) will cause the user's availability to be inherited from their sessions -- Online if\nthey have at least one non-idle session, Away if they have only idle sessions, or Offline if they have no sessions.", "isDeprecated": false, "deprecationReason": null }, { "name": "AWAY", "description": "An AWAY visibility will cause the user to appear as Away if they have any sessions, regardless of idleness, or\nOffline if they have no sessions.", "isDeprecated": false, "deprecationReason": null }, { "name": "BUSY", "description": "A BUSY visibility will cause the user to appear as Busy if they have any sessions, regardless of idleness, or\nOffline if they have no sessions.", "isDeprecated": false, "deprecationReason": null }, { "name": "OFFLINE", "description": "An OFFLINE visibility (also called \"invisible\") will cause the user to appear as Offline always. It will also\nimplicitly turn off activity sharing.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "Watching", "description": null, "fields": [ { "name": "type", "description": "This activity's type, i.e. \"WATCHING\".", "args": [], "type": { "kind": "ENUM", "name": "ActivityType", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "user", "description": "The user whose stream is being watched.", "args": [], "type": { "kind": "OBJECT", "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [ { "kind": "INTERFACE", "name": "Activity", "ofType": null } ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "WhisperMessage", "description": "A message sent in a whisper thread.", "fields": [ { "name": "content", "description": "Content of the message.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "MessageBody", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "deletedAt", "description": "Time the message was deleted.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "editedAt", "description": "Time the message was edited.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "from", "description": "User that sent the message.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "User", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "id", "description": "UUID of the message.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "nonce", "description": "Unique nonce.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "sentAt", "description": "Time the message was sent.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Time", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "thread", "description": "The thread the message is a part of.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "WhisperThread", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "WhisperMessageConnection", "description": "Paginated list of messages in a thread.", "fields": [ { "name": "edges", "description": "The elements of the list.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "WhisperMessageEdge", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information about this page.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "WhisperMessageEdge", "description": "Element in a list of messages.", "fields": [ { "name": "cursor", "description": "Opaque cursor describing this edge's position in the paginated list.", "args": [], "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The whisper message.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "WhisperMessage", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "WhisperSpamInfo", "description": "Spam classification data for a message.", "fields": [ { "name": "lastMarkedNotSpamAt", "description": "Time user last marked the thread as not spam.", "args": [], "type": { "kind": "SCALAR", "name": "Time", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "likelihood", "description": "Spam classification score.", "args": [], "type": { "kind": "ENUM", "name": "WhisperSpamLikelihood", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "WhisperSpamLikelihood", "description": null, "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "LOW", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "MEDIUM", "description": null, "isDeprecated": false, "deprecationReason": null }, { "name": "HIGH", "description": null, "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "WhisperThread", "description": "A conversation between two users.", "fields": [ { "name": "id", "description": "ID of the whisper thread.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isArchived", "description": "Whether the thread has been archived.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isMuted", "description": "Whether the user has muted the thread.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "messages", "description": "List of messages in the thread.", "args": [ { "name": "first", "description": null, "type": { "kind": "SCALAR", "name": "Int", "ofType": null }, "defaultValue": "10" }, { "name": "after", "description": null, "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "defaultValue": null } ], "type": { "kind": "OBJECT", "name": "WhisperMessageConnection", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "participants", "description": "List of users in the thread.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "User", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "spamInfo", "description": "Spam data about the thread.", "args": [], "type": { "kind": "OBJECT", "name": "WhisperSpamInfo", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "unreadMessagesCount", "description": "Number of whispers that have not been read by the user in the thread.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "userLastMessageRead", "description": "Last message read by the user in the thread.", "args": [], "type": { "kind": "OBJECT", "name": "WhisperMessage", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "WhisperThreadConnection", "description": "Paginated list of whisper threads.", "fields": [ { "name": "edges", "description": "The elements of the list.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "OBJECT", "name": "WhisperThreadEdge", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "pageInfo", "description": "Information about this page.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "PageInfo", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "totalCount", "description": "Total number of whisper threads.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "WhisperThreadEdge", "description": "Element in a list of whisper threads.", "fields": [ { "name": "cursor", "description": "Opaque cursor describing this edge's position in the paginated list.", "args": [], "type": { "kind": "SCALAR", "name": "Cursor", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "node", "description": "The whisper thread.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "WhisperThread", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "Xbox", "description": "Stream metadata for Xbox.", "fields": [ { "name": "gamertag", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "titleID", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "ID", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "XsollaConfigs", "description": null, "fields": [ { "name": "iframeURL", "description": "Iframe URL to allow payment method management or purchase checkout\nThere are various cases in which this can be null. One example during\nsubscription purchase checkout flow is if there is an issue with the\nXsolla product mapping to the product in Twitch's system.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "ZuoraConfigs", "description": null, "fields": [ { "name": "externalAccountID", "description": "Twitch merchant account ID on Zuora.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "hostedPageID", "description": "ID of the hosted page we will render.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "hostedPageURL", "description": "URL of the hosted page we will render.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "publicKey", "description": "Used to encrypt sensitive information.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "signature", "description": "Need to pass generated signature to access Zuora payment pages.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "tenantID", "description": "In some cases, when you contact Zuora Support with an issue, the person helping you may ask you to provide the tenant ID.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "ID", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "token", "description": "Zuora API uses token as part of authentication.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "__Directive", "description": "A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior\nin ways field arguments will not suffice, such as conditionally including or\nskipping a field. Directives provide this by describing additional information\nto the executor.", "fields": [ { "name": "name", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "locations", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "__DirectiveLocation", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "args", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__InputValue", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "__DirectiveLocation", "description": "A Directive can be adjacent to many parts of the GraphQL language, a\n__DirectiveLocation describes one such possible adjacencies.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "QUERY", "description": "Location adjacent to a query operation.", "isDeprecated": false, "deprecationReason": null }, { "name": "MUTATION", "description": "Location adjacent to a mutation operation.", "isDeprecated": false, "deprecationReason": null }, { "name": "SUBSCRIPTION", "description": "Location adjacent to a subscription operation.", "isDeprecated": false, "deprecationReason": null }, { "name": "FIELD", "description": "Location adjacent to a field.", "isDeprecated": false, "deprecationReason": null }, { "name": "FRAGMENT_DEFINITION", "description": "Location adjacent to a fragment definition.", "isDeprecated": false, "deprecationReason": null }, { "name": "FRAGMENT_SPREAD", "description": "Location adjacent to a fragment spread.", "isDeprecated": false, "deprecationReason": null }, { "name": "INLINE_FRAGMENT", "description": "Location adjacent to an inline fragment.", "isDeprecated": false, "deprecationReason": null }, { "name": "SCHEMA", "description": "Location adjacent to a schema definition.", "isDeprecated": false, "deprecationReason": null }, { "name": "SCALAR", "description": "Location adjacent to a scalar definition.", "isDeprecated": false, "deprecationReason": null }, { "name": "OBJECT", "description": "Location adjacent to an object type definition.", "isDeprecated": false, "deprecationReason": null }, { "name": "FIELD_DEFINITION", "description": "Location adjacent to a field definition.", "isDeprecated": false, "deprecationReason": null }, { "name": "ARGUMENT_DEFINITION", "description": "Location adjacent to an argument definition.", "isDeprecated": false, "deprecationReason": null }, { "name": "INTERFACE", "description": "Location adjacent to an interface definition.", "isDeprecated": false, "deprecationReason": null }, { "name": "UNION", "description": "Location adjacent to a union definition.", "isDeprecated": false, "deprecationReason": null }, { "name": "ENUM", "description": "Location adjacent to an enum definition.", "isDeprecated": false, "deprecationReason": null }, { "name": "ENUM_VALUE", "description": "Location adjacent to an enum value definition.", "isDeprecated": false, "deprecationReason": null }, { "name": "INPUT_OBJECT", "description": "Location adjacent to an input object type definition.", "isDeprecated": false, "deprecationReason": null }, { "name": "INPUT_FIELD_DEFINITION", "description": "Location adjacent to an input object field definition.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null }, { "kind": "OBJECT", "name": "__EnumValue", "description": "One possible value for a given Enum. Enum values are unique values, not a\nplaceholder for a string or numeric value. However an Enum value is returned in\na JSON response as a string.", "fields": [ { "name": "name", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "isDeprecated", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "deprecationReason", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "__Field", "description": "Object and Interface types are described by a list of Fields, each of which has\na name, potentially a list of arguments, and a return type.", "fields": [ { "name": "name", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "args", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__InputValue", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__Type", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "isDeprecated", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "deprecationReason", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "__InputValue", "description": "Arguments provided to Fields or Directives and the input fields of an\nInputObject are represented as Input Values which describe their type and\noptionally a default value.", "fields": [ { "name": "name", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "String", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "type", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__Type", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "defaultValue", "description": "A GraphQL-formatted string representing the default value for this input value.", "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "__Schema", "description": "A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all\navailable types and directives on the server, as well as the entry points for\nquery, mutation, and subscription operations.", "fields": [ { "name": "types", "description": "A list of all types supported by this server.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__Type", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "queryType", "description": "The type that query operations will be rooted at.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__Type", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "mutationType", "description": "If this server supports mutation, the type that mutation operations will be rooted at.", "args": [], "type": { "kind": "OBJECT", "name": "__Type", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "subscriptionType", "description": "If this server support subscription, the type that subscription operations will be rooted at.", "args": [], "type": { "kind": "OBJECT", "name": "__Type", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "directives", "description": "A list of all directives supported by this server.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__Directive", "ofType": null } } } }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", "name": "__Type", "description": "The fundamental unit of any GraphQL Schema is the type. There are many kinds of\ntypes in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that\ntype. Scalar types provide no information beyond a name and description, while\nEnum types provide their values. Object and Interface types provide the fields\nthey describe. Abstract types, Union and Interface, provide the Object types\npossible at runtime. List and NonNull types compose other types.", "fields": [ { "name": "kind", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", "name": "__TypeKind", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { "name": "name", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "description", "description": null, "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { "name": "fields", "description": null, "args": [ { "name": "includeDeprecated", "description": null, "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__Field", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "interfaces", "description": null, "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__Type", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "possibleTypes", "description": null, "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__Type", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "enumValues", "description": null, "args": [ { "name": "includeDeprecated", "description": null, "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null }, "defaultValue": "false" } ], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__EnumValue", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "inputFields", "description": null, "args": [], "type": { "kind": "LIST", "name": null, "ofType": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", "name": "__InputValue", "ofType": null } } }, "isDeprecated": false, "deprecationReason": null }, { "name": "ofType", "description": null, "args": [], "type": { "kind": "OBJECT", "name": "__Type", "ofType": null }, "isDeprecated": false, "deprecationReason": null } ], "inputFields": null, "interfaces": [], "enumValues": null, "possibleTypes": null }, { "kind": "ENUM", "name": "__TypeKind", "description": "An enum describing what kind of type a given `__Type` is.", "fields": null, "inputFields": null, "interfaces": null, "enumValues": [ { "name": "SCALAR", "description": "Indicates this type is a scalar.", "isDeprecated": false, "deprecationReason": null }, { "name": "OBJECT", "description": "Indicates this type is an object. `fields` and `interfaces` are valid fields.", "isDeprecated": false, "deprecationReason": null }, { "name": "INTERFACE", "description": "Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.", "isDeprecated": false, "deprecationReason": null }, { "name": "UNION", "description": "Indicates this type is a union. `possibleTypes` is a valid field.", "isDeprecated": false, "deprecationReason": null }, { "name": "ENUM", "description": "Indicates this type is an enum. `enumValues` is a valid field.", "isDeprecated": false, "deprecationReason": null }, { "name": "INPUT_OBJECT", "description": "Indicates this type is an input object. `inputFields` is a valid field.", "isDeprecated": false, "deprecationReason": null }, { "name": "LIST", "description": "Indicates this type is a list. `ofType` is a valid field.", "isDeprecated": false, "deprecationReason": null }, { "name": "NON_NULL", "description": "Indicates this type is a non-null. `ofType` is a valid field.", "isDeprecated": false, "deprecationReason": null } ], "possibleTypes": null } ], "directives": [ { "name": "deprecated", "description": "Marks an element of a GraphQL schema as no longer supported.", "locations": [ "FIELD_DEFINITION", "ENUM_VALUE" ], "args": [ { "name": "reason", "description": "Explains why this element was deprecated, usually also including a suggestion\nfor how to access supported similar data. Formatted in\n[Markdown](https://daringfireball.net/projects/markdown/).", "type": { "kind": "SCALAR", "name": "String", "ofType": null }, "defaultValue": "\"No longer supported\"" } ] }, { "name": "include", "description": "Directs the executor to include this field or fragment only when the `if` argument is true.", "locations": [ "FIELD", "FRAGMENT_SPREAD", "INLINE_FRAGMENT" ], "args": [ { "name": "if", "description": "Included when true.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "defaultValue": null } ] }, { "name": "skip", "description": "Directs the executor to skip this field or fragment when the `if` argument is true.", "locations": [ "FIELD", "FRAGMENT_SPREAD", "INLINE_FRAGMENT" ], "args": [ { "name": "if", "description": "Skipped when true.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", "name": "Boolean", "ofType": null } }, "defaultValue": null } ] } ] } }, "extensions": { "durationMilliseconds": 82 } }