INPUT_OBJECT

StreamOptions

Optional inputs to filter streams add additional optional fields for filtering streams to the StreamOptions input type.

link GraphQL Schema definition

1input StreamOptions {
4
2# Filter streams based on restriction types.
3includeRestricted: [StreamRestrictionType!]
8
5# Broadcaster languages to filter the streams by.
6# Deprecated: use language tags instead.
7languages: [Language!]
11
9# The locale of the user.
10locale: String
14
12# The platform to filter streams by.
13platformType: PlatformType
18
15# If sorted by relevance, this provides additional context used to influence
16# recommendations.
17recommendationsContext: RecommendationsContext
22
19# A GUID that is created by the caller for tracking. This should be globally
20# unique per request and is required if sort=RELEVANCE.
21requestID: ID
25
23# The sort param can be used to change the default sorting.
24sort: StreamSort
28
26# List of tags to filter by.
27tags: [String!]
29}