OBJECT

Recommendations

link GraphQL Schema definition

1type Recommendations {
2
3# The recommended community gifting quantities to display to the user when they
4# intend to gift subscriptions.
5# The trackingID is not a unique ID for the recommendations, but a passthrough
6# value for backend logging to link to purchases made by the user after being
7# shown these recommendations.
8communityGiftQuantities(trackingID: ID!): [Int!]
9
10# A list of recommended friends.
11friends: [RecommendedFriend]
12
13# Live recommendations.
14# recRequestID is a tracking id created by the caller. Should be unique per
15# request.
16liveRecommendations(
17first: Int,
18recRequestID: String!,
19language: String!,
20location: String,
21context: RecommendationsContext
22): LiveRecommendationConnection
23
24# Stream recommendations.
25streams(
26first: Int
27): RecommendedStreamConnection @deprecated( reason: "use a specific recommendation instead" )
28
29# A list of recommended VODs.
30videos(
31first: Int,
32after: Cursor
33): RecommendedVideoConnection @deprecated( reason: "this feature has been sunset" )
34
35}