Skip to content

Instantly share code, notes, and snippets.

@Terbau
Created February 29, 2020 18:15
Show Gist options
  • Save Terbau/f36990a1d608f65645206835e708d488 to your computer and use it in GitHub Desktop.
Save Terbau/f36990a1d608f65645206835e708d488 to your computer and use it in GitHub Desktop.
Epic GraphQL Requests
mutation AccountMutation($twoFactorRequest: TwoFactorRequest!, $type: [String]!) {
Account {
# update two factor authentication
updateTwoFactorAuthentication(twoFactorRequest: $twoFactorRequest) { #Type: AccountMutationStatus
success #Type: Boolean
}
# Remove authentication method
removeThirdPartyLink(type: $type) { #Type: AccountMutationStatus
success #Type: Boolean
}
}
}
#Variables
{
"twoFactorRequest": {
"state": true
},
"type": ""
}
query AccountQuery($id: String!, $displayName: String!, $email: String!, $countryCode: String!, $locale: String!, $newUserOnly: Boolean!, $externalAuthType: String!, $accountIds: [String]!) {
Account {
# Get details about an account given an account ID, displayName or email
account(id: $id, displayName: $displayName, email: $email) { #Type: [Account]
# The AccountID for this account
id #Type: String
# The epic display name for this account
displayName #Type: String
# The email associated with this account, only returned if the requestor is the account owner
email #Type: String
# Indicates that the user is logged in
isLoggedIn #Type: Boolean
# List of unlinked accounts (of accounts that can be linked in Diesel)
unlinkedDieselPlatforms(countryCode: $countryCode, locale: $locale, newUserOnly: $newUserOnly) #Type: String (facebook, vk, epic, steam, psn, xbl, nintendo, twitch)
# External auths associated with this account
externalAuths(externalAuthType: $externalAuthType) { #Type: [ExternalAuth]
type #Type: String
accountId #Type: String
externalAuthId #Type: String
externalDisplayName #Type: String
}
# Indicates that the user is a publish developer
isPublishDeveloper #Type: Boolean
# Indicates that the user is a moderator
isModerator #Type: Boolean
# The status the logged user has with the current account
friendshipStatus #Type: String
# The organization this user belongs to
associatedOrganizations { #Type: [Organization]
# Organization ID
organizationId #Type: String
# Name
name #Type: String
# Country
country #Type: String
# Created Date
created #Type: String
# Finance Check Exempt
financeCheckExempted #Type: Boolean
# Finance Info Completed
financeInfoFinished #Type: Boolean
# Owner Account ID
ownerAccountId #Type: String
# Slug
slug #Type: String
# Status
status #Type: String
# Roles
roles #Type: [String]
# Is Developer
isDeveloper #Type: Boolean
}
country #Type: String
preferredLanguage #Type: String
name #Type: String
lastName #Type: String
# Whether the account has two factor auth enabled
tfaEnabled #Type: Boolean
}
# Get details about the currently logged in users' account
myAccount { #Type: Account
# The AccountID for this account
id #Type: String
# The epic display name for this account
displayName #Type: String
# The email associated with this account, only returned if the requestor is the account owner
email #Type: String
# Indicates that the user is logged in
isLoggedIn #Type: Boolean
# List of unlinked accounts (of accounts that can be linked in Diesel)
unlinkedDieselPlatforms(countryCode: $countryCode, locale: $locale, newUserOnly: $newUserOnly) #Type: String (facebook, vk, epic, steam, psn, xbl, nintendo, twitch)
# External auths associated with this account
externalAuths(externalAuthType: $externalAuthType) { #Type: [ExternalAuth]
type #Type: String
accountId #Type: String
externalAuthId #Type: String
externalDisplayName #Type: String
}
# Indicates that the user is a publish developer
isPublishDeveloper #Type: Boolean
# Indicates that the user is a moderator
isModerator #Type: Boolean
# The status the logged user has with the current account
friendshipStatus #Type: String
# The organization this user belongs to
associatedOrganizations { #Type: [Organization]
# Organization ID
organizationId #Type: String
# Name
name #Type: String
# Country
country #Type: String
# Created Date
created #Type: String
# Finance Check Exempt
financeCheckExempted #Type: Boolean
# Finance Info Completed
financeInfoFinished #Type: Boolean
# Owner Account ID
ownerAccountId #Type: String
# Slug
slug #Type: String
# Status
status #Type: String
# Roles
roles #Type: [String]
# Is Developer
isDeveloper #Type: Boolean
}
country #Type: String
preferredLanguage #Type: String
name #Type: String
lastName #Type: String
# Whether the account has two factor auth enabled
tfaEnabled #Type: Boolean
}
# Get details about an account given an account ID
accounts(accountIds: $accountIds) { #Type: [Account]
# The AccountID for this account
id #Type: String
# The epic display name for this account
displayName #Type: String
# The email associated with this account, only returned if the requestor is the account owner
email #Type: String
# Indicates that the user is logged in
isLoggedIn #Type: Boolean
# List of unlinked accounts (of accounts that can be linked in Diesel)
unlinkedDieselPlatforms(countryCode: $countryCode, locale: $locale, newUserOnly: $newUserOnly) #Type: String (facebook, vk, epic, steam, psn, xbl, nintendo, twitch)
# External auths associated with this account
externalAuths(externalAuthType: $externalAuthType) { #Type: [ExternalAuth]
type #Type: String
accountId #Type: String
externalAuthId #Type: String
externalDisplayName #Type: String
}
# Indicates that the user is a publish developer
isPublishDeveloper #Type: Boolean
# Indicates that the user is a moderator
isModerator #Type: Boolean
# The status the logged user has with the current account
friendshipStatus #Type: String
# The organization this user belongs to
associatedOrganizations { #Type: [Organization]
# Organization ID
organizationId #Type: String
# Name
name #Type: String
# Country
country #Type: String
# Created Date
created #Type: String
# Finance Check Exempt
financeCheckExempted #Type: Boolean
# Finance Info Completed
financeInfoFinished #Type: Boolean
# Owner Account ID
ownerAccountId #Type: String
# Slug
slug #Type: String
# Status
status #Type: String
# Roles
roles #Type: [String]
# Is Developer
isDeveloper #Type: Boolean
}
country #Type: String
preferredLanguage #Type: String
name #Type: String
lastName #Type: String
# Whether the account has two factor auth enabled
tfaEnabled #Type: Boolean
}
}
}
#Variables
{
"id": "",
"displayName": "",
"email": "",
"countryCode": "",
"locale": "",
"newUserOnly": true,
"externalAuthType": "",
"accountIds": ""
}
mutation ActivityStreamMutation($subscribeRequest: SubscribeRequest!, $postRequest: PostRequest!) {
ActivityStream {
# Subscribe the current user to a channel
subscribeMeToChannel(subscribeRequest: $subscribeRequest) { #Type: SubscribeResult
# Result of a request to subscribe to a channel
success #Type: String
message #Type: String
}
# Post an activity to the given channel
postToChannel(postRequest: $postRequest) { #Type: FeedItem
# An entry in a feed, can be 'liked'
id #Type: String
likes_number #Type: Int
liked #Type: Boolean
activity { #Type: Activity
ns #Type: String
created_at #Type: String
type #Type: String
}
channels { #Type: [Channel]
# Either the channel or direct message conversation id.
id #Type: String
# Either the channel or direct message conversation id.
channelId #Type: String
# If a channel, the name of the channel.
name #Type: String
# An enumeration of
badge #Type: String (ace, arm, bush, clown, crown, crab, dog, donut, finger, ghost, mushroom, ninja, pot, potato, radio, rainbow, seal, skele, unicorn)
# The background color of the badge
badgeColor #Type: [String]
# The id of the last read message in this channel or direct message conversation.
lastRead #Type: String
# The count of unread messages for this channel or direct message conversation.
unreadCount #Type: Int
# A list of members of the channel.
members { #Type: [ChannelMember]
accountId #Type: String
displayName #Type: String
}
subscribed #Type: Boolean
subscriptions #Type: Int
subscribers #Type: Int
channel #Type: String
privacy #Type: String
type #Type: String
}
}
}
}
#Variables
{
"subscribeRequest": {
"type": "USER, GROUP, COMMUNITY",
"channelId": ""
},
"postRequest": {
"type": "USER, GROUP, COMMUNITY",
"channelId": "",
"ns": "",
"message": "",
"link": "",
"privacy": "PRIVATE, PUBLIC"
}
}
query ActivityStreamQuery($id: String!) {
ActivityStream {
# Get a channel given an ID String
channel(id: $id) { #Type: Channel
# Either the channel or direct message conversation id.
id #Type: String
# Either the channel or direct message conversation id.
channelId #Type: String
# If a channel, the name of the channel.
name #Type: String
# An enumeration of
badge #Type: String (ace, arm, bush, clown, crown, crab, dog, donut, finger, ghost, mushroom, ninja, pot, potato, radio, rainbow, seal, skele, unicorn)
# The background color of the badge
badgeColor #Type: [String]
# The id of the last read message in this channel or direct message conversation.
lastRead #Type: String
# The count of unread messages for this channel or direct message conversation.
unreadCount #Type: Int
# A list of members of the channel.
members { #Type: [ChannelMember]
accountId #Type: String
displayName #Type: String
}
subscribed #Type: Boolean
subscriptions #Type: Int
subscribers #Type: Int
channel #Type: String
privacy #Type: String
type #Type: String
}
# Get the channel for the currently logged-in user
myChannel { #Type: Channel
# Either the channel or direct message conversation id.
id #Type: String
# Either the channel or direct message conversation id.
channelId #Type: String
# If a channel, the name of the channel.
name #Type: String
# An enumeration of
badge #Type: String (ace, arm, bush, clown, crown, crab, dog, donut, finger, ghost, mushroom, ninja, pot, potato, radio, rainbow, seal, skele, unicorn)
# The background color of the badge
badgeColor #Type: [String]
# The id of the last read message in this channel or direct message conversation.
lastRead #Type: String
# The count of unread messages for this channel or direct message conversation.
unreadCount #Type: Int
# A list of members of the channel.
members { #Type: [ChannelMember]
accountId #Type: String
displayName #Type: String
}
subscribed #Type: Boolean
subscriptions #Type: Int
subscribers #Type: Int
channel #Type: String
privacy #Type: String
type #Type: String
}
# Get a feed from an ID
feed(id: $id) { #Type: [FeedItem]
# An entry in a feed, can be 'liked'
id #Type: String
likes_number #Type: Int
liked #Type: Boolean
activity { #Type: Activity
ns #Type: String
created_at #Type: String
type #Type: String
}
channels { #Type: [Channel]
# Either the channel or direct message conversation id.
id #Type: String
# Either the channel or direct message conversation id.
channelId #Type: String
# If a channel, the name of the channel.
name #Type: String
# An enumeration of
badge #Type: String (ace, arm, bush, clown, crown, crab, dog, donut, finger, ghost, mushroom, ninja, pot, potato, radio, rainbow, seal, skele, unicorn)
# The background color of the badge
badgeColor #Type: [String]
# The id of the last read message in this channel or direct message conversation.
lastRead #Type: String
# The count of unread messages for this channel or direct message conversation.
unreadCount #Type: Int
# A list of members of the channel.
members { #Type: [ChannelMember]
accountId #Type: String
displayName #Type: String
}
subscribed #Type: Boolean
subscriptions #Type: Int
subscribers #Type: Int
channel #Type: String
privacy #Type: String
type #Type: String
}
}
# Get the feed for the currently logged-in user
myFeed { #Type: [FeedItem]
# An entry in a feed, can be 'liked'
id #Type: String
likes_number #Type: Int
liked #Type: Boolean
activity { #Type: Activity
ns #Type: String
created_at #Type: String
type #Type: String
}
channels { #Type: [Channel]
# Either the channel or direct message conversation id.
id #Type: String
# Either the channel or direct message conversation id.
channelId #Type: String
# If a channel, the name of the channel.
name #Type: String
# An enumeration of
badge #Type: String (ace, arm, bush, clown, crown, crab, dog, donut, finger, ghost, mushroom, ninja, pot, potato, radio, rainbow, seal, skele, unicorn)
# The background color of the badge
badgeColor #Type: [String]
# The id of the last read message in this channel or direct message conversation.
lastRead #Type: String
# The count of unread messages for this channel or direct message conversation.
unreadCount #Type: Int
# A list of members of the channel.
members { #Type: [ChannelMember]
accountId #Type: String
displayName #Type: String
}
subscribed #Type: Boolean
subscriptions #Type: Int
subscribers #Type: Int
channel #Type: String
privacy #Type: String
type #Type: String
}
}
# Get the current user's subscription
mySubscription { #Type: Subscription
# A user's list of channels that they are subscribed to
elements { #Type: [Channel]
# Either the channel or direct message conversation id.
id #Type: String
# Either the channel or direct message conversation id.
channelId #Type: String
# If a channel, the name of the channel.
name #Type: String
# An enumeration of
badge #Type: String (ace, arm, bush, clown, crown, crab, dog, donut, finger, ghost, mushroom, ninja, pot, potato, radio, rainbow, seal, skele, unicorn)
# The background color of the badge
badgeColor #Type: [String]
# The id of the last read message in this channel or direct message conversation.
lastRead #Type: String
# The count of unread messages for this channel or direct message conversation.
unreadCount #Type: Int
# A list of members of the channel.
members { #Type: [ChannelMember]
accountId #Type: String
displayName #Type: String
}
subscribed #Type: Boolean
subscriptions #Type: Int
subscribers #Type: Int
channel #Type: String
privacy #Type: String
type #Type: String
}
paging { #Type: Pagination
# Common Pagination type
total #Type: Int
count #Type: Int
start #Type: Int
}
}
# Get the current user's feed, which is an aggregate of all channels they are subscribed to
myPersistentFeed { #Type: [FeedItem]
# An entry in a feed, can be 'liked'
id #Type: String
likes_number #Type: Int
liked #Type: Boolean
activity { #Type: Activity
ns #Type: String
created_at #Type: String
type #Type: String
}
channels { #Type: [Channel]
# Either the channel or direct message conversation id.
id #Type: String
# Either the channel or direct message conversation id.
channelId #Type: String
# If a channel, the name of the channel.
name #Type: String
# An enumeration of
badge #Type: String (ace, arm, bush, clown, crown, crab, dog, donut, finger, ghost, mushroom, ninja, pot, potato, radio, rainbow, seal, skele, unicorn)
# The background color of the badge
badgeColor #Type: [String]
# The id of the last read message in this channel or direct message conversation.
lastRead #Type: String
# The count of unread messages for this channel or direct message conversation.
unreadCount #Type: Int
# A list of members of the channel.
members { #Type: [ChannelMember]
accountId #Type: String
displayName #Type: String
}
subscribed #Type: Boolean
subscriptions #Type: Int
subscribers #Type: Int
channel #Type: String
privacy #Type: String
type #Type: String
}
}
}
}
#Variables
{
"id": ""
}
mutation ArtifactMutation($addLabelRequest: AddLabelRequest!, $copyBinaryRequest: CopyBinaryRequest!) {
Artifact {
addLabel(addLabelRequest: $addLabelRequest) { #Type: ArtifactMutationStatus
success #Type: Boolean
}
copyBinary(copyBinaryRequest: $copyBinaryRequest) { #Type: ArtifactMutationStatus
success #Type: Boolean
}
}
}
#Variables
{
"addLabelRequest": {
"organizationId": "",
"productId": "",
"label": "",
"artifactId": "",
"version": "",
"platform": ""
},
"copyBinaryRequest": {
"organizationId": "",
"productId": "",
"label": "",
"sourceArtifactId": "",
"targetArtifactId": "",
"version": ""
}
}
query ArtifactQuery($organizationId: String!, $productId: String!, $id: String!, $labelFilter: String!) {
Artifact {
# Get the list of builds associated with an artifact
artifact(organizationId: $organizationId, productId: $productId, id: $id, labelFilter: $labelFilter) { #Type: Artifact
# The builds
items { #Type: [Build]
manifestLocation { #Type: Manifest
url #Type: String
expires #Type: String
httpMethod #Type: String
}
buildVersion #Type: String
created #Type: String
manifestHash #Type: String
artifactId #Type: String
rvn #Type: Int
updated #Type: String
labels { #Type: [BuildLabel]
labelName #Type: String
platform #Type: String
}
}
# Page cursor
cursors { #Type: PageCursor
# Pagination type
before #Type: String
after #Type: String
}
}
}
}
#Variables
{
"organizationId": "",
"productId": "",
"id": "",
"labelFilter": ""
}
query BlogQuery($locale: String!, $rootPageSlug: String!, $category: String!, $postsPerPage: Int!, $offset: Int!, $slug: String!) {
Blog {
# Get a list of blog posts in the given locale. Using the app's root page, we can then dive in and get the load of posts starting at the offset in the given category 'all' is the default category for getting all posts
getPosts(locale: $locale, rootPageSlug: $rootPageSlug, category: $category, postsPerPage: $postsPerPage, offset: $offset) { #Type: GetPosts
articlesToLoad #Type: Int
blogList { #Type: [Blog]
_id #Type: String
_script #Type: String
_type #Type: String
author #Type: String
category #Type: [String]
title #Type: String
content #Type: String
short_ #Type: String
featured #Type: Boolean
trending #Type: Boolean
date #Type: String
image #Type: String
shareImage #Type: String
shareDescription #Type: String
trendingImage #Type: String
link #Type: String
externalLink #Type: String
locale #Type: String
slug #Type: String
urlPattern #Type: String
url #Type: String
nextSlug #Type: String
prevSlug #Type: String
noTopImage #Type: Boolean
sticky #Type: Boolean
pageMapping #Type: String
}
blogTotal #Type: Int
incrementCount #Type: Int
postCount #Type: Int
categoryTotals { #Type: [CategoryTotal]
name #Type: String
count #Type: Int
}
_meta #Type: String
config { #Type: BlogConfig
hideAuthor #Type: Boolean
hideCategoryLink #Type: Boolean
blogList { #Type: [Blog]
_id #Type: String
_script #Type: String
_type #Type: String
author #Type: String
category #Type: [String]
title #Type: String
content #Type: String
short_ #Type: String
featured #Type: Boolean
trending #Type: Boolean
date #Type: String
image #Type: String
shareImage #Type: String
shareDescription #Type: String
trendingImage #Type: String
link #Type: String
externalLink #Type: String
locale #Type: String
slug #Type: String
urlPattern #Type: String
url #Type: String
nextSlug #Type: String
prevSlug #Type: String
noTopImage #Type: Boolean
sticky #Type: Boolean
pageMapping #Type: String
}
blogTotal #Type: Int
shareConfigs { #Type: [ShareConfig]
type #Type: String
}
shareOptions { #Type: [ShareOption]
name #Type: String
enabled #Type: Boolean
}
useTitleCase #Type: Boolean
}
}
getPost(locale: $locale, slug: $slug, rootPageSlug: $rootPageSlug) { #Type: Blog
_id #Type: String
_script #Type: String
_type #Type: String
author #Type: String
category #Type: [String]
title #Type: String
content #Type: String
short_ #Type: String
featured #Type: Boolean
trending #Type: Boolean
date #Type: String
image #Type: String
shareImage #Type: String
shareDescription #Type: String
trendingImage #Type: String
link #Type: String
externalLink #Type: String
locale #Type: String
slug #Type: String
urlPattern #Type: String
url #Type: String
nextSlug #Type: String
prevSlug #Type: String
noTopImage #Type: Boolean
sticky #Type: Boolean
pageMapping #Type: String
}
}
}
#Variables
{
"locale": "",
"rootPageSlug": "",
"category": "",
"postsPerPage": 0,
"offset": 0,
"slug": ""
}
query CatalogQuery($namespace: String!, $id: String!, $locale: String!, $params: CatalogOfferParams!, $countryAgeFilter: CountryAgeFilterInput!, $country: String!, $category: String!, $slug: String!, $count: Int!, $start: Int!, $currencyId: String!, $countryCode: String!, $sortBy: String!, $sortDir: String!, $excludeZeroReferenceCount: Boolean!) {
Catalog {
# Get the details of a catalog item in a namespace
catalogItem(namespace: $namespace, id: $id, locale: $locale) { #Type: CatalogItem
title #Type: String
description #Type: String
longDescription #Type: String
keyImages { #Type: [Image]
type #Type: String
url #Type: String
md5 #Type: String
width #Type: Int
height #Type: Int
size #Type: Int
uploadedDate #Type: String
}
categories { #Type: [Category]
path #Type: String
}
namespace #Type: String
status #Type: String
creationDate #Type: String
lastModifiedDate #Type: String
id #Type: String
developer #Type: String
eulaIds #Type: [String]
customAttributes { #Type: [CustomAttribute]
key #Type: String
value #Type: String
type #Type: String
}
technicalDetails #Type: String
releaseInfo { #Type: [ReleaseInfo]
appId #Type: String
compatibleApps #Type: [String]
platform #Type: [String]
dateAdded #Type: String
}
entitlementName #Type: String
entitlementType #Type: String
dlcItemList #Type: String (C, a, t, a, l, o, g, I, t, e, m)
mainGameItem #Type: String (C, a, t, a, l, o, g, I, t, e, m)
}
# Get paginated list of catalog offers
catalogOffers(namespace: $namespace, locale: $locale, params: $params, countryAgeFilter: $countryAgeFilter) { #Type: CatalogOffers
# Collection of Catalog Offers and pagination information
elements { #Type: [CatalogOffer]
title #Type: String
description #Type: String
longDescription #Type: String
keyImages { #Type: [Image]
type #Type: String
url #Type: String
md5 #Type: String
width #Type: Int
height #Type: Int
size #Type: Int
uploadedDate #Type: String
}
categories { #Type: [Category]
path #Type: String
}
namespace #Type: String
status #Type: String
creationDate #Type: String
lastModifiedDate #Type: String
id #Type: String
developer #Type: String
eulaIds #Type: [String]
customAttributes { #Type: [CustomAttribute]
key #Type: String
value #Type: String
type #Type: String
}
technicalDetails #Type: String
recurrence #Type: String
items { #Type: [CatalogItem]
title #Type: String
description #Type: String
longDescription #Type: String
keyImages { #Type: [Image]
type #Type: String
url #Type: String
md5 #Type: String
width #Type: Int
height #Type: Int
size #Type: Int
uploadedDate #Type: String
}
categories { #Type: [Category]
path #Type: String
}
namespace #Type: String
status #Type: String
creationDate #Type: String
lastModifiedDate #Type: String
id #Type: String
developer #Type: String
eulaIds #Type: [String]
customAttributes { #Type: [CustomAttribute]
key #Type: String
value #Type: String
type #Type: String
}
technicalDetails #Type: String
releaseInfo { #Type: [ReleaseInfo]
appId #Type: String
compatibleApps #Type: [String]
platform #Type: [String]
dateAdded #Type: String
}
entitlementName #Type: String
entitlementType #Type: String
dlcItemList #Type: String (C, a, t, a, l, o, g, I, t, e, m)
mainGameItem #Type: String (C, a, t, a, l, o, g, I, t, e, m)
}
currencyCode #Type: String
currentPrice #Type: Int
price(country: $country) { #Type: GetPriceRes
zipcode #Type: String
totalTax { #Type: TaxInfo
taxable #Type: Int
taxDetails { #Type: [TaxDetail]
jurisName #Type: String
country #Type: String
taxable #Type: Int
jurisType #Type: String
rate #Type: Int
tax #Type: Int
region #Type: String
taxName #Type: String
}
rate #Type: Int
discount #Type: Int
tax #Type: Int
taxCode #Type: String
taxCalculated #Type: Int
}
country #Type: String
totalPrice { #Type: TotalPrice
unitPrice #Type: Int
originalUnitPrice #Type: Int
discountPercentage { #Type: DiscountPercentage
intVal { #Type: IntVal
signum #Type: Int
mag #Type: String
bit #Type: String
probablePrime #Type: Boolean
}
scale #Type: Int
}
convenienceFee #Type: Int
basePayoutCurrencyCode #Type: String
originalPrice #Type: Int
discountPrice #Type: Int
vat #Type: Int
discount #Type: Int
voucherDiscount #Type: Int
basePayoutPrice #Type: Int
currencyCode #Type: String
fmtPrice(locale: $locale) { #Type: FormattedPrice
originalPrice #Type: String
discountPrice #Type: String
intermediatePrice #Type: String
}
currencyInfo { #Type: Currency
type #Type: String
code #Type: String
symbol #Type: String
description #Type: String
decimals #Type: Int
truncLength #Type: Int
priceRanges #Type: [String]
}
}
coupons #Type: [String]
identityId #Type: String
namespace #Type: String
invoiceId #Type: String
totalPaymentPrice { #Type: TotalPaymentPrice
paymentCurrencyCode #Type: String
paymentCurrencyAmount #Type: Int
paymentCurrencySymbol #Type: String
paymentCurrencyExchangeRate #Type: Int
}
lineOffers { #Type: [LineOfferRes]
ref #Type: String
quantity #Type: Int
taxSkuId #Type: String
price { #Type: LineOfferPrice
unitPrice #Type: Int
originalUnitPrice #Type: Int
discountPercentage { #Type: DiscountPercentage
intVal { #Type: IntVal
signum #Type: Int
mag #Type: String
bit #Type: String
probablePrime #Type: Boolean
}
scale #Type: Int
}
convenienceFee #Type: Int
basePayoutCurrencyCode #Type: String
originalPrice #Type: Int
discountPrice #Type: Int
vat #Type: Int
discount #Type: Int
basePayoutPrice #Type: Int
currencyCode #Type: String
}
appliedRules { #Type: [AppliedRuled]
discountSetting { #Type: DiscountSetting
discountType #Type: String
discountValue #Type: Int
discountPercentage #Type: Int
}
endDate #Type: String
saleType #Type: String
name #Type: String
namespace #Type: String
regionIds #Type: [String]
id #Type: String
promotionSetting { #Type: PromotionSetting
promotionType #Type: String
discountOffers { #Type: [PromotionOffer]
offerId #Type: String
}
}
conditions { #Type: [Condition]
conditionValue #Type: String
condiftionType #Type: String
}
startDate #Type: String
initiatedBy #Type: String
promotionStatus #Type: String
}
lineId #Type: String
offerId #Type: String
tax { #Type: TaxInfo
taxable #Type: Int
taxDetails { #Type: [TaxDetail]
jurisName #Type: String
country #Type: String
taxable #Type: Int
jurisType #Type: String
rate #Type: Int
tax #Type: Int
region #Type: String
taxName #Type: String
}
rate #Type: Int
discount #Type: Int
tax #Type: Int
taxCode #Type: String
taxCalculated #Type: Int
}
}
taxCalculationStatus #Type: String
}
promotions(category: $category) { #Type: Promotions
promotionalOffers { #Type: [PromotionalOffers]
key #Type: String
promotionalOffers { #Type: [Promotion]
id #Type: String
name #Type: String
namespace #Type: String
startDate #Type: String
endDate #Type: String
saleType #Type: String
promotionalStatus #Type: String
conditions { #Type: [PromotionCondition]
conditionType #Type: String
conditionValue #Type: String
}
discountSetting { #Type: DiscountSetting
discountType #Type: String
discountValue #Type: Int
discountPercentage #Type: Int
}
promotionSetting { #Type: PromotionSetting
promotionType #Type: String
discountOffers { #Type: [PromotionOffer]
offerId #Type: String
}
}
initiatedBy #Type: String
}
}
upcomingPromotionalOffers { #Type: [PromotionalOffers]
key #Type: String
promotionalOffers { #Type: [Promotion]
id #Type: String
name #Type: String
namespace #Type: String
startDate #Type: String
endDate #Type: String
saleType #Type: String
promotionalStatus #Type: String
conditions { #Type: [PromotionCondition]
conditionType #Type: String
conditionValue #Type: String
}
discountSetting { #Type: DiscountSetting
discountType #Type: String
discountValue #Type: Int
discountPercentage #Type: Int
}
promotionSetting { #Type: PromotionSetting
promotionType #Type: String
discountOffers { #Type: [PromotionOffer]
offerId #Type: String
}
}
initiatedBy #Type: String
}
}
}
basePrice #Type: Int
basePriceCurrencyCode #Type: String
recurringPrice #Type: Int
freeDays #Type: Int
seller { #Type: Seller
id #Type: String
name #Type: String
}
viewableDate #Type: String
effectiveDate #Type: String
vatIncluded #Type: Boolean
isFeatured #Type: Boolean
urlSlug #Type: String
ignoreOrder #Type: Boolean
fulfillToGroup #Type: Boolean
linkedOfferId #Type: String
linkedOfferNs #Type: String
linkedOffer #Type: String (C, a, t, a, l, o, g, O, f, f, e, r)
url #Type: String
collectionOfferIds #Type: [String]
collectionOffers #Type: String (C, a, t, a, l, o, g, O, f, f, e, r)
productSlug #Type: String
isCountryAgeBlocked #Type: Boolean
catalogNs { #Type: CatalogNamespace
parent #Type: String
taxSkuId #Type: String
displayName #Type: String
eulaIds { #Type: [EulaIds]
value #Type: String
hash #Type: Int
empty #Type: Boolean
}
store #Type: String
merchantGroup #Type: String
namespaceType #Type: String
accessType #Type: String
sellerRevenueShare #Type: Int
addVatToPrice #Type: Boolean
convenienceFee #Type: Boolean
ageGating { #Type: [AgeGating]
country #Type: String
age #Type: Int
}
name #Type: String
defaultPublic #Type: Boolean
region #Type: String
priceTierType #Type: String
status #Type: String
accountAuthorized #Type: Boolean
}
tags { #Type: [Tag]
aliases #Type: [String]
created #Type: String
referenceCount #Type: Int
namespace #Type: String
name #Type: String
comment #Type: String
id #Type: String
updated #Type: String
operator #Type: String
status #Type: String
}
}
paging { #Type: Pagination
# Common Pagination type
total #Type: Int
count #Type: Int
start #Type: Int
}
}
# Get the details of a catalog offer in a namespace
catalogOffer(namespace: $namespace, id: $id, locale: $locale, countryAgeFilter: $countryAgeFilter) { #Type: CatalogOffer
title #Type: String
description #Type: String
longDescription #Type: String
keyImages { #Type: [Image]
type #Type: String
url #Type: String
md5 #Type: String
width #Type: Int
height #Type: Int
size #Type: Int
uploadedDate #Type: String
}
categories { #Type: [Category]
path #Type: String
}
namespace #Type: String
status #Type: String
creationDate #Type: String
lastModifiedDate #Type: String
id #Type: String
developer #Type: String
eulaIds #Type: [String]
customAttributes { #Type: [CustomAttribute]
key #Type: String
value #Type: String
type #Type: String
}
technicalDetails #Type: String
recurrence #Type: String
items { #Type: [CatalogItem]
title #Type: String
description #Type: String
longDescription #Type: String
keyImages { #Type: [Image]
type #Type: String
url #Type: String
md5 #Type: String
width #Type: Int
height #Type: Int
size #Type: Int
uploadedDate #Type: String
}
categories { #Type: [Category]
path #Type: String
}
namespace #Type: String
status #Type: String
creationDate #Type: String
lastModifiedDate #Type: String
id #Type: String
developer #Type: String
eulaIds #Type: [String]
customAttributes { #Type: [CustomAttribute]
key #Type: String
value #Type: String
type #Type: String
}
technicalDetails #Type: String
releaseInfo { #Type: [ReleaseInfo]
appId #Type: String
compatibleApps #Type: [String]
platform #Type: [String]
dateAdded #Type: String
}
entitlementName #Type: String
entitlementType #Type: String
dlcItemList #Type: String (C, a, t, a, l, o, g, I, t, e, m)
mainGameItem #Type: String (C, a, t, a, l, o, g, I, t, e, m)
}
currencyCode #Type: String
currentPrice #Type: Int
price(country: $country) { #Type: GetPriceRes
zipcode #Type: String
totalTax { #Type: TaxInfo
taxable #Type: Int
taxDetails { #Type: [TaxDetail]
jurisName #Type: String
country #Type: String
taxable #Type: Int
jurisType #Type: String
rate #Type: Int
tax #Type: Int
region #Type: String
taxName #Type: String
}
rate #Type: Int
discount #Type: Int
tax #Type: Int
taxCode #Type: String
taxCalculated #Type: Int
}
country #Type: String
totalPrice { #Type: TotalPrice
unitPrice #Type: Int
originalUnitPrice #Type: Int
discountPercentage { #Type: DiscountPercentage
intVal { #Type: IntVal
signum #Type: Int
mag #Type: String
bit #Type: String
probablePrime #Type: Boolean
}
scale #Type: Int
}
convenienceFee #Type: Int
basePayoutCurrencyCode #Type: String
originalPrice #Type: Int
discountPrice #Type: Int
vat #Type: Int
discount #Type: Int
voucherDiscount #Type: Int
basePayoutPrice #Type: Int
currencyCode #Type: String
fmtPrice(locale: $locale) { #Type: FormattedPrice
originalPrice #Type: String
discountPrice #Type: String
intermediatePrice #Type: String
}
currencyInfo { #Type: Currency
type #Type: String
code #Type: String
symbol #Type: String
description #Type: String
decimals #Type: Int
truncLength #Type: Int
priceRanges #Type: [String]
}
}
coupons #Type: [String]
identityId #Type: String
namespace #Type: String
invoiceId #Type: String
totalPaymentPrice { #Type: TotalPaymentPrice
paymentCurrencyCode #Type: String
paymentCurrencyAmount #Type: Int
paymentCurrencySymbol #Type: String
paymentCurrencyExchangeRate #Type: Int
}
lineOffers { #Type: [LineOfferRes]
ref #Type: String
quantity #Type: Int
taxSkuId #Type: String
price { #Type: LineOfferPrice
unitPrice #Type: Int
originalUnitPrice #Type: Int
discountPercentage { #Type: DiscountPercentage
intVal { #Type: IntVal
signum #Type: Int
mag #Type: String
bit #Type: String
probablePrime #Type: Boolean
}
scale #Type: Int
}
convenienceFee #Type: Int
basePayoutCurrencyCode #Type: String
originalPrice #Type: Int
discountPrice #Type: Int
vat #Type: Int
discount #Type: Int
basePayoutPrice #Type: Int
currencyCode #Type: String
}
appliedRules { #Type: [AppliedRuled]
discountSetting { #Type: DiscountSetting
discountType #Type: String
discountValue #Type: Int
discountPercentage #Type: Int
}
endDate #Type: String
saleType #Type: String
name #Type: String
namespace #Type: String
regionIds #Type: [String]
id #Type: String
promotionSetting { #Type: PromotionSetting
promotionType #Type: String
discountOffers { #Type: [PromotionOffer]
offerId #Type: String
}
}
conditions { #Type: [Condition]
conditionValue #Type: String
condiftionType #Type: String
}
startDate #Type: String
initiatedBy #Type: String
promotionStatus #Type: String
}
lineId #Type: String
offerId #Type: String
tax { #Type: TaxInfo
taxable #Type: Int
taxDetails { #Type: [TaxDetail]
jurisName #Type: String
country #Type: String
taxable #Type: Int
jurisType #Type: String
rate #Type: Int
tax #Type: Int
region #Type: String
taxName #Type: String
}
rate #Type: Int
discount #Type: Int
tax #Type: Int
taxCode #Type: String
taxCalculated #Type: Int
}
}
taxCalculationStatus #Type: String
}
promotions(category: $category) { #Type: Promotions
promotionalOffers { #Type: [PromotionalOffers]
key #Type: String
promotionalOffers { #Type: [Promotion]
id #Type: String
name #Type: String
namespace #Type: String
startDate #Type: String
endDate #Type: String
saleType #Type: String
promotionalStatus #Type: String
conditions { #Type: [PromotionCondition]
conditionType #Type: String
conditionValue #Type: String
}
discountSetting { #Type: DiscountSetting
discountType #Type: String
discountValue #Type: Int
discountPercentage #Type: Int
}
promotionSetting { #Type: PromotionSetting
promotionType #Type: String
discountOffers { #Type: [PromotionOffer]
offerId #Type: String
}
}
initiatedBy #Type: String
}
}
upcomingPromotionalOffers { #Type: [PromotionalOffers]
key #Type: String
promotionalOffers { #Type: [Promotion]
id #Type: String
name #Type: String
namespace #Type: String
startDate #Type: String
endDate #Type: String
saleType #Type: String
promotionalStatus #Type: String
conditions { #Type: [PromotionCondition]
conditionType #Type: String
conditionValue #Type: String
}
discountSetting { #Type: DiscountSetting
discountType #Type: String
discountValue #Type: Int
discountPercentage #Type: Int
}
promotionSetting { #Type: PromotionSetting
promotionType #Type: String
discountOffers { #Type: [PromotionOffer]
offerId #Type: String
}
}
initiatedBy #Type: String
}
}
}
basePrice #Type: Int
basePriceCurrencyCode #Type: String
recurringPrice #Type: Int
freeDays #Type: Int
seller { #Type: Seller
id #Type: String
name #Type: String
}
viewableDate #Type: String
effectiveDate #Type: String
vatIncluded #Type: Boolean
isFeatured #Type: Boolean
urlSlug #Type: String
ignoreOrder #Type: Boolean
fulfillToGroup #Type: Boolean
linkedOfferId #Type: String
linkedOfferNs #Type: String
linkedOffer #Type: String (C, a, t, a, l, o, g, O, f, f, e, r)
url #Type: String
collectionOfferIds #Type: [String]
collectionOffers #Type: String (C, a, t, a, l, o, g, O, f, f, e, r)
productSlug #Type: String
isCountryAgeBlocked #Type: Boolean
catalogNs { #Type: CatalogNamespace
parent #Type: String
taxSkuId #Type: String
displayName #Type: String
eulaIds { #Type: [EulaIds]
value #Type: String
hash #Type: Int
empty #Type: Boolean
}
store #Type: String
merchantGroup #Type: String
namespaceType #Type: String
accessType #Type: String
sellerRevenueShare #Type: Int
addVatToPrice #Type: Boolean
convenienceFee #Type: Boolean
ageGating { #Type: [AgeGating]
country #Type: String
age #Type: Int
}
name #Type: String
defaultPublic #Type: Boolean
region #Type: String
priceTierType #Type: String
status #Type: String
accountAuthorized #Type: Boolean
}
tags { #Type: [Tag]
aliases #Type: [String]
created #Type: String
referenceCount #Type: Int
namespace #Type: String
name #Type: String
comment #Type: String
id #Type: String
updated #Type: String
operator #Type: String
status #Type: String
}
}
# Get the details of a catalog offer in a namespace by slug
catalogOfferBySlug(namespace: $namespace, slug: $slug, locale: $locale, countryAgeFilter: $countryAgeFilter) { #Type: CatalogOffer
title #Type: String
description #Type: String
longDescription #Type: String
keyImages { #Type: [Image]
type #Type: String
url #Type: String
md5 #Type: String
width #Type: Int
height #Type: Int
size #Type: Int
uploadedDate #Type: String
}
categories { #Type: [Category]
path #Type: String
}
namespace #Type: String
status #Type: String
creationDate #Type: String
lastModifiedDate #Type: String
id #Type: String
developer #Type: String
eulaIds #Type: [String]
customAttributes { #Type: [CustomAttribute]
key #Type: String
value #Type: String
type #Type: String
}
technicalDetails #Type: String
recurrence #Type: String
items { #Type: [CatalogItem]
title #Type: String
description #Type: String
longDescription #Type: String
keyImages { #Type: [Image]
type #Type: String
url #Type: String
md5 #Type: String
width #Type: Int
height #Type: Int
size #Type: Int
uploadedDate #Type: String
}
categories { #Type: [Category]
path #Type: String
}
namespace #Type: String
status #Type: String
creationDate #Type: String
lastModifiedDate #Type: String
id #Type: String
developer #Type: String
eulaIds #Type: [String]
customAttributes { #Type: [CustomAttribute]
key #Type: String
value #Type: String
type #Type: String
}
technicalDetails #Type: String
releaseInfo { #Type: [ReleaseInfo]
appId #Type: String
compatibleApps #Type: [String]
platform #Type: [String]
dateAdded #Type: String
}
entitlementName #Type: String
entitlementType #Type: String
dlcItemList #Type: String (C, a, t, a, l, o, g, I, t, e, m)
mainGameItem #Type: String (C, a, t, a, l, o, g, I, t, e, m)
}
currencyCode #Type: String
currentPrice #Type: Int
price(country: $country) { #Type: GetPriceRes
zipcode #Type: String
totalTax { #Type: TaxInfo
taxable #Type: Int
taxDetails { #Type: [TaxDetail]
jurisName #Type: String
country #Type: String
taxable #Type: Int
jurisType #Type: String
rate #Type: Int
tax #Type: Int
region #Type: String
taxName #Type: String
}
rate #Type: Int
discount #Type: Int
tax #Type: Int
taxCode #Type: String
taxCalculated #Type: Int
}
country #Type: String
totalPrice { #Type: TotalPrice
unitPrice #Type: Int
originalUnitPrice #Type: Int
discountPercentage { #Type: DiscountPercentage
intVal { #Type: IntVal
signum #Type: Int
mag #Type: String
bit #Type: String
probablePrime #Type: Boolean
}
scale #Type: Int
}
convenienceFee #Type: Int
basePayoutCurrencyCode #Type: String
originalPrice #Type: Int
discountPrice #Type: Int
vat #Type: Int
discount #Type: Int
voucherDiscount #Type: Int
basePayoutPrice #Type: Int
currencyCode #Type: String
fmtPrice(locale: $locale) { #Type: FormattedPrice
originalPrice #Type: String
discountPrice #Type: String
intermediatePrice #Type: String
}
currencyInfo { #Type: Currency
type #Type: String
code #Type: String
symbol #Type: String
description #Type: String
decimals #Type: Int
truncLength #Type: Int
priceRanges #Type: [String]
}
}
coupons #Type: [String]
identityId #Type: String
namespace #Type: String
invoiceId #Type: String
totalPaymentPrice { #Type: TotalPaymentPrice
paymentCurrencyCode #Type: String
paymentCurrencyAmount #Type: Int
paymentCurrencySymbol #Type: String
paymentCurrencyExchangeRate #Type: Int
}
lineOffers { #Type: [LineOfferRes]
ref #Type: String
quantity #Type: Int
taxSkuId #Type: String
price { #Type: LineOfferPrice
unitPrice #Type: Int
originalUnitPrice #Type: Int
discountPercentage { #Type: DiscountPercentage
intVal { #Type: IntVal
signum #Type: Int
mag #Type: String
bit #Type: String
probablePrime #Type: Boolean
}
scale #Type: Int
}
convenienceFee #Type: Int
basePayoutCurrencyCode #Type: String
originalPrice #Type: Int
discountPrice #Type: Int
vat #Type: Int
discount #Type: Int
basePayoutPrice #Type: Int
currencyCode #Type: String
}
appliedRules { #Type: [AppliedRuled]
discountSetting { #Type: DiscountSetting
discountType #Type: String
discountValue #Type: Int
discountPercentage #Type: Int
}
endDate #Type: String
saleType #Type: String
name #Type: String
namespace #Type: String
regionIds #Type: [String]
id #Type: String
promotionSetting { #Type: PromotionSetting
promotionType #Type: String
discountOffers { #Type: [PromotionOffer]
offerId #Type: String
}
}
conditions { #Type: [Condition]
conditionValue #Type: String
condiftionType #Type: String
}
startDate #Type: String
initiatedBy #Type: String
promotionStatus #Type: String
}
lineId #Type: String
offerId #Type: String
tax { #Type: TaxInfo
taxable #Type: Int
taxDetails { #Type: [TaxDetail]
jurisName #Type: String
country #Type: String
taxable #Type: Int
jurisType #Type: String
rate #Type: Int
tax #Type: Int
region #Type: String
taxName #Type: String
}
rate #Type: Int
discount #Type: Int
tax #Type: Int
taxCode #Type: String
taxCalculated #Type: Int
}
}
taxCalculationStatus #Type: String
}
promotions(category: $category) { #Type: Promotions
promotionalOffers { #Type: [PromotionalOffers]
key #Type: String
promotionalOffers { #Type: [Promotion]
id #Type: String
name #Type: String
namespace #Type: String
startDate #Type: String
endDate #Type: String
saleType #Type: String
promotionalStatus #Type: String
conditions { #Type: [PromotionCondition]
conditionType #Type: String
conditionValue #Type: String
}
discountSetting { #Type: DiscountSetting
discountType #Type: String
discountValue #Type: Int
discountPercentage #Type: Int
}
promotionSetting { #Type: PromotionSetting
promotionType #Type: String
discountOffers { #Type: [PromotionOffer]
offerId #Type: String
}
}
initiatedBy #Type: String
}
}
upcomingPromotionalOffers { #Type: [PromotionalOffers]
key #Type: String
promotionalOffers { #Type: [Promotion]
id #Type: String
name #Type: String
namespace #Type: String
startDate #Type: String
endDate #Type: String
saleType #Type: String
promotionalStatus #Type: String
conditions { #Type: [PromotionCondition]
conditionType #Type: String
conditionValue #Type: String
}
discountSetting { #Type: DiscountSetting
discountType #Type: String
discountValue #Type: Int
discountPercentage #Type: Int
}
promotionSetting { #Type: PromotionSetting
promotionType #Type: String
discountOffers { #Type: [PromotionOffer]
offerId #Type: String
}
}
initiatedBy #Type: String
}
}
}
basePrice #Type: Int
basePriceCurrencyCode #Type: String
recurringPrice #Type: Int
freeDays #Type: Int
seller { #Type: Seller
id #Type: String
name #Type: String
}
viewableDate #Type: String
effectiveDate #Type: String
vatIncluded #Type: Boolean
isFeatured #Type: Boolean
urlSlug #Type: String
ignoreOrder #Type: Boolean
fulfillToGroup #Type: Boolean
linkedOfferId #Type: String
linkedOfferNs #Type: String
linkedOffer #Type: String (C, a, t, a, l, o, g, O, f, f, e, r)
url #Type: String
collectionOfferIds #Type: [String]
collectionOffers #Type: String (C, a, t, a, l, o, g, O, f, f, e, r)
productSlug #Type: String
isCountryAgeBlocked #Type: Boolean
catalogNs { #Type: CatalogNamespace
parent #Type: String
taxSkuId #Type: String
displayName #Type: String
eulaIds { #Type: [EulaIds]
value #Type: String
hash #Type: Int
empty #Type: Boolean
}
store #Type: String
merchantGroup #Type: String
namespaceType #Type: String
accessType #Type: String
sellerRevenueShare #Type: Int
addVatToPrice #Type: Boolean
convenienceFee #Type: Boolean
ageGating { #Type: [AgeGating]
country #Type: String
age #Type: Int
}
name #Type: String
defaultPublic #Type: Boolean
region #Type: String
priceTierType #Type: String
status #Type: String
accountAuthorized #Type: Boolean
}
tags { #Type: [Tag]
aliases #Type: [String]
created #Type: String
referenceCount #Type: Int
namespace #Type: String
name #Type: String
comment #Type: String
id #Type: String
updated #Type: String
operator #Type: String
status #Type: String
}
}
# Get the full list of sub items granted by the offer
offerSubItems(namespace: $namespace, id: $id, locale: $locale) { #Type: [CatalogItem]
title #Type: String
description #Type: String
longDescription #Type: String
keyImages { #Type: [Image]
type #Type: String
url #Type: String
md5 #Type: String
width #Type: Int
height #Type: Int
size #Type: Int
uploadedDate #Type: String
}
categories { #Type: [Category]
path #Type: String
}
namespace #Type: String
status #Type: String
creationDate #Type: String
lastModifiedDate #Type: String
id #Type: String
developer #Type: String
eulaIds #Type: [String]
customAttributes { #Type: [CustomAttribute]
key #Type: String
value #Type: String
type #Type: String
}
technicalDetails #Type: String
releaseInfo { #Type: [ReleaseInfo]
appId #Type: String
compatibleApps #Type: [String]
platform #Type: [String]
dateAdded #Type: String
}
entitlementName #Type: String
entitlementType #Type: String
dlcItemList #Type: String (C, a, t, a, l, o, g, I, t, e, m)
mainGameItem #Type: String (C, a, t, a, l, o, g, I, t, e, m)
}
# Get list of supported currencies
supportedCurrencies(count: $count, start: $start) { #Type: Currencies
elements { #Type: [Currency]
type #Type: String
code #Type: String
symbol #Type: String
description #Type: String
decimals #Type: Int
truncLength #Type: Int
priceRanges #Type: [String]
}
paging { #Type: Pagination
# Common Pagination type
total #Type: Int
count #Type: Int
start #Type: Int
}
}
# Get details of a currency given an ID
currency(currencyId: $currencyId) { #Type: Currency
type #Type: String
code #Type: String
symbol #Type: String
description #Type: String
decimals #Type: Int
truncLength #Type: Int
priceRanges #Type: [String]
}
# Get details of a country given a country code
countryData(countryCode: $countryCode) { #Type: Country
currencySymbolPlacement #Type: String
defaultCurrency #Type: String
paymentCurrency #Type: String
}
lastCatalogUpdate #Type: String
catalogNs(namespace: $namespace) { #Type: CatalogNamespace
parent #Type: String
taxSkuId #Type: String
displayName #Type: String
eulaIds { #Type: [EulaIds]
value #Type: String
hash #Type: Int
empty #Type: Boolean
}
store #Type: String
merchantGroup #Type: String
namespaceType #Type: String
accessType #Type: String
sellerRevenueShare #Type: Int
addVatToPrice #Type: Boolean
convenienceFee #Type: Boolean
ageGating { #Type: [AgeGating]
country #Type: String
age #Type: Int
}
name #Type: String
defaultPublic #Type: Boolean
region #Type: String
priceTierType #Type: String
status #Type: String
accountAuthorized #Type: Boolean
}
myCountryFilter { #Type: PlayerCountryAgeFilterSetting
hasCountryFilter #Type: Boolean
ageGroup #Type: Int
country #Type: String
}
tags(namespace: $namespace, count: $count, start: $start, locale: $locale, sortBy: $sortBy, sortDir: $sortDir, excludeZeroReferenceCount: $excludeZeroReferenceCount) { #Type: Tags
elements { #Type: [Tag]
aliases #Type: [String]
created #Type: String
referenceCount #Type: Int
namespace #Type: String
name #Type: String
comment #Type: String
id #Type: String
updated #Type: String
operator #Type: String
status #Type: String
}
paging { #Type: Pagination
# Common Pagination type
total #Type: Int
count #Type: Int
start #Type: Int
}
}
tagById(namespace: $namespace, id: $id) { #Type: Tag
aliases #Type: [String]
created #Type: String
referenceCount #Type: Int
namespace #Type: String
name #Type: String
comment #Type: String
id #Type: String
updated #Type: String
operator #Type: String
status #Type: String
}
}
}
#Variables
{
"namespace": "",
"id": "",
"locale": "",
"params": {
"keywords": "",
"category": "",
"tag": "",
"status": "",
"country": "",
"sortBy": "",
"sortDir": "",
"seller": "",
"sellerId": "",
"platform": "",
"priceRange": "",
"saleType": "",
"discountPercentage": "",
"count": 0,
"start": 0,
"effectiveDate": ""
},
"countryAgeFilter": {
"shouldCheck": true,
"filterCountry": "",
"filterAgeGroup": 0
},
"country": "",
"category": "",
"slug": "",
"count": 0,
"start": 0,
"currencyId": "",
"countryCode": "",
"sortBy": "",
"sortDir": "",
"excludeZeroReferenceCount": true
}
mutation ChannelsMutation($createChannelRequest: CreateChannelRequest!, $containerId: String!, $editChannelRequest: EditChannelRequest!, $members: [String]!, $containerType: ContainerType!, $createMessageRequest: CreateMessageRequest!, $messageId: String!, $reaction: String!) {
Channels {
createChannel(createChannelRequest: $createChannelRequest) { #Type: ChannelMutationStatus
channelId #Type: String
success #Type: Boolean
}
editChannel(containerId: $containerId, editChannelRequest: $editChannelRequest) { #Type: ChannelMutationStatus
channelId #Type: String
success #Type: Boolean
}
leaveChannel(containerId: $containerId) { #Type: ChannelMutationStatus
channelId #Type: String
success #Type: Boolean
}
deleteChannel(containerId: $containerId) { #Type: ChannelMutationStatus
channelId #Type: String
success #Type: Boolean
}
addMembers(containerId: $containerId, members: $members) { #Type: Channel
# Either the channel or direct message conversation id.
id #Type: String
# Either the channel or direct message conversation id.
channelId #Type: String
# If a channel, the name of the channel.
name #Type: String
# An enumeration of
badge #Type: String (ace, arm, bush, clown, crown, crab, dog, donut, finger, ghost, mushroom, ninja, pot, potato, radio, rainbow, seal, skele, unicorn)
# The background color of the badge
badgeColor #Type: [String]
# The id of the last read message in this channel or direct message conversation.
lastRead #Type: String
# The count of unread messages for this channel or direct message conversation.
unreadCount #Type: Int
# A list of members of the channel.
members { #Type: [ChannelMember]
accountId #Type: String
displayName #Type: String
}
subscribed #Type: Boolean
subscriptions #Type: Int
subscribers #Type: Int
channel #Type: String
privacy #Type: String
type #Type: String
}
createMessage(containerType: $containerType, containerId: $containerId, createMessageRequest: $createMessageRequest) { #Type: MesssageCreateResult
id #Type: String
entities { #Type: [MessageCreateEntity]
tag #Type: String
type #Type: String (website, audio, video, image, gif, user, file, highlight)
id #Type: String
uploadUrl #Type: String
}
}
deleteMessage(containerType: $containerType, containerId: $containerId, messageId: $messageId) { #Type: MessageResponseEntity
success #Type: Boolean
}
reactToMessage(containerType: $containerType, containerId: $containerId, messageId: $messageId, reaction: $reaction) { #Type: MessageResponseEntity
success #Type: Boolean
}
deleteReactionToMessage(containerType: $containerType, containerId: $containerId, messageId: $messageId, reaction: $reaction) { #Type: MessageResponseEntity
success #Type: Boolean
}
readMessage(containerType: $containerType, containerId: $containerId, messageId: $messageId) { #Type: MessageResponseEntity
success #Type: Boolean
}
}
}
#Variables
{
"createChannelRequest": {
"name": "",
"badge": "ace, arm, bush, clown, crown, crab, dog, donut, finger, ghost, mushroom, ninja, pot, potato, radio, rainbow, seal, skele, unicorn",
"badgeColor": [
""
],
"members": [
""
]
},
"containerId": "",
"editChannelRequest": {
"name": "",
"badge": "ace, arm, bush, clown, crown, crab, dog, donut, finger, ghost, mushroom, ninja, pot, potato, radio, rainbow, seal, skele, unicorn",
"badgeColor": [
""
]
},
"members": "",
"containerType": "channel, dm",
"createMessageRequest": {
"message": "",
"entities": [
{
"tag": "",
"title": "",
"description": "",
"type": "website, audio, video, image, gif, user, file, highlight",
"contentType": "",
"filename": "",
"metadata": {
"key": "",
"value": ""
}
}
]
},
"messageId": "",
"reaction": ""
}
query ChannelsQuery($containerId: String!, $containerType: ContainerType!, $sort: ChannelSort!, $messageId: String!) {
Channels {
channel(containerId: $containerId) { #Type: Channel
# Either the channel or direct message conversation id.
id #Type: String
# Either the channel or direct message conversation id.
channelId #Type: String
# If a channel, the name of the channel.
name #Type: String
# An enumeration of
badge #Type: String (ace, arm, bush, clown, crown, crab, dog, donut, finger, ghost, mushroom, ninja, pot, potato, radio, rainbow, seal, skele, unicorn)
# The background color of the badge
badgeColor #Type: [String]
# The id of the last read message in this channel or direct message conversation.
lastRead #Type: String
# The count of unread messages for this channel or direct message conversation.
unreadCount #Type: Int
# A list of members of the channel.
members { #Type: [ChannelMember]
accountId #Type: String
displayName #Type: String
}
subscribed #Type: Boolean
subscriptions #Type: Int
subscribers #Type: Int
channel #Type: String
privacy #Type: String
type #Type: String
}
summary { #Type: ChannelSummary
channels { #Type: [ConversationState]
# Either the channel or direct message conversation id.
channelId #Type: String
# If a channel, the name of the channel.
name #Type: String
# List of participant ids (DM only)
participants #Type: [String]
# The badge associated with the channel
badge #Type: String
# The badge color associated with the channel
badgeColor #Type: [String]
# The id of the last read message in this channel or direct message conversation.
lastRead #Type: String
# The count of unread messages for this channel or direct message conversation.
unreadCount #Type: Int
# The last message that was sent to the channel.
mostRecentMessage { #Type: MostRecentMessage
message { #Type: Message
id #Type: String
containerType #Type: String
containerId #Type: String
accountId #Type: String
message #Type: String
timestamp #Type: String
editedAt #Type: String
reactions { #Type: [Reaction]
reaction #Type: String
users #Type: [String]
}
entities { #Type: [Entity]
id #Type: String
title #Type: String
description #Type: String
type #Type: String (website, audio, video, image, gif, user, file, highlight)
links { #Type: [EntityLink]
contentType #Type: String
url #Type: String
profile #Type: String
width #Type: Int
height #Type: Int
duration #Type: Int
}
}
}
users { #Type: [ChannelMember]
accountId #Type: String
displayName #Type: String
}
}
# A list of members of the channel. (Groups only)
members #Type: [String]
}
dms { #Type: [ConversationState]
# Either the channel or direct message conversation id.
channelId #Type: String
# If a channel, the name of the channel.
name #Type: String
# List of participant ids (DM only)
participants #Type: [String]
# The badge associated with the channel
badge #Type: String
# The badge color associated with the channel
badgeColor #Type: [String]
# The id of the last read message in this channel or direct message conversation.
lastRead #Type: String
# The count of unread messages for this channel or direct message conversation.
unreadCount #Type: Int
# The last message that was sent to the channel.
mostRecentMessage { #Type: MostRecentMessage
message { #Type: Message
id #Type: String
containerType #Type: String
containerId #Type: String
accountId #Type: String
message #Type: String
timestamp #Type: String
editedAt #Type: String
reactions { #Type: [Reaction]
reaction #Type: String
users #Type: [String]
}
entities { #Type: [Entity]
id #Type: String
title #Type: String
description #Type: String
type #Type: String (website, audio, video, image, gif, user, file, highlight)
links { #Type: [EntityLink]
contentType #Type: String
url #Type: String
profile #Type: String
width #Type: Int
height #Type: Int
duration #Type: Int
}
}
}
users { #Type: [ChannelMember]
accountId #Type: String
displayName #Type: String
}
}
# A list of members of the channel. (Groups only)
members #Type: [String]
}
}
messages(containerType: $containerType, containerId: $containerId, sort: $sort) { #Type: MessagesResult
messages { #Type: [Message]
id #Type: String
containerType #Type: String
containerId #Type: String
accountId #Type: String
message #Type: String
timestamp #Type: String
editedAt #Type: String
reactions { #Type: [Reaction]
reaction #Type: String
users #Type: [String]
}
entities { #Type: [Entity]
id #Type: String
title #Type: String
description #Type: String
type #Type: String (website, audio, video, image, gif, user, file, highlight)
links { #Type: [EntityLink]
contentType #Type: String
url #Type: String
profile #Type: String
width #Type: Int
height #Type: Int
duration #Type: Int
}
}
}
users { #Type: [UserDetail]
accountId #Type: String
displayName #Type: String
}
}
message(containerType: $containerType, containerId: $containerId, messageId: $messageId) { #Type: MessageResult
message { #Type: Message
id #Type: String
containerType #Type: String
containerId #Type: String
accountId #Type: String
message #Type: String
timestamp #Type: String
editedAt #Type: String
reactions { #Type: [Reaction]
reaction #Type: String
users #Type: [String]
}
entities { #Type: [Entity]
id #Type: String
title #Type: String
description #Type: String
type #Type: String (website, audio, video, image, gif, user, file, highlight)
links { #Type: [EntityLink]
contentType #Type: String
url #Type: String
profile #Type: String
width #Type: Int
height #Type: Int
duration #Type: Int
}
}
}
users { #Type: [UserDetail]
accountId #Type: String
displayName #Type: String
}
}
}
}
#Variables
{
"containerId": "",
"containerType": "channel, dm",
"sort": "asc, desc",
"messageId": ""
}
mutation CodeRedemptionMutation($country: String!, $identityId: String!, $language: String!, $salesEventId: String!, $codeId: String!, $locale: String!, $codeUseId: String!, $source: String!) {
CodeRedemption {
# Claims a free coupon code for a sales event
claimFreeCoupon(country: $country, identityId: $identityId, language: $language, salesEventId: $salesEventId) { #Type: CouponDetails
allowRepeatedUsesBySameUser #Type: Boolean
batchId #Type: String
batchLimit #Type: Int
batchNumber #Type: Int
consumptionMetadata { #Type: CouponConsumptionMetadata
amountDisplay { #Type: CouponConsumptionMetadataAmountDisplay
amount #Type: String
currency #Type: String
placement #Type: String
symbol #Type: String
}
applyMerchantGroup #Type: [String]
epicSalesEventId #Type: String
minSalesPriceDisplay { #Type: CouponConsumptionMetadataAmountDisplay
amount #Type: String
currency #Type: String
placement #Type: String
symbol #Type: String
}
}
creator #Type: String
code #Type: String
codeRuleId #Type: String
codeStatus #Type: String
codeType #Type: String (COUPON, REDEMPTION)
completedCount #Type: Int
dateCreated #Type: String
distributionDate #Type: String
endDate #Type: String
freeCouponsRemaining #Type: Int
maxNumberOfUses #Type: Int
namespace #Type: String
salesEvent { #Type: SalesEvent
currencyRewards { #Type: [SalesEventCurrencyReward]
currency { #Type: SalesEventCurrency
code #Type: String
decimals #Type: Int
description #Type: String
priceRanges #Type: [String]
symbol #Type: String
type #Type: String
}
reward #Type: Int
minSalePrice #Type: Int
}
endDate #Type: String
eventName #Type: String
freeCouponsRemaining(identityId: $identityId) #Type: Int
freeVoucherAccountAmount #Type: Int
grantInitialVoucher #Type: Boolean
id #Type: String
eventSlug #Type: String
eventType #Type: String (DISCOUNT, VOUCHER)
merchantGroups #Type: [String]
startDate #Type: String
voucherEffectiveDays #Type: Int
voucherExpirationDate #Type: String
voucherImages { #Type: [SalesEventVoucherImage]
type #Type: String
url #Type: String
}
voucherMaxAccountAmount #Type: Int
voucherName #Type: String
}
startDate #Type: String
useCount #Type: Int
}
# Locks the code and returns a codeUseId and details to be displayed to the user
lockCode(codeId: $codeId, locale: $locale) { #Type: ServiceResponse
success #Type: Boolean
data { #Type: OfferDetails
offerId #Type: String
namespace #Type: String
title #Type: String
description #Type: String
image #Type: String
eulaIds #Type: [String]
entitlementName #Type: String
codeUseId #Type: String
}
}
# Unlocks the code and returns details to be displayed to the user
unlockCode(codeId: $codeId, codeUseId: $codeUseId) { #Type: ServiceResponse
success #Type: Boolean
data { #Type: OfferDetails
offerId #Type: String
namespace #Type: String
title #Type: String
description #Type: String
image #Type: String
eulaIds #Type: [String]
entitlementName #Type: String
codeUseId #Type: String
}
}
# Redeems the code and marks it as used
redeemCode(codeId: $codeId, source: $source, codeUseId: $codeUseId) { #Type: ServiceResponse
success #Type: Boolean
data { #Type: OfferDetails
offerId #Type: String
namespace #Type: String
title #Type: String
description #Type: String
image #Type: String
eulaIds #Type: [String]
entitlementName #Type: String
codeUseId #Type: String
}
}
}
}
#Variables
{
"country": "",
"identityId": "",
"language": "",
"salesEventId": "",
"codeId": "",
"locale": "",
"codeUseId": "",
"source": ""
}
query CodeRedemptionQuery($ackByUser: Boolean!, $codeId: String!, $codeType: CouponCodeType!, $count: Int!, $currencyCountry: String!, $identityId: String!, $includeSalesEventInfo: Boolean!, $label: [String]!, $minAvailableLevel: CouponAvailabilityLevel!, $merchantGroup: String!, $namespace: String!, $operatorId: String!, $sortBy: String!, $sortDir: String!, $start: Int!, $locale: String!) {
CodeRedemption {
# get available coupon codes by identity id
coupons(ackByUser: $ackByUser, codeId: $codeId, codeType: $codeType, count: $count, currencyCountry: $currencyCountry, identityId: $identityId, includeSalesEventInfo: $includeSalesEventInfo, label: $label, minAvailableLevel: $minAvailableLevel, merchantGroup: $merchantGroup, namespace: $namespace, operatorId: $operatorId, sortBy: $sortBy, sortDir: $sortDir, start: $start) { #Type: [CouponDetails]
allowRepeatedUsesBySameUser #Type: Boolean
batchId #Type: String
batchLimit #Type: Int
batchNumber #Type: Int
consumptionMetadata { #Type: CouponConsumptionMetadata
amountDisplay { #Type: CouponConsumptionMetadataAmountDisplay
amount #Type: String
currency #Type: String
placement #Type: String
symbol #Type: String
}
applyMerchantGroup #Type: [String]
epicSalesEventId #Type: String
minSalesPriceDisplay { #Type: CouponConsumptionMetadataAmountDisplay
amount #Type: String
currency #Type: String
placement #Type: String
symbol #Type: String
}
}
creator #Type: String
code #Type: String
codeRuleId #Type: String
codeStatus #Type: String
codeType #Type: String (COUPON, REDEMPTION)
completedCount #Type: Int
dateCreated #Type: String
distributionDate #Type: String
endDate #Type: String
freeCouponsRemaining #Type: Int
maxNumberOfUses #Type: Int
namespace #Type: String
salesEvent { #Type: SalesEvent
currencyRewards { #Type: [SalesEventCurrencyReward]
currency { #Type: SalesEventCurrency
code #Type: String
decimals #Type: Int
description #Type: String
priceRanges #Type: [String]
symbol #Type: String
type #Type: String
}
reward #Type: Int
minSalePrice #Type: Int
}
endDate #Type: String
eventName #Type: String
freeCouponsRemaining(identityId: $identityId) #Type: Int
freeVoucherAccountAmount #Type: Int
grantInitialVoucher #Type: Boolean
id #Type: String
eventSlug #Type: String
eventType #Type: String (DISCOUNT, VOUCHER)
merchantGroups #Type: [String]
startDate #Type: String
voucherEffectiveDays #Type: Int
voucherExpirationDate #Type: String
voucherImages { #Type: [SalesEventVoucherImage]
type #Type: String
url #Type: String
}
voucherMaxAccountAmount #Type: Int
voucherName #Type: String
}
startDate #Type: String
useCount #Type: Int
}
# Check if the offer is valid and returns details to be displayed to the user
evaluateCode(codeId: $codeId, locale: $locale) { #Type: ServiceResponse
success #Type: Boolean
data { #Type: OfferDetails
offerId #Type: String
namespace #Type: String
title #Type: String
description #Type: String
image #Type: String
eulaIds #Type: [String]
entitlementName #Type: String
codeUseId #Type: String
}
}
}
}
#Variables
{
"ackByUser": true,
"codeId": "",
"codeType": "COUPON, REDEMPTION",
"count": 0,
"currencyCountry": "",
"identityId": "",
"includeSalesEventInfo": true,
"label": "",
"minAvailableLevel": "CONSUMED, DISABLED, EXPIRED, NEVER_USED, RELEASABLE, REMAIN_USE_COUNT",
"merchantGroup": "",
"namespace": "",
"operatorId": "",
"sortBy": "",
"sortDir": "",
"start": 0,
"locale": ""
}
query ContentControlQuery($name: String!, $pin: String!) {
ContentControl {
namespace(name: $name) { #Type: ContentControlNamespace
namespaceSetting { #Type: ContentControlRules
allowedToAcquire #Type: Boolean
allowedToMakePurchases #Type: Boolean
canSeeMatureLanguage #Type: Boolean
canAcceptFriendRequest #Type: Boolean
canRecieveInGameItems #Type: Boolean
canSeeThirdPartyNames #Type: Boolean
canDisplayMyUserName #Type: Boolean
canSeeOtherPlayersNames #Type: Boolean
canUseVoiceChat #Type: Boolean
canVoiceChatWithUnknowns #Type: Boolean
}
userSetting { #Type: ContentControlRules
allowedToAcquire #Type: Boolean
allowedToMakePurchases #Type: Boolean
canSeeMatureLanguage #Type: Boolean
canAcceptFriendRequest #Type: Boolean
canRecieveInGameItems #Type: Boolean
canSeeThirdPartyNames #Type: Boolean
canDisplayMyUserName #Type: Boolean
canSeeOtherPlayersNames #Type: Boolean
canUseVoiceChat #Type: Boolean
canVoiceChatWithUnknowns #Type: Boolean
}
result { #Type: ContentControlRules
allowedToAcquire #Type: Boolean
allowedToMakePurchases #Type: Boolean
canSeeMatureLanguage #Type: Boolean
canAcceptFriendRequest #Type: Boolean
canRecieveInGameItems #Type: Boolean
canSeeThirdPartyNames #Type: Boolean
canDisplayMyUserName #Type: Boolean
canSeeOtherPlayersNames #Type: Boolean
canUseVoiceChat #Type: Boolean
canVoiceChatWithUnknowns #Type: Boolean
}
}
verifyPin(pin: $pin) { #Type: VerifyPin
pinCorrect #Type: Boolean
err #Type: String
}
}
}
#Variables
{
"name": "",
"pin": ""
}
mutation EulaMutation($id: String!, $accountId: String!, $version: Int!, $locale: String!) {
Eula {
acceptEula(id: $id, accountId: $accountId, version: $version, locale: $locale) { #Type: Eula
key #Type: String
version #Type: Int
revision #Type: Int
title #Type: String
body #Type: String
locale #Type: String
createdTimestamp #Type: String
lastModifiedTimestamp #Type: String
agentUserName #Type: String
status #Type: String
custom #Type: Boolean
accepted #Type: Boolean
}
}
}
#Variables
{
"id": "",
"accountId": "",
"version": 0,
"locale": ""
}
query EulaQuery($id: String!, $locale: String!, $accountId: String!) {
Eula {
# Get the latest eula for the given id in the given locale
getLatestEula(id: $id, locale: $locale) { #Type: Eula
key #Type: String
version #Type: Int
revision #Type: Int
title #Type: String
body #Type: String
locale #Type: String
createdTimestamp #Type: String
lastModifiedTimestamp #Type: String
agentUserName #Type: String
status #Type: String
custom #Type: Boolean
accepted #Type: Boolean
}
getLatestAndConvert(id: $id, locale: $locale) { #Type: Eula
key #Type: String
version #Type: Int
revision #Type: Int
title #Type: String
body #Type: String
locale #Type: String
createdTimestamp #Type: String
lastModifiedTimestamp #Type: String
agentUserName #Type: String
status #Type: String
custom #Type: Boolean
accepted #Type: Boolean
}
hasAccountAccepted(id: $id, accountId: $accountId, locale: $locale) { #Type: Eula
key #Type: String
version #Type: Int
revision #Type: Int
title #Type: String
body #Type: String
locale #Type: String
createdTimestamp #Type: String
lastModifiedTimestamp #Type: String
agentUserName #Type: String
status #Type: String
custom #Type: Boolean
accepted #Type: Boolean
}
}
}
#Variables
{
"id": "",
"locale": "",
"accountId": ""
}
mutation FortniteMutation($report: ReportPlayer!) {
Fortnite {
# Report a player
reportPlayer(report: $report) { #Type: ReportPlayerResult
success #Type: Boolean
status #Type: Int
errorCode #Type: String
errorMessage #Type: String
}
}
}
#Variables
{
"report": {
"reporterAccountId": "",
"offenderAccountId": "",
"reason": "",
"subGameName": "",
"details": "",
"gameSessionId": "",
"playlistName": "",
"reporterPlatform": "",
"offenderPlatform": "",
"partyId": "",
"isPartyReport": true,
"markedAsKnown": true,
"blockedUserRequested": true
}
}
query FortniteQuery {
Fortnite {
# Get details of the logged in user's fortnite profile
myProfile { #Type: FortniteProfile
id #Type: String
character { #Type: FortniteCharacter
templateId #Type: String
quantity #Type: Int
attributes { #Type: FortniteCharacterAttributes
item_seen #Type: Boolean
favorite #Type: Boolean
level #Type: Int
variants { #Type: [FortniteVariant]
active #Type: String
channel #Type: String
owned #Type: [String]
}
}
}
backpack { #Type: FortniteBackpack
templateId #Type: String
}
}
getCurrentStoreOffers { #Type: FortniteStoreContent
refreshIntervalHrs #Type: Int
dailyPurchaseHrs #Type: Int
expiration #Type: String
storefronts { #Type: [FortniteStoreCollection]
name #Type: String
catalogEntries { #Type: [FortniteCatalogEntry]
devName #Type: String
offerId #Type: String
dailyLimit #Type: Int
weeklyLimit #Type: Int
monthlyLimit #Type: Int
categories #Type: [String]
prices { #Type: [FortniteStoreFrontPrice]
currencyType #Type: String
currencySubtype #Type: String
regularPrice #Type: Int
finalPrice #Type: Int
saleExpiration #Type: String
basePrice #Type: Int
}
displayAssetPath #Type: String
itemGrants { #Type: [FortniteItemGrant]
templateId #Type: String
quantity #Type: Int
}
sortPriority #Type: Int
catalogGroupPriority #Type: Int
assetName #Type: String
}
}
success #Type: Boolean
}
}
}
#Variables
{}
mutation FriendsMutation($friendToInvite: String!, $friendToDelete: String!, $suggestionToDismiss: String!, $friendToBlock: String!, $friendToUnblock: String!, $data: NotificationSettingsInput!, $friendId: String!, $alias: String!) {
Friends {
# Send friend invite to a user or accept an invite.
invite(friendToInvite: $friendToInvite) { #Type: MutationResponse
success #Type: Boolean
}
# Remove a user from friends or reject pending friendship invite.
deleteFriend(friendToDelete: $friendToDelete) { #Type: MutationResponse
success #Type: Boolean
}
# Dismiss a suggested friend.
dismissFriendSuggestion(suggestionToDismiss: $suggestionToDismiss) { #Type: MutationResponse
success #Type: Boolean
}
# Block a friend
block(friendToBlock: $friendToBlock) { #Type: MutationResponse
success #Type: Boolean
}
# Unblock an friend
unblock(friendToUnblock: $friendToUnblock) { #Type: MutationResponse
success #Type: Boolean
}
# Put notification settings
setNotificationSettings(data: $data) { #Type: NotificationSettingsResponse
offline { #Type: NotificationSetting
suppress_all #Type: Boolean
send_invites #Type: Boolean
send_pings #Type: Boolean
}
success #Type: Boolean
message #Type: String
status #Type: Int
online { #Type: NotificationSetting
suppress_all #Type: Boolean
send_invites #Type: Boolean
send_pings #Type: Boolean
}
suppress_all #Type: Boolean
}
# Put Alias / Nickname
setAlias(friendId: $friendId, alias: $alias) { #Type: MutationResponse
success #Type: Boolean
}
# Delete Alias / Nickname
deleteAlias(friendId: $friendId) { #Type: MutationResponse
success #Type: Boolean
}
}
}
#Variables
{
"friendToInvite": "",
"friendToDelete": "",
"suggestionToDismiss": "",
"friendToBlock": "",
"friendToUnblock": "",
"data": {
"offline": {
"suppress_all": true,
"send_invites": true,
"send_pings": true
},
"online": {
"suppress_all": true,
"send_invites": true,
"send_pings": true
},
"suppress_all": true
},
"friendId": "",
"alias": ""
}
query FriendsQuery($limit: Int!, $countryCode: String!, $locale: String!, $newUserOnly: Boolean!, $externalAuthType: String!, $displayNames: Boolean!, $friendId: String!) {
Friends {
# Get a list of friend invites received for the currently logged in account
incomingInvites(limit: $limit) { #Type: [Friend]
accountId #Type: String
note #Type: String
displayName #Type: String
favorite #Type: Boolean
connections { #Type: [Connection]
avatar #Type: String
id #Type: String
name #Type: String
type #Type: String
}
# Get the account for this group member
account { #Type: Account
# The AccountID for this account
id #Type: String
# The epic display name for this account
displayName #Type: String
# The email associated with this account, only returned if the requestor is the account owner
email #Type: String
# Indicates that the user is logged in
isLoggedIn #Type: Boolean
# List of unlinked accounts (of accounts that can be linked in Diesel)
unlinkedDieselPlatforms(countryCode: $countryCode, locale: $locale, newUserOnly: $newUserOnly) #Type: String (facebook, vk, epic, steam, psn, xbl, nintendo, twitch)
# External auths associated with this account
externalAuths(externalAuthType: $externalAuthType) { #Type: [ExternalAuth]
type #Type: String
accountId #Type: String
externalAuthId #Type: String
externalDisplayName #Type: String
}
# Indicates that the user is a publish developer
isPublishDeveloper #Type: Boolean
# Indicates that the user is a moderator
isModerator #Type: Boolean
# The status the logged user has with the current account
friendshipStatus #Type: String
# The organization this user belongs to
associatedOrganizations { #Type: [Organization]
# Organization ID
organizationId #Type: String
# Name
name #Type: String
# Country
country #Type: String
# Created Date
created #Type: String
# Finance Check Exempt
financeCheckExempted #Type: Boolean
# Finance Info Completed
financeInfoFinished #Type: Boolean
# Owner Account ID
ownerAccountId #Type: String
# Slug
slug #Type: String
# Status
status #Type: String
# Roles
roles #Type: [String]
# Is Developer
isDeveloper #Type: Boolean
}
country #Type: String
preferredLanguage #Type: String
name #Type: String
lastName #Type: String
# Whether the account has two factor auth enabled
tfaEnabled #Type: Boolean
}
# Get the account nickname / alias
alias #Type: String
}
# Get a list of recently played people for the currently logged in account
recentPlayers(displayNames: $displayNames) { #Type: [RecentPlayer]
accountId #Type: String
cohortId #Type: String
displayName #Type: String
namespace #Type: String
sessionId #Type: String
lastPlayed #Type: String
}
# Get a summary of the currently logged in user's friends
summary(displayNames: $displayNames) { #Type: Summary
friends { #Type: [Friend]
accountId #Type: String
note #Type: String
displayName #Type: String
favorite #Type: Boolean
connections { #Type: [Connection]
avatar #Type: String
id #Type: String
name #Type: String
type #Type: String
}
# Get the account for this group member
account { #Type: Account
# The AccountID for this account
id #Type: String
# The epic display name for this account
displayName #Type: String
# The email associated with this account, only returned if the requestor is the account owner
email #Type: String
# Indicates that the user is logged in
isLoggedIn #Type: Boolean
# List of unlinked accounts (of accounts that can be linked in Diesel)
unlinkedDieselPlatforms(countryCode: $countryCode, locale: $locale, newUserOnly: $newUserOnly) #Type: String (facebook, vk, epic, steam, psn, xbl, nintendo, twitch)
# External auths associated with this account
externalAuths(externalAuthType: $externalAuthType) { #Type: [ExternalAuth]
type #Type: String
accountId #Type: String
externalAuthId #Type: String
externalDisplayName #Type: String
}
# Indicates that the user is a publish developer
isPublishDeveloper #Type: Boolean
# Indicates that the user is a moderator
isModerator #Type: Boolean
# The status the logged user has with the current account
friendshipStatus #Type: String
# The organization this user belongs to
associatedOrganizations { #Type: [Organization]
# Organization ID
organizationId #Type: String
# Name
name #Type: String
# Country
country #Type: String
# Created Date
created #Type: String
# Finance Check Exempt
financeCheckExempted #Type: Boolean
# Finance Info Completed
financeInfoFinished #Type: Boolean
# Owner Account ID
ownerAccountId #Type: String
# Slug
slug #Type: String
# Status
status #Type: String
# Roles
roles #Type: [String]
# Is Developer
isDeveloper #Type: Boolean
}
country #Type: String
preferredLanguage #Type: String
name #Type: String
lastName #Type: String
# Whether the account has two factor auth enabled
tfaEnabled #Type: Boolean
}
# Get the account nickname / alias
alias #Type: String
}
incoming { #Type: [Friend]
accountId #Type: String
note #Type: String
displayName #Type: String
favorite #Type: Boolean
connections { #Type: [Connection]
avatar #Type: String
id #Type: String
name #Type: String
type #Type: String
}
# Get the account for this group member
account { #Type: Account
# The AccountID for this account
id #Type: String
# The epic display name for this account
displayName #Type: String
# The email associated with this account, only returned if the requestor is the account owner
email #Type: String
# Indicates that the user is logged in
isLoggedIn #Type: Boolean
# List of unlinked accounts (of accounts that can be linked in Diesel)
unlinkedDieselPlatforms(countryCode: $countryCode, locale: $locale, newUserOnly: $newUserOnly) #Type: String (facebook, vk, epic, steam, psn, xbl, nintendo, twitch)
# External auths associated with this account
externalAuths(externalAuthType: $externalAuthType) { #Type: [ExternalAuth]
type #Type: String
accountId #Type: String
externalAuthId #Type: String
externalDisplayName #Type: String
}
# Indicates that the user is a publish developer
isPublishDeveloper #Type: Boolean
# Indicates that the user is a moderator
isModerator #Type: Boolean
# The status the logged user has with the current account
friendshipStatus #Type: String
# The organization this user belongs to
associatedOrganizations { #Type: [Organization]
# Organization ID
organizationId #Type: String
# Name
name #Type: String
# Country
country #Type: String
# Created Date
created #Type: String
# Finance Check Exempt
financeCheckExempted #Type: Boolean
# Finance Info Completed
financeInfoFinished #Type: Boolean
# Owner Account ID
ownerAccountId #Type: String
# Slug
slug #Type: String
# Status
status #Type: String
# Roles
roles #Type: [String]
# Is Developer
isDeveloper #Type: Boolean
}
country #Type: String
preferredLanguage #Type: String
name #Type: String
lastName #Type: String
# Whether the account has two factor auth enabled
tfaEnabled #Type: Boolean
}
# Get the account nickname / alias
alias #Type: String
}
outgoing { #Type: [Friend]
accountId #Type: String
note #Type: String
displayName #Type: String
favorite #Type: Boolean
connections { #Type: [Connection]
avatar #Type: String
id #Type: String
name #Type: String
type #Type: String
}
# Get the account for this group member
account { #Type: Account
# The AccountID for this account
id #Type: String
# The epic display name for this account
displayName #Type: String
# The email associated with this account, only returned if the requestor is the account owner
email #Type: String
# Indicates that the user is logged in
isLoggedIn #Type: Boolean
# List of unlinked accounts (of accounts that can be linked in Diesel)
unlinkedDieselPlatforms(countryCode: $countryCode, locale: $locale, newUserOnly: $newUserOnly) #Type: String (facebook, vk, epic, steam, psn, xbl, nintendo, twitch)
# External auths associated with this account
externalAuths(externalAuthType: $externalAuthType) { #Type: [ExternalAuth]
type #Type: String
accountId #Type: String
externalAuthId #Type: String
externalDisplayName #Type: String
}
# Indicates that the user is a publish developer
isPublishDeveloper #Type: Boolean
# Indicates that the user is a moderator
isModerator #Type: Boolean
# The status the logged user has with the current account
friendshipStatus #Type: String
# The organization this user belongs to
associatedOrganizations { #Type: [Organization]
# Organization ID
organizationId #Type: String
# Name
name #Type: String
# Country
country #Type: String
# Created Date
created #Type: String
# Finance Check Exempt
financeCheckExempted #Type: Boolean
# Finance Info Completed
financeInfoFinished #Type: Boolean
# Owner Account ID
ownerAccountId #Type: String
# Slug
slug #Type: String
# Status
status #Type: String
# Roles
roles #Type: [String]
# Is Developer
isDeveloper #Type: Boolean
}
country #Type: String
preferredLanguage #Type: String
name #Type: String
lastName #Type: String
# Whether the account has two factor auth enabled
tfaEnabled #Type: Boolean
}
# Get the account nickname / alias
alias #Type: String
}
suggested { #Type: [SuggestedFriend]
accountId #Type: String
displayName #Type: String
connections { #Type: [Connection]
avatar #Type: String
id #Type: String
name #Type: String
type #Type: String
}
# List the platform slugs where the friend and the user are connected.
friendsOnPlatforms #Type: String (facebook, vk, epic, steam, psn, xbl, nintendo, twitch)
}
blocklist { #Type: [Friend]
accountId #Type: String
note #Type: String
displayName #Type: String
favorite #Type: Boolean
connections { #Type: [Connection]
avatar #Type: String
id #Type: String
name #Type: String
type #Type: String
}
# Get the account for this group member
account { #Type: Account
# The AccountID for this account
id #Type: String
# The epic display name for this account
displayName #Type: String
# The email associated with this account, only returned if the requestor is the account owner
email #Type: String
# Indicates that the user is logged in
isLoggedIn #Type: Boolean
# List of unlinked accounts (of accounts that can be linked in Diesel)
unlinkedDieselPlatforms(countryCode: $countryCode, locale: $locale, newUserOnly: $newUserOnly) #Type: String (facebook, vk, epic, steam, psn, xbl, nintendo, twitch)
# External auths associated with this account
externalAuths(externalAuthType: $externalAuthType) { #Type: [ExternalAuth]
type #Type: String
accountId #Type: String
externalAuthId #Type: String
externalDisplayName #Type: String
}
# Indicates that the user is a publish developer
isPublishDeveloper #Type: Boolean
# Indicates that the user is a moderator
isModerator #Type: Boolean
# The status the logged user has with the current account
friendshipStatus #Type: String
# The organization this user belongs to
associatedOrganizations { #Type: [Organization]
# Organization ID
organizationId #Type: String
# Name
name #Type: String
# Country
country #Type: String
# Created Date
created #Type: String
# Finance Check Exempt
financeCheckExempted #Type: Boolean
# Finance Info Completed
financeInfoFinished #Type: Boolean
# Owner Account ID
ownerAccountId #Type: String
# Slug
slug #Type: String
# Status
status #Type: String
# Roles
roles #Type: [String]
# Is Developer
isDeveloper #Type: Boolean
}
country #Type: String
preferredLanguage #Type: String
name #Type: String
lastName #Type: String
# Whether the account has two factor auth enabled
tfaEnabled #Type: Boolean
}
# Get the account nickname / alias
alias #Type: String
}
}
# Get a list of suggested friends for the currently logged in account
suggested { #Type: [SuggestedFriend]
accountId #Type: String
displayName #Type: String
connections { #Type: [Connection]
avatar #Type: String
id #Type: String
name #Type: String
type #Type: String
}
# List the platform slugs where the friend and the user are connected.
friendsOnPlatforms #Type: String (facebook, vk, epic, steam, psn, xbl, nintendo, twitch)
}
# Get a list of friends for the currently logged in account
friends(displayNames: $displayNames) { #Type: [Friend]
accountId #Type: String
note #Type: String
displayName #Type: String
favorite #Type: Boolean
connections { #Type: [Connection]
avatar #Type: String
id #Type: String
name #Type: String
type #Type: String
}
# Get the account for this group member
account { #Type: Account
# The AccountID for this account
id #Type: String
# The epic display name for this account
displayName #Type: String
# The email associated with this account, only returned if the requestor is the account owner
email #Type: String
# Indicates that the user is logged in
isLoggedIn #Type: Boolean
# List of unlinked accounts (of accounts that can be linked in Diesel)
unlinkedDieselPlatforms(countryCode: $countryCode, locale: $locale, newUserOnly: $newUserOnly) #Type: String (facebook, vk, epic, steam, psn, xbl, nintendo, twitch)
# External auths associated with this account
externalAuths(externalAuthType: $externalAuthType) { #Type: [ExternalAuth]
type #Type: String
accountId #Type: String
externalAuthId #Type: String
externalDisplayName #Type: String
}
# Indicates that the user is a publish developer
isPublishDeveloper #Type: Boolean
# Indicates that the user is a moderator
isModerator #Type: Boolean
# The status the logged user has with the current account
friendshipStatus #Type: String
# The organization this user belongs to
associatedOrganizations { #Type: [Organization]
# Organization ID
organizationId #Type: String
# Name
name #Type: String
# Country
country #Type: String
# Created Date
created #Type: String
# Finance Check Exempt
financeCheckExempted #Type: Boolean
# Finance Info Completed
financeInfoFinished #Type: Boolean
# Owner Account ID
ownerAccountId #Type: String
# Slug
slug #Type: String
# Status
status #Type: String
# Roles
roles #Type: [String]
# Is Developer
isDeveloper #Type: Boolean
}
country #Type: String
preferredLanguage #Type: String
name #Type: String
lastName #Type: String
# Whether the account has two factor auth enabled
tfaEnabled #Type: Boolean
}
# Get the account nickname / alias
alias #Type: String
}
# Get a list of blocked friends for the currently logged in account
blockList(displayNames: $displayNames) { #Type: [Friend]
accountId #Type: String
note #Type: String
displayName #Type: String
favorite #Type: Boolean
connections { #Type: [Connection]
avatar #Type: String
id #Type: String
name #Type: String
type #Type: String
}
# Get the account for this group member
account { #Type: Account
# The AccountID for this account
id #Type: String
# The epic display name for this account
displayName #Type: String
# The email associated with this account, only returned if the requestor is the account owner
email #Type: String
# Indicates that the user is logged in
isLoggedIn #Type: Boolean
# List of unlinked accounts (of accounts that can be linked in Diesel)
unlinkedDieselPlatforms(countryCode: $countryCode, locale: $locale, newUserOnly: $newUserOnly) #Type: String (facebook, vk, epic, steam, psn, xbl, nintendo, twitch)
# External auths associated with this account
externalAuths(externalAuthType: $externalAuthType) { #Type: [ExternalAuth]
type #Type: String
accountId #Type: String
externalAuthId #Type: String
externalDisplayName #Type: String
}
# Indicates that the user is a publish developer
isPublishDeveloper #Type: Boolean
# Indicates that the user is a moderator
isModerator #Type: Boolean
# The status the logged user has with the current account
friendshipStatus #Type: String
# The organization this user belongs to
associatedOrganizations { #Type: [Organization]
# Organization ID
organizationId #Type: String
# Name
name #Type: String
# Country
country #Type: String
# Created Date
created #Type: String
# Finance Check Exempt
financeCheckExempted #Type: Boolean
# Finance Info Completed
financeInfoFinished #Type: Boolean
# Owner Account ID
ownerAccountId #Type: String
# Slug
slug #Type: String
# Status
status #Type: String
# Roles
roles #Type: [String]
# Is Developer
isDeveloper #Type: Boolean
}
country #Type: String
preferredLanguage #Type: String
name #Type: String
lastName #Type: String
# Whether the account has two factor auth enabled
tfaEnabled #Type: Boolean
}
# Get the account nickname / alias
alias #Type: String
}
# Get a friend based on its ID
friend(friendId: $friendId, displayNames: $displayNames) { #Type: Friend
accountId #Type: String
note #Type: String
displayName #Type: String
favorite #Type: Boolean
connections { #Type: [Connection]
avatar #Type: String
id #Type: String
name #Type: String
type #Type: String
}
# Get the account for this group member
account { #Type: Account
# The AccountID for this account
id #Type: String
# The epic display name for this account
displayName #Type: String
# The email associated with this account, only returned if the requestor is the account owner
email #Type: String
# Indicates that the user is logged in
isLoggedIn #Type: Boolean
# List of unlinked accounts (of accounts that can be linked in Diesel)
unlinkedDieselPlatforms(countryCode: $countryCode, locale: $locale, newUserOnly: $newUserOnly) #Type: String (facebook, vk, epic, steam, psn, xbl, nintendo, twitch)
# External auths associated with this account
externalAuths(externalAuthType: $externalAuthType) { #Type: [ExternalAuth]
type #Type: String
accountId #Type: String
externalAuthId #Type: String
externalDisplayName #Type: String
}
# Indicates that the user is a publish developer
isPublishDeveloper #Type: Boolean
# Indicates that the user is a moderator
isModerator #Type: Boolean
# The status the logged user has with the current account
friendshipStatus #Type: String
# The organization this user belongs to
associatedOrganizations { #Type: [Organization]
# Organization ID
organizationId #Type: String
# Name
name #Type: String
# Country
country #Type: String
# Created Date
created #Type: String
# Finance Check Exempt
financeCheckExempted #Type: Boolean
# Finance Info Completed
financeInfoFinished #Type: Boolean
# Owner Account ID
ownerAccountId #Type: String
# Slug
slug #Type: String
# Status
status #Type: String
# Roles
roles #Type: [String]
# Is Developer
isDeveloper #Type: Boolean
}
country #Type: String
preferredLanguage #Type: String
name #Type: String
lastName #Type: String
# Whether the account has two factor auth enabled
tfaEnabled #Type: Boolean
}
# Get the account nickname / alias
alias #Type: String
}
# Get notification settings
notificationSettings { #Type: NotificationSettingsResponse
offline { #Type: NotificationSetting
suppress_all #Type: Boolean
send_invites #Type: Boolean
send_pings #Type: Boolean
}
success #Type: Boolean
message #Type: String
status #Type: Int
online { #Type: NotificationSetting
suppress_all #Type: Boolean
send_invites #Type: Boolean
send_pings #Type: Boolean
}
suppress_all #Type: Boolean
}
}
}
#Variables
{
"limit": 0,
"countryCode": "",
"locale": "",
"newUserOnly": true,
"externalAuthType": "",
"displayNames": true,
"friendId": ""
}
mutation GroupsMutation($namespace: String!, $createGroupRequest: CreateGroupRequest!, $groupId: String!, $accountId: String!) {
Groups {
# Create a group with the current user as the owner
createGroup(namespace: $namespace, createGroupRequest: $createGroupRequest) { #Type: GroupCreate
id #Type: String
namespace #Type: String
name #Type: String
mode #Type: String
motto #Type: String
lang #Type: String
description #Type: String
owner #Type: String
size #Type: Int
headcountLimit #Type: Int
createdAt #Type: String
updatedAt #Type: String
enabled #Type: Boolean
isOwner #Type: Boolean
isAdmin #Type: Boolean
revision #Type: Int
}
# Deletes the given group
dismissGroup(groupId: $groupId) { #Type: DeleteResult
success #Type: Boolean
}
# Leaves the given group
leaveGroup(groupId: $groupId) { #Type: DeleteResult
success #Type: Boolean
}
# Invite the given user to the given group
inviteUser(groupId: $groupId, accountId: $accountId) { #Type: Invitation
accountId #Type: String
groupId #Type: String
groupHost #Type: String
sentAt #Type: String
message #Type: String
namespace #Type: String
name #Type: String
}
# Accept the pending invitation for the given group
acceptInvitation(groupId: $groupId) { #Type: Invitation
accountId #Type: String
groupId #Type: String
groupHost #Type: String
sentAt #Type: String
message #Type: String
namespace #Type: String
name #Type: String
}
# Decline the pending invitation for the given group
declineInvitation(groupId: $groupId) { #Type: Invitation
accountId #Type: String
groupId #Type: String
groupHost #Type: String
sentAt #Type: String
message #Type: String
namespace #Type: String
name #Type: String
}
}
}
#Variables
{
"namespace": "",
"createGroupRequest": {
"name": "",
"motto": "",
"description": ""
},
"groupId": "",
"accountId": ""
}
query GroupsQuery($id: String!, $groupId: String!, $accountId: String!, $countryCode: String!, $locale: String!, $newUserOnly: Boolean!, $externalAuthType: String!, $namespace: String!, $name: String!) {
Groups {
# Get details of a group given an ID
group(id: $id) { #Type: Group
groupId #Type: String
namespace #Type: String
name #Type: String
motto #Type: String
lang #Type: String
description #Type: String
owner #Type: String
size #Type: Int
headcountLimit #Type: Int
createdAt #Type: String
updatedAt #Type: String
mode #Type: String (PUBLIC, PRIVATE)
enabled #Type: Boolean
isOwner #Type: Boolean
isAdmin #Type: Boolean
revision #Type: Int
# Get a list of members in the given group
members(groupId: $groupId) { #Type: [GroupMember]
accountId #Type: String
admin #Type: Boolean
isOwner #Type: Boolean
joinedAt #Type: String
# Get the account for this group member
account(accountId: $accountId) { #Type: Account
# The AccountID for this account
id #Type: String
# The epic display name for this account
displayName #Type: String
# The email associated with this account, only returned if the requestor is the account owner
email #Type: String
# Indicates that the user is logged in
isLoggedIn #Type: Boolean
# List of unlinked accounts (of accounts that can be linked in Diesel)
unlinkedDieselPlatforms(countryCode: $countryCode, locale: $locale, newUserOnly: $newUserOnly) #Type: String (facebook, vk, epic, steam, psn, xbl, nintendo, twitch)
# External auths associated with this account
externalAuths(externalAuthType: $externalAuthType) { #Type: [ExternalAuth]
type #Type: String
accountId #Type: String
externalAuthId #Type: String
externalDisplayName #Type: String
}
# Indicates that the user is a publish developer
isPublishDeveloper #Type: Boolean
# Indicates that the user is a moderator
isModerator #Type: Boolean
# The status the logged user has with the current account
friendshipStatus #Type: String
# The organization this user belongs to
associatedOrganizations { #Type: [Organization]
# Organization ID
organizationId #Type: String
# Name
name #Type: String
# Country
country #Type: String
# Created Date
created #Type: String
# Finance Check Exempt
financeCheckExempted #Type: Boolean
# Finance Info Completed
financeInfoFinished #Type: Boolean
# Owner Account ID
ownerAccountId #Type: String
# Slug
slug #Type: String
# Status
status #Type: String
# Roles
roles #Type: [String]
# Is Developer
isDeveloper #Type: Boolean
}
country #Type: String
preferredLanguage #Type: String
name #Type: String
lastName #Type: String
# Whether the account has two factor auth enabled
tfaEnabled #Type: Boolean
}
}
}
# Get a group given the human readable name in the namespace
groupByName(namespace: $namespace, name: $name) { #Type: Group
groupId #Type: String
namespace #Type: String
name #Type: String
motto #Type: String
lang #Type: String
description #Type: String
owner #Type: String
size #Type: Int
headcountLimit #Type: Int
createdAt #Type: String
updatedAt #Type: String
mode #Type: String (PUBLIC, PRIVATE)
enabled #Type: Boolean
isOwner #Type: Boolean
isAdmin #Type: Boolean
revision #Type: Int
# Get a list of members in the given group
members(groupId: $groupId) { #Type: [GroupMember]
accountId #Type: String
admin #Type: Boolean
isOwner #Type: Boolean
joinedAt #Type: String
# Get the account for this group member
account(accountId: $accountId) { #Type: Account
# The AccountID for this account
id #Type: String
# The epic display name for this account
displayName #Type: String
# The email associated with this account, only returned if the requestor is the account owner
email #Type: String
# Indicates that the user is logged in
isLoggedIn #Type: Boolean
# List of unlinked accounts (of accounts that can be linked in Diesel)
unlinkedDieselPlatforms(countryCode: $countryCode, locale: $locale, newUserOnly: $newUserOnly) #Type: String (facebook, vk, epic, steam, psn, xbl, nintendo, twitch)
# External auths associated with this account
externalAuths(externalAuthType: $externalAuthType) { #Type: [ExternalAuth]
type #Type: String
accountId #Type: String
externalAuthId #Type: String
externalDisplayName #Type: String
}
# Indicates that the user is a publish developer
isPublishDeveloper #Type: Boolean
# Indicates that the user is a moderator
isModerator #Type: Boolean
# The status the logged user has with the current account
friendshipStatus #Type: String
# The organization this user belongs to
associatedOrganizations { #Type: [Organization]
# Organization ID
organizationId #Type: String
# Name
name #Type: String
# Country
country #Type: String
# Created Date
created #Type: String
# Finance Check Exempt
financeCheckExempted #Type: Boolean
# Finance Info Completed
financeInfoFinished #Type: Boolean
# Owner Account ID
ownerAccountId #Type: String
# Slug
slug #Type: String
# Status
status #Type: String
# Roles
roles #Type: [String]
# Is Developer
isDeveloper #Type: Boolean
}
country #Type: String
preferredLanguage #Type: String
name #Type: String
lastName #Type: String
# Whether the account has two factor auth enabled
tfaEnabled #Type: Boolean
}
}
}
# Get a list of every group in the given namespace
groups(namespace: $namespace) { #Type: [Group]
groupId #Type: String
namespace #Type: String
name #Type: String
motto #Type: String
lang #Type: String
description #Type: String
owner #Type: String
size #Type: Int
headcountLimit #Type: Int
createdAt #Type: String
updatedAt #Type: String
mode #Type: String (PUBLIC, PRIVATE)
enabled #Type: Boolean
isOwner #Type: Boolean
isAdmin #Type: Boolean
revision #Type: Int
# Get a list of members in the given group
members(groupId: $groupId) { #Type: [GroupMember]
accountId #Type: String
admin #Type: Boolean
isOwner #Type: Boolean
joinedAt #Type: String
# Get the account for this group member
account(accountId: $accountId) { #Type: Account
# The AccountID for this account
id #Type: String
# The epic display name for this account
displayName #Type: String
# The email associated with this account, only returned if the requestor is the account owner
email #Type: String
# Indicates that the user is logged in
isLoggedIn #Type: Boolean
# List of unlinked accounts (of accounts that can be linked in Diesel)
unlinkedDieselPlatforms(countryCode: $countryCode, locale: $locale, newUserOnly: $newUserOnly) #Type: String (facebook, vk, epic, steam, psn, xbl, nintendo, twitch)
# External auths associated with this account
externalAuths(externalAuthType: $externalAuthType) { #Type: [ExternalAuth]
type #Type: String
accountId #Type: String
externalAuthId #Type: String
externalDisplayName #Type: String
}
# Indicates that the user is a publish developer
isPublishDeveloper #Type: Boolean
# Indicates that the user is a moderator
isModerator #Type: Boolean
# The status the logged user has with the current account
friendshipStatus #Type: String
# The organization this user belongs to
associatedOrganizations { #Type: [Organization]
# Organization ID
organizationId #Type: String
# Name
name #Type: String
# Country
country #Type: String
# Created Date
created #Type: String
# Finance Check Exempt
financeCheckExempted #Type: Boolean
# Finance Info Completed
financeInfoFinished #Type: Boolean
# Owner Account ID
ownerAccountId #Type: String
# Slug
slug #Type: String
# Status
status #Type: String
# Roles
roles #Type: [String]
# Is Developer
isDeveloper #Type: Boolean
}
country #Type: String
preferredLanguage #Type: String
name #Type: String
lastName #Type: String
# Whether the account has two factor auth enabled
tfaEnabled #Type: Boolean
}
}
}
# Get a list of members in the given group
members(groupId: $groupId) { #Type: [GroupMember]
accountId #Type: String
admin #Type: Boolean
isOwner #Type: Boolean
joinedAt #Type: String
# Get the account for this group member
account(accountId: $accountId) { #Type: Account
# The AccountID for this account
id #Type: String
# The epic display name for this account
displayName #Type: String
# The email associated with this account, only returned if the requestor is the account owner
email #Type: String
# Indicates that the user is logged in
isLoggedIn #Type: Boolean
# List of unlinked accounts (of accounts that can be linked in Diesel)
unlinkedDieselPlatforms(countryCode: $countryCode, locale: $locale, newUserOnly: $newUserOnly) #Type: String (facebook, vk, epic, steam, psn, xbl, nintendo, twitch)
# External auths associated with this account
externalAuths(externalAuthType: $externalAuthType) { #Type: [ExternalAuth]
type #Type: String
accountId #Type: String
externalAuthId #Type: String
externalDisplayName #Type: String
}
# Indicates that the user is a publish developer
isPublishDeveloper #Type: Boolean
# Indicates that the user is a moderator
isModerator #Type: Boolean
# The status the logged user has with the current account
friendshipStatus #Type: String
# The organization this user belongs to
associatedOrganizations { #Type: [Organization]
# Organization ID
organizationId #Type: String
# Name
name #Type: String
# Country
country #Type: String
# Created Date
created #Type: String
# Finance Check Exempt
financeCheckExempted #Type: Boolean
# Finance Info Completed
financeInfoFinished #Type: Boolean
# Owner Account ID
ownerAccountId #Type: String
# Slug
slug #Type: String
# Status
status #Type: String
# Roles
roles #Type: [String]
# Is Developer
isDeveloper #Type: Boolean
}
country #Type: String
preferredLanguage #Type: String
name #Type: String
lastName #Type: String
# Whether the account has two factor auth enabled
tfaEnabled #Type: Boolean
}
}
# Get a list of the groups that the current user belongs to
myGroups(namespace: $namespace) { #Type: [Group]
groupId #Type: String
namespace #Type: String
name #Type: String
motto #Type: String
lang #Type: String
description #Type: String
owner #Type: String
size #Type: Int
headcountLimit #Type: Int
createdAt #Type: String
updatedAt #Type: String
mode #Type: String (PUBLIC, PRIVATE)
enabled #Type: Boolean
isOwner #Type: Boolean
isAdmin #Type: Boolean
revision #Type: Int
# Get a list of members in the given group
members(groupId: $groupId) { #Type: [GroupMember]
accountId #Type: String
admin #Type: Boolean
isOwner #Type: Boolean
joinedAt #Type: String
# Get the account for this group member
account(accountId: $accountId) { #Type: Account
# The AccountID for this account
id #Type: String
# The epic display name for this account
displayName #Type: String
# The email associated with this account, only returned if the requestor is the account owner
email #Type: String
# Indicates that the user is logged in
isLoggedIn #Type: Boolean
# List of unlinked accounts (of accounts that can be linked in Diesel)
unlinkedDieselPlatforms(countryCode: $countryCode, locale: $locale, newUserOnly: $newUserOnly) #Type: String (facebook, vk, epic, steam, psn, xbl, nintendo, twitch)
# External auths associated with this account
externalAuths(externalAuthType: $externalAuthType) { #Type: [ExternalAuth]
type #Type: String
accountId #Type: String
externalAuthId #Type: String
externalDisplayName #Type: String
}
# Indicates that the user is a publish developer
isPublishDeveloper #Type: Boolean
# Indicates that the user is a moderator
isModerator #Type: Boolean
# The status the logged user has with the current account
friendshipStatus #Type: String
# The organization this user belongs to
associatedOrganizations { #Type: [Organization]
# Organization ID
organizationId #Type: String
# Name
name #Type: String
# Country
country #Type: String
# Created Date
created #Type: String
# Finance Check Exempt
financeCheckExempted #Type: Boolean
# Finance Info Completed
financeInfoFinished #Type: Boolean
# Owner Account ID
ownerAccountId #Type: String
# Slug
slug #Type: String
# Status
status #Type: String
# Roles
roles #Type: [String]
# Is Developer
isDeveloper #Type: Boolean
}
country #Type: String
preferredLanguage #Type: String
name #Type: String
lastName #Type: String
# Whether the account has two factor auth enabled
tfaEnabled #Type: Boolean
}
}
}
# Get a list of invitations for the current user
myGroupInvitations(namespace: $namespace) { #Type: [Invitation]
accountId #Type: String
groupId #Type: String
groupHost #Type: String
sentAt #Type: String
message #Type: String
namespace #Type: String
name #Type: String
}
}
}
#Variables
{
"id": "",
"groupId": "",
"accountId": "",
"countryCode": "",
"locale": "",
"newUserOnly": true,
"externalAuthType": "",
"namespace": "",
"name": ""
}
query LauncherQuery($platform: Platform!, $label: Label!, $locale: String!, $namespace: String!, $offerId: String!, $cursor: String!, $params: LauncherLibraryItemParams!, $offerParams: [OfferParams]!) {
Launcher {
# Lists all app builds that the current user is entitled to use
appBuilds(platform: $platform, label: $label) { #Type: [AppBuild]
# Top level details about an app build that a user is entitled to use
appName #Type: String
labelName #Type: String
buildVersion #Type: String
catalogItemId #Type: String
namespace #Type: String
assetId #Type: String
catalogItem(locale: $locale) { #Type: CatalogItem
title #Type: String
description #Type: String
longDescription #Type: String
keyImages { #Type: [Image]
type #Type: String
url #Type: String
md5 #Type: String
width #Type: Int
height #Type: Int
size #Type: Int
uploadedDate #Type: String
}
categories { #Type: [Category]
path #Type: String
}
namespace #Type: String
status #Type: String
creationDate #Type: String
lastModifiedDate #Type: String
id #Type: String
developer #Type: String
eulaIds #Type: [String]
customAttributes { #Type: [CustomAttribute]
key #Type: String
value #Type: String
type #Type: String
}
technicalDetails #Type: String
releaseInfo { #Type: [ReleaseInfo]
appId #Type: String
compatibleApps #Type: [String]
platform #Type: [String]
dateAdded #Type: String
}
entitlementName #Type: String
entitlementType #Type: String
dlcItemList #Type: String (C, a, t, a, l, o, g, I, t, e, m)
mainGameItem #Type: String (C, a, t, a, l, o, g, I, t, e, m)
}
}
# Checks if a user is entitled to everything in an offer
entitledOfferItems(namespace: $namespace, offerId: $offerId) { #Type: OfferEntitlements
namespace #Type: String
offerId #Type: String
entitledToAllItemsInOffer #Type: Boolean
entitledToAnyItemInOffer #Type: Boolean
items { #Type: [OfferEntitlementItem]
# User entitlements for items within offers
itemId #Type: String
entitledToItem #Type: Boolean
}
}
# Lists a page of the user's library items
libraryItems(cursor: $cursor, params: $params) { #Type: LibraryItems
records { #Type: [LibraryItem]
namespace #Type: String
catalogItemId #Type: String
appName #Type: String
catalogItem(locale: $locale) { #Type: CatalogItem
title #Type: String
description #Type: String
longDescription #Type: String
keyImages { #Type: [Image]
type #Type: String
url #Type: String
md5 #Type: String
width #Type: Int
height #Type: Int
size #Type: Int
uploadedDate #Type: String
}
categories { #Type: [Category]
path #Type: String
}
namespace #Type: String
status #Type: String
creationDate #Type: String
lastModifiedDate #Type: String
id #Type: String
developer #Type: String
eulaIds #Type: [String]
customAttributes { #Type: [CustomAttribute]
key #Type: String
value #Type: String
type #Type: String
}
technicalDetails #Type: String
releaseInfo { #Type: [ReleaseInfo]
appId #Type: String
compatibleApps #Type: [String]
platform #Type: [String]
dateAdded #Type: String
}
entitlementName #Type: String
entitlementType #Type: String
dlcItemList #Type: String (C, a, t, a, l, o, g, I, t, e, m)
mainGameItem #Type: String (C, a, t, a, l, o, g, I, t, e, m)
}
}
responseMetadata { #Type: LibraryItemResponseMetadata
nextCursor #Type: String
}
}
# Checks if the given offer has all the required prerequisites to be purchased by the user
prerequisites(offerParams: $offerParams) { #Type: [PrerequisiteDetails]
namespace #Type: String
offerId #Type: String
nsOfferIds #Type: [String]
missingPrerequisiteItems #Type: [String]
satisfiesPrerequisites #Type: Boolean
}
}
}
#Variables
{
"platform": "Windows, Win32, Mac, iOS, Android, Linux",
"label": "Live, Production, Development",
"locale": "",
"namespace": "",
"offerId": "",
"cursor": "",
"params": {
"platform": "",
"limit": 0,
"excludeNs": [
""
]
},
"offerParams": {
"namespace": "",
"offerId": ""
}
}
query LightSwitchQuery($serviceId: String!) {
LightSwitch {
# Get the service status for a given identityId
serviceStatus(serviceId: $serviceId) { #Type: LightSwitchServiceStatus
permissions { #Type: [LightSwitchPermission]
resource #Type: String
action #Type: Int
}
allowedActions #Type: [String]
serviceInstanceId #Type: String
overrideCatalogIds #Type: [String]
maintenanceUri #Type: String
banned #Type: Boolean
launcherInfoDTO { #Type: LightSwitchLauncherInfoDto
catalogItemId #Type: String
appName #Type: String
namespace #Type: String
}
message #Type: String
timeToShutdownInMs #Type: Int
status #Type: String (UP, DOWN, UNKNOWN, FAILED, RESTRICTED)
}
}
}
#Variables
{
"serviceId": ""
}
query MediaQuery($mediaRefId: String!) {
Media {
# Get the details of a media reference
getMediaRef(mediaRefId: $mediaRefId) { #Type: MediaReferenceDetail
accountId #Type: String
id #Type: String
outputs { #Type: [Media]
contentType #Type: String
duration #Type: Int
height #Type: Int
profile #Type: String
url #Type: String
width #Type: Int
key #Type: String
}
namespace #Type: String
profile #Type: String
recipe #Type: String
}
}
}
#Variables
{
"mediaRefId": ""
}
mutation MessagesMutation($containerType: String!, $containerId: String!, $createMessageRequest: CreateMessageRequest!, $accountId: String!, $messageId: String!) {
Messages {
createMessage(containerType: $containerType, containerId: $containerId, createMessageRequest: $createMessageRequest) { #Type: [MessageCreateEntity]
tag #Type: String
type #Type: String (website, audio, video, image, gif, user, file, highlight)
id #Type: String
uploadUrl #Type: String
}
markMessageRead(accountId: $accountId, containerType: $containerType, containerId: $containerId, messageId: $messageId) #Type: Boolean
}
}
#Variables
{
"containerType": "",
"containerId": "",
"createMessageRequest": {
"message": "",
"entities": [
{
"tag": "",
"title": "",
"description": "",
"type": "website, audio, video, image, gif, user, file, highlight",
"contentType": "",
"filename": "",
"metadata": {
"key": "",
"value": ""
}
}
]
},
"accountId": "",
"messageId": ""
}
query MessagesQuery($containerType: String!, $containerId: String!, $messageId: String!) {
Messages {
# get a list of messages
messages(containerType: $containerType, containerId: $containerId) { #Type: MessagesResult
messages { #Type: [Message]
id #Type: String
containerType #Type: String
containerId #Type: String
accountId #Type: String
message #Type: String
timestamp #Type: String
editedAt #Type: String
reactions { #Type: [Reaction]
reaction #Type: String
users #Type: [String]
}
entities { #Type: [Entity]
id #Type: String
title #Type: String
description #Type: String
type #Type: String (website, audio, video, image, gif, user, file, highlight)
links { #Type: [EntityLink]
contentType #Type: String
url #Type: String
profile #Type: String
width #Type: Int
height #Type: Int
duration #Type: Int
}
}
}
users { #Type: [UserDetail]
accountId #Type: String
displayName #Type: String
}
}
# get a message
message(containerType: $containerType, containerId: $containerId, messageId: $messageId) { #Type: MessageResult
message { #Type: Message
id #Type: String
containerType #Type: String
containerId #Type: String
accountId #Type: String
message #Type: String
timestamp #Type: String
editedAt #Type: String
reactions { #Type: [Reaction]
reaction #Type: String
users #Type: [String]
}
entities { #Type: [Entity]
id #Type: String
title #Type: String
description #Type: String
type #Type: String (website, audio, video, image, gif, user, file, highlight)
links { #Type: [EntityLink]
contentType #Type: String
url #Type: String
profile #Type: String
width #Type: Int
height #Type: Int
duration #Type: Int
}
}
}
users { #Type: [UserDetail]
accountId #Type: String
displayName #Type: String
}
}
}
}
#Variables
{
"containerType": "",
"containerId": "",
"messageId": ""
}
query OpenCriticQuery($sku: String!) {
OpenCritic {
# get a list of messages
productReviews(sku: $sku) { #Type: ProductReviewResult
award #Type: String
id #Type: Int
name #Type: String
openCriticScore #Type: Int
openCriticUrl #Type: String
percentRecommended #Type: Int
reviewCount #Type: Int
topReviews { #Type: [ProductReview]
author #Type: String
displayScore #Type: String
externalUrl #Type: String
language #Type: String
OutletId #Type: Int
outletName #Type: String
publishedDate #Type: String
score #Type: Int
ScoreFormat { #Type: ScoreFormat
description #Type: String
id #Type: Int
}
snippet #Type: String
}
}
}
}
#Variables
{
"sku": ""
}
query OrderProcessorQuery($identityId: String!, $startDate: String!, $endDate: String!, $groupBy: String!, $sortDir: String!, $country: String!, $locale: String!, $category: String!, $namespace: String!, $offerId: String!, $start: Int!, $count: Int!) {
OrderProcessor {
# Get the sales for a given identityId
salesReport(identityId: $identityId, startDate: $startDate, endDate: $endDate, groupBy: $groupBy, sortDir: $sortDir) { #Type: [SalesReport]
# Date of report
reportDate #Type: String
# Identity ID
identityId #Type: String
# Total Integer of items sold
totalSoldNumber #Type: Int
# Total Purchase Number
totalPurchaseNumber #Type: Int
# Total Items Refunded
totalRefundNumber #Type: Int
# Total Items Chargeback
totalChargebackNumber #Type: Int
# Total Amount Sold
totalSoldAmount #Type: Int
# Total Amount Paid by users
totalPurchaseAmount #Type: Int
# Total Amount refunded
totalRefundAmount #Type: Int
# Total Amount Chargeback
totalChargebackAmount #Type: Int
# Sales Detail
salesDetail { #Type: [SalesSummary]
totalNumberOfPurchase #Type: Int
totalNumberOfRefund #Type: Int
totalNumberOfChargeback #Type: Int
totalNumberOfOfferSold #Type: Int
totalSoldAmount #Type: Int
basePayoutCurrencyCode #Type: String
offerId #Type: String
catalogOffer { #Type: CatalogOffer
title #Type: String
description #Type: String
longDescription #Type: String
keyImages { #Type: [Image]
type #Type: String
url #Type: String
md5 #Type: String
width #Type: Int
height #Type: Int
size #Type: Int
uploadedDate #Type: String
}
categories { #Type: [Category]
path #Type: String
}
namespace #Type: String
status #Type: String
creationDate #Type: String
lastModifiedDate #Type: String
id #Type: String
developer #Type: String
eulaIds #Type: [String]
customAttributes { #Type: [CustomAttribute]
key #Type: String
value #Type: String
type #Type: String
}
technicalDetails #Type: String
recurrence #Type: String
items { #Type: [CatalogItem]
title #Type: String
description #Type: String
longDescription #Type: String
keyImages { #Type: [Image]
type #Type: String
url #Type: String
md5 #Type: String
width #Type: Int
height #Type: Int
size #Type: Int
uploadedDate #Type: String
}
categories { #Type: [Category]
path #Type: String
}
namespace #Type: String
status #Type: String
creationDate #Type: String
lastModifiedDate #Type: String
id #Type: String
developer #Type: String
eulaIds #Type: [String]
customAttributes { #Type: [CustomAttribute]
key #Type: String
value #Type: String
type #Type: String
}
technicalDetails #Type: String
releaseInfo { #Type: [ReleaseInfo]
appId #Type: String
compatibleApps #Type: [String]
platform #Type: [String]
dateAdded #Type: String
}
entitlementName #Type: String
entitlementType #Type: String
dlcItemList #Type: String (C, a, t, a, l, o, g, I, t, e, m)
mainGameItem #Type: String (C, a, t, a, l, o, g, I, t, e, m)
}
currencyCode #Type: String
currentPrice #Type: Int
price(country: $country) { #Type: GetPriceRes
zipcode #Type: String
totalTax { #Type: TaxInfo
taxable #Type: Int
taxDetails { #Type: [TaxDetail]
jurisName #Type: String
country #Type: String
taxable #Type: Int
jurisType #Type: String
rate #Type: Int
tax #Type: Int
region #Type: String
taxName #Type: String
}
rate #Type: Int
discount #Type: Int
tax #Type: Int
taxCode #Type: String
taxCalculated #Type: Int
}
country #Type: String
totalPrice { #Type: TotalPrice
unitPrice #Type: Int
originalUnitPrice #Type: Int
discountPercentage { #Type: DiscountPercentage
intVal { #Type: IntVal
signum #Type: Int
mag #Type: String
bit #Type: String
probablePrime #Type: Boolean
}
scale #Type: Int
}
convenienceFee #Type: Int
basePayoutCurrencyCode #Type: String
originalPrice #Type: Int
discountPrice #Type: Int
vat #Type: Int
discount #Type: Int
voucherDiscount #Type: Int
basePayoutPrice #Type: Int
currencyCode #Type: String
fmtPrice(locale: $locale) { #Type: FormattedPrice
originalPrice #Type: String
discountPrice #Type: String
intermediatePrice #Type: String
}
currencyInfo { #Type: Currency
type #Type: String
code #Type: String
symbol #Type: String
description #Type: String
decimals #Type: Int
truncLength #Type: Int
priceRanges #Type: [String]
}
}
coupons #Type: [String]
identityId #Type: String
namespace #Type: String
invoiceId #Type: String
totalPaymentPrice { #Type: TotalPaymentPrice
paymentCurrencyCode #Type: String
paymentCurrencyAmount #Type: Int
paymentCurrencySymbol #Type: String
paymentCurrencyExchangeRate #Type: Int
}
lineOffers { #Type: [LineOfferRes]
ref #Type: String
quantity #Type: Int
taxSkuId #Type: String
price { #Type: LineOfferPrice
unitPrice #Type: Int
originalUnitPrice #Type: Int
discountPercentage { #Type: DiscountPercentage
intVal { #Type: IntVal
signum #Type: Int
mag #Type: String
bit #Type: String
probablePrime #Type: Boolean
}
scale #Type: Int
}
convenienceFee #Type: Int
basePayoutCurrencyCode #Type: String
originalPrice #Type: Int
discountPrice #Type: Int
vat #Type: Int
discount #Type: Int
basePayoutPrice #Type: Int
currencyCode #Type: String
}
appliedRules { #Type: [AppliedRuled]
discountSetting { #Type: DiscountSetting
discountType #Type: String
discountValue #Type: Int
discountPercentage #Type: Int
}
endDate #Type: String
saleType #Type: String
name #Type: String
namespace #Type: String
regionIds #Type: [String]
id #Type: String
promotionSetting { #Type: PromotionSetting
promotionType #Type: String
discountOffers { #Type: [PromotionOffer]
offerId #Type: String
}
}
conditions { #Type: [Condition]
conditionValue #Type: String
condiftionType #Type: String
}
startDate #Type: String
initiatedBy #Type: String
promotionStatus #Type: String
}
lineId #Type: String
offerId #Type: String
tax { #Type: TaxInfo
taxable #Type: Int
taxDetails { #Type: [TaxDetail]
jurisName #Type: String
country #Type: String
taxable #Type: Int
jurisType #Type: String
rate #Type: Int
tax #Type: Int
region #Type: String
taxName #Type: String
}
rate #Type: Int
discount #Type: Int
tax #Type: Int
taxCode #Type: String
taxCalculated #Type: Int
}
}
taxCalculationStatus #Type: String
}
promotions(category: $category) { #Type: Promotions
promotionalOffers { #Type: [PromotionalOffers]
key #Type: String
promotionalOffers { #Type: [Promotion]
id #Type: String
name #Type: String
namespace #Type: String
startDate #Type: String
endDate #Type: String
saleType #Type: String
promotionalStatus #Type: String
conditions { #Type: [PromotionCondition]
conditionType #Type: String
conditionValue #Type: String
}
discountSetting { #Type: DiscountSetting
discountType #Type: String
discountValue #Type: Int
discountPercentage #Type: Int
}
promotionSetting { #Type: PromotionSetting
promotionType #Type: String
discountOffers { #Type: [PromotionOffer]
offerId #Type: String
}
}
initiatedBy #Type: String
}
}
upcomingPromotionalOffers { #Type: [PromotionalOffers]
key #Type: String
promotionalOffers { #Type: [Promotion]
id #Type: String
name #Type: String
namespace #Type: String
startDate #Type: String
endDate #Type: String
saleType #Type: String
promotionalStatus #Type: String
conditions { #Type: [PromotionCondition]
conditionType #Type: String
conditionValue #Type: String
}
discountSetting { #Type: DiscountSetting
discountType #Type: String
discountValue #Type: Int
discountPercentage #Type: Int
}
promotionSetting { #Type: PromotionSetting
promotionType #Type: String
discountOffers { #Type: [PromotionOffer]
offerId #Type: String
}
}
initiatedBy #Type: String
}
}
}
basePrice #Type: Int
basePriceCurrencyCode #Type: String
recurringPrice #Type: Int
freeDays #Type: Int
seller { #Type: Seller
id #Type: String
name #Type: String
}
viewableDate #Type: String
effectiveDate #Type: String
vatIncluded #Type: Boolean
isFeatured #Type: Boolean
urlSlug #Type: String
ignoreOrder #Type: Boolean
fulfillToGroup #Type: Boolean
linkedOfferId #Type: String
linkedOfferNs #Type: String
linkedOffer #Type: String (C, a, t, a, l, o, g, O, f, f, e, r)
url #Type: String
collectionOfferIds #Type: [String]
collectionOffers #Type: String (C, a, t, a, l, o, g, O, f, f, e, r)
productSlug #Type: String
isCountryAgeBlocked #Type: Boolean
catalogNs { #Type: CatalogNamespace
parent #Type: String
taxSkuId #Type: String
displayName #Type: String
eulaIds { #Type: [EulaIds]
value #Type: String
hash #Type: Int
empty #Type: Boolean
}
store #Type: String
merchantGroup #Type: String
namespaceType #Type: String
accessType #Type: String
sellerRevenueShare #Type: Int
addVatToPrice #Type: Boolean
convenienceFee #Type: Boolean
ageGating { #Type: [AgeGating]
country #Type: String
age #Type: Int
}
name #Type: String
defaultPublic #Type: Boolean
region #Type: String
priceTierType #Type: String
status #Type: String
accountAuthorized #Type: Boolean
}
tags { #Type: [Tag]
aliases #Type: [String]
created #Type: String
referenceCount #Type: Int
namespace #Type: String
name #Type: String
comment #Type: String
id #Type: String
updated #Type: String
operator #Type: String
status #Type: String
}
}
namespace #Type: String
merchantGroup #Type: String
totalPurchaseAmount #Type: Int
totalRefundAmount #Type: Int
totalChargebackAmount #Type: Int
basePayoutPrice #Type: Int
}
}
countrySalesDetails(identityId: $identityId, namespace: $namespace, offerId: $offerId, startDate: $startDate, endDate: $endDate, start: $start, count: $count, sortDir: $sortDir) { #Type: CountrySalesSummary
paging { #Type: Page
total #Type: Int
count #Type: Int
start #Type: Int
}
elements { #Type: [CountrySalesDetails]
catalogOffer { #Type: CatalogOffer
title #Type: String
description #Type: String
longDescription #Type: String
keyImages { #Type: [Image]
type #Type: String
url #Type: String
md5 #Type: String
width #Type: Int
height #Type: Int
size #Type: Int
uploadedDate #Type: String
}
categories { #Type: [Category]
path #Type: String
}
namespace #Type: String
status #Type: String
creationDate #Type: String
lastModifiedDate #Type: String
id #Type: String
developer #Type: String
eulaIds #Type: [String]
customAttributes { #Type: [CustomAttribute]
key #Type: String
value #Type: String
type #Type: String
}
technicalDetails #Type: String
recurrence #Type: String
items { #Type: [CatalogItem]
title #Type: String
description #Type: String
longDescription #Type: String
keyImages { #Type: [Image]
type #Type: String
url #Type: String
md5 #Type: String
width #Type: Int
height #Type: Int
size #Type: Int
uploadedDate #Type: String
}
categories { #Type: [Category]
path #Type: String
}
namespace #Type: String
status #Type: String
creationDate #Type: String
lastModifiedDate #Type: String
id #Type: String
developer #Type: String
eulaIds #Type: [String]
customAttributes { #Type: [CustomAttribute]
key #Type: String
value #Type: String
type #Type: String
}
technicalDetails #Type: String
releaseInfo { #Type: [ReleaseInfo]
appId #Type: String
compatibleApps #Type: [String]
platform #Type: [String]
dateAdded #Type: String
}
entitlementName #Type: String
entitlementType #Type: String
dlcItemList #Type: String (C, a, t, a, l, o, g, I, t, e, m)
mainGameItem #Type: String (C, a, t, a, l, o, g, I, t, e, m)
}
currencyCode #Type: String
currentPrice #Type: Int
price(country: $country) { #Type: GetPriceRes
zipcode #Type: String
totalTax { #Type: TaxInfo
taxable #Type: Int
taxDetails { #Type: [TaxDetail]
jurisName #Type: String
country #Type: String
taxable #Type: Int
jurisType #Type: String
rate #Type: Int
tax #Type: Int
region #Type: String
taxName #Type: String
}
rate #Type: Int
discount #Type: Int
tax #Type: Int
taxCode #Type: String
taxCalculated #Type: Int
}
country #Type: String
totalPrice { #Type: TotalPrice
unitPrice #Type: Int
originalUnitPrice #Type: Int
discountPercentage { #Type: DiscountPercentage
intVal { #Type: IntVal
signum #Type: Int
mag #Type: String
bit #Type: String
probablePrime #Type: Boolean
}
scale #Type: Int
}
convenienceFee #Type: Int
basePayoutCurrencyCode #Type: String
originalPrice #Type: Int
discountPrice #Type: Int
vat #Type: Int
discount #Type: Int
voucherDiscount #Type: Int
basePayoutPrice #Type: Int
currencyCode #Type: String
fmtPrice(locale: $locale) { #Type: FormattedPrice
originalPrice #Type: String
discountPrice #Type: String
intermediatePrice #Type: String
}
currencyInfo { #Type: Currency
type #Type: String
code #Type: String
symbol #Type: String
description #Type: String
decimals #Type: Int
truncLength #Type: Int
priceRanges #Type: [String]
}
}
coupons #Type: [String]
identityId #Type: String
namespace #Type: String
invoiceId #Type: String
totalPaymentPrice { #Type: TotalPaymentPrice
paymentCurrencyCode #Type: String
paymentCurrencyAmount #Type: Int
paymentCurrencySymbol #Type: String
paymentCurrencyExchangeRate #Type: Int
}
lineOffers { #Type: [LineOfferRes]
ref #Type: String
quantity #Type: Int
taxSkuId #Type: String
price { #Type: LineOfferPrice
unitPrice #Type: Int
originalUnitPrice #Type: Int
discountPercentage { #Type: DiscountPercentage
intVal { #Type: IntVal
signum #Type: Int
mag #Type: String
bit #Type: String
probablePrime #Type: Boolean
}
scale #Type: Int
}
convenienceFee #Type: Int
basePayoutCurrencyCode #Type: String
originalPrice #Type: Int
discountPrice #Type: Int
vat #Type: Int
discount #Type: Int
basePayoutPrice #Type: Int
currencyCode #Type: String
}
appliedRules { #Type: [AppliedRuled]
discountSetting { #Type: DiscountSetting
discountType #Type: String
discountValue #Type: Int
discountPercentage #Type: Int
}
endDate #Type: String
saleType #Type: String
name #Type: String
namespace #Type: String
regionIds #Type: [String]
id #Type: String
promotionSetting { #Type: PromotionSetting
promotionType #Type: String
discountOffers { #Type: [PromotionOffer]
offerId #Type: String
}
}
conditions { #Type: [Condition]
conditionValue #Type: String
condiftionType #Type: String
}
startDate #Type: String
initiatedBy #Type: String
promotionStatus #Type: String
}
lineId #Type: String
offerId #Type: String
tax { #Type: TaxInfo
taxable #Type: Int
taxDetails { #Type: [TaxDetail]
jurisName #Type: String
country #Type: String
taxable #Type: Int
jurisType #Type: String
rate #Type: Int
tax #Type: Int
region #Type: String
taxName #Type: String
}
rate #Type: Int
discount #Type: Int
tax #Type: Int
taxCode #Type: String
taxCalculated #Type: Int
}
}
taxCalculationStatus #Type: String
}
promotions(category: $category) { #Type: Promotions
promotionalOffers { #Type: [PromotionalOffers]
key #Type: String
promotionalOffers { #Type: [Promotion]
id #Type: String
name #Type: String
namespace #Type: String
startDate #Type: String
endDate #Type: String
saleType #Type: String
promotionalStatus #Type: String
conditions { #Type: [PromotionCondition]
conditionType #Type: String
conditionValue #Type: String
}
discountSetting { #Type: DiscountSetting
discountType #Type: String
discountValue #Type: Int
discountPercentage #Type: Int
}
promotionSetting { #Type: PromotionSetting
promotionType #Type: String
discountOffers { #Type: [PromotionOffer]
offerId #Type: String
}
}
initiatedBy #Type: String
}
}
upcomingPromotionalOffers { #Type: [PromotionalOffers]
key #Type: String
promotionalOffers { #Type: [Promotion]
id #Type: String
name #Type: String
namespace #Type: String
startDate #Type: String
endDate #Type: String
saleType #Type: String
promotionalStatus #Type: String
conditions { #Type: [PromotionCondition]
conditionType #Type: String
conditionValue #Type: String
}
discountSetting { #Type: DiscountSetting
discountType #Type: String
discountValue #Type: Int
discountPercentage #Type: Int
}
promotionSetting { #Type: PromotionSetting
promotionType #Type: String
discountOffers { #Type: [PromotionOffer]
offerId #Type: String
}
}
initiatedBy #Type: String
}
}
}
basePrice #Type: Int
basePriceCurrencyCode #Type: String
recurringPrice #Type: Int
freeDays #Type: Int
seller { #Type: Seller
id #Type: String
name #Type: String
}
viewableDate #Type: String
effectiveDate #Type: String
vatIncluded #Type: Boolean
isFeatured #Type: Boolean
urlSlug #Type: String
ignoreOrder #Type: Boolean
fulfillToGroup #Type: Boolean
linkedOfferId #Type: String
linkedOfferNs #Type: String
linkedOffer #Type: String (C, a, t, a, l, o, g, O, f, f, e, r)
url #Type: String
collectionOfferIds #Type: [String]
collectionOffers #Type: String (C, a, t, a, l, o, g, O, f, f, e, r)
productSlug #Type: String
isCountryAgeBlocked #Type: Boolean
catalogNs { #Type: CatalogNamespace
parent #Type: String
taxSkuId #Type: String
displayName #Type: String
eulaIds { #Type: [EulaIds]
value #Type: String
hash #Type: Int
empty #Type: Boolean
}
store #Type: String
merchantGroup #Type: String
namespaceType #Type: String
accessType #Type: String
sellerRevenueShare #Type: Int
addVatToPrice #Type: Boolean
convenienceFee #Type: Boolean
ageGating { #Type: [AgeGating]
country #Type: String
age #Type: Int
}
name #Type: String
defaultPublic #Type: Boolean
region #Type: String
priceTierType #Type: String
status #Type: String
accountAuthorized #Type: Boolean
}
tags { #Type: [Tag]
aliases #Type: [String]
created #Type: String
referenceCount #Type: Int
namespace #Type: String
name #Type: String
comment #Type: String
id #Type: String
updated #Type: String
operator #Type: String
status #Type: String
}
}
sumOfPurchasePayoutPrice #Type: Int
sumOfBasePayoutPrice #Type: Int
groupByCountry #Type: String
saleDay #Type: String
numberOfOfferSold #Type: Int
totalNumberOfPurchase #Type: Int
merchantGroup #Type: String
offerId #Type: String
sumOfChargebackPayoutPrice #Type: Int
totalNumberOfChargeback #Type: Int
namespace #Type: String
basePayoutPrice #Type: Int
totalRefundAmount #Type: Int
totalNumberOfRefund #Type: Int
sumOfRefundPayoutPrice #Type: Int
}
}
}
}
#Variables
{
"identityId": "",
"startDate": "",
"endDate": "",
"groupBy": "",
"sortDir": "",
"country": "",
"locale": "",
"category": "",
"namespace": "",
"offerId": "",
"start": 0,
"count": 0
}
query OrganizationQuery {
Organization {
# Get the list of organizations this user belongs to
associatedOrganizations { #Type: [Organization]
# Organization ID
organizationId #Type: String
# Name
name #Type: String
# Country
country #Type: String
# Created Date
created #Type: String
# Finance Check Exempt
financeCheckExempted #Type: Boolean
# Finance Info Completed
financeInfoFinished #Type: Boolean
# Owner Account ID
ownerAccountId #Type: String
# Slug
slug #Type: String
# Status
status #Type: String
# Roles
roles #Type: [String]
# Is Developer
isDeveloper #Type: Boolean
}
}
}
#Variables
{}
mutation PartnerIntegrationMutation($accountId: String!, $uplayAccountId: String!, $gameId: String!, $platformToken: String!) {
PartnerIntegration {
# Claim a UPlay code for an entitled account
claimUplayCode(accountId: $accountId, uplayAccountId: $uplayAccountId, gameId: $gameId) { #Type: UplayCodeServiceResponse
success #Type: Boolean
data { #Type: UPlayCode
epicEntitlement { #Type: EpicEntitlement
entitlementId #Type: String
catalogItemId #Type: String
entitlementName #Type: String
country #Type: String
}
gameId #Type: String
epicAccountId #Type: String
uplayAccountId #Type: String
redeemedOnUplay #Type: Boolean
redemptionTimestamp #Type: String
assignmentTimestam #Type: String
regionCode #Type: String
}
}
redeemAllPendingCodes(accountId: $accountId, uplayAccountId: $uplayAccountId, platformToken: $platformToken) { #Type: [UplayCodeServiceResponse]
success #Type: Boolean
data { #Type: UPlayCode
epicEntitlement { #Type: EpicEntitlement
entitlementId #Type: String
catalogItemId #Type: String
entitlementName #Type: String
country #Type: String
}
gameId #Type: String
epicAccountId #Type: String
uplayAccountId #Type: String
redeemedOnUplay #Type: Boolean
redemptionTimestamp #Type: String
assignmentTimestam #Type: String
regionCode #Type: String
}
}
}
}
#Variables
{
"accountId": "",
"uplayAccountId": "",
"gameId": "",
"platformToken": ""
}
query PartnerIntegrationQuery($accountId: String!) {
PartnerIntegration {
# Get the UPlay codes associated with an account
accountUplayCodes(accountId: $accountId) { #Type: [UPlayCode]
epicEntitlement { #Type: EpicEntitlement
entitlementId #Type: String
catalogItemId #Type: String
entitlementName #Type: String
country #Type: String
}
gameId #Type: String
epicAccountId #Type: String
uplayAccountId #Type: String
redeemedOnUplay #Type: Boolean
redemptionTimestamp #Type: String
assignmentTimestam #Type: String
regionCode #Type: String
}
}
}
#Variables
{
"accountId": ""
}
mutation PartySettingsMutation($value: NotificationSettingsInput!, $namespace: String!) {
PartySettings {
setNotificationSettings(value: $value, namespace: $namespace) { #Type: NotificationSettingsResponse
offline { #Type: NotificationSetting
suppress_all #Type: Boolean
send_invites #Type: Boolean
send_pings #Type: Boolean
}
success #Type: Boolean
message #Type: String
status #Type: Int
online { #Type: NotificationSetting
suppress_all #Type: Boolean
send_invites #Type: Boolean
send_pings #Type: Boolean
}
suppress_all #Type: Boolean
}
}
}
#Variables
{
"value": {
"offline": {
"suppress_all": true,
"send_invites": true,
"send_pings": true
},
"online": {
"suppress_all": true,
"send_invites": true,
"send_pings": true
},
"suppress_all": true
},
"namespace": ""
}
query PartySettingsQuery($namespace: String!) {
PartySettings {
notificationSettings(namespace: $namespace) { #Type: NotificationSettingsResponse
offline { #Type: NotificationSetting
suppress_all #Type: Boolean
send_invites #Type: Boolean
send_pings #Type: Boolean
}
success #Type: Boolean
message #Type: String
status #Type: Int
online { #Type: NotificationSetting
suppress_all #Type: Boolean
send_invites #Type: Boolean
send_pings #Type: Boolean
}
suppress_all #Type: Boolean
}
}
}
#Variables
{
"namespace": ""
}
query PlaytimeTrackingQuery($accountId: String!, $artifactId: String!) {
PlaytimeTracking {
artifact(accountId: $accountId, artifactId: $artifactId) { #Type: Playtime
accountId #Type: String
artifactId #Type: String
totalTime #Type: Int
}
total(accountId: $accountId) { #Type: [Playtime]
accountId #Type: String
artifactId #Type: String
totalTime #Type: Int
}
}
}
#Variables
{
"accountId": "",
"artifactId": ""
}
query PresenceQuery($namespace: String!, $circle: String!) {
Presence {
# Get a list of friends last online dates Depricated
getLastOnlineSummary(namespace: $namespace, circle: $circle) { #Type: LastOnlineSummary
summary { #Type: [LastOnline]
friendId #Type: String
namespace #Type: String
circle #Type: String
last_online #Type: String
}
}
}
}
#Variables
{
"namespace": "",
"circle": ""
}
mutation PresenceV2Mutation($namespace: String!, $value: SubscriptionSettingsInput!, $publisherId: String!) {
PresenceV2 {
# modify subscriptions Settings
modifySubscriptionSettings(namespace: $namespace, value: $value) { #Type: MutationResponse
success #Type: Boolean
}
# Trigger notification broadcast to subscribedSub users
triggerBroadcast(namespace: $namespace) { #Type: MutationResponse
success #Type: Boolean
}
# Subscribe to User
subscribeUser(namespace: $namespace, publisherId: $publisherId) { #Type: MutationResponse
success #Type: Boolean
}
# unSubscribe to User
unSubscribeUser(namespace: $namespace, publisherId: $publisherId) { #Type: MutationResponse
success #Type: Boolean
}
}
}
#Variables
{
"namespace": "",
"value": {
"broadcast": {
"enabled": true
}
},
"publisherId": ""
}
query PresenceV2Query($namespace: String!, $circle: String!) {
PresenceV2 {
# Get a list of friends last online dates
getLastOnlineSummary(namespace: $namespace, circle: $circle) { #Type: LastOnlineSummary
summary { #Type: [LastOnline]
friendId #Type: String
namespace #Type: String
circle #Type: String
last_online #Type: String
}
}
# Get Subscription initial Settings for Account ID
getSubscriptionSettings(namespace: $namespace) { #Type: SubscriptionSettings
broadcast { #Type: Broadcast
enabled #Type: Boolean
}
}
# Get current subscriptions for Account ID
getSubscriptions(namespace: $namespace) { #Type: SubscriptionsSummary
summary { #Type: [Subscriptions]
subscribed_at #Type: String
account_id #Type: String
}
}
}
}
#Variables
{
"namespace": "",
"circle": ""
}
query PriceEngineQuery($country: String!, $identityId: String!, $namespace: String!, $calculateTax: Boolean!, $lineOffers: [LineOfferReq]!, $locale: String!, $salesEventId: String!, $currency: String!, $eventDate: String!, $eventName: String!, $merchantGroup: String!, $offerId: String!) {
PriceEngine {
price(country: $country, identityId: $identityId, namespace: $namespace, calculateTax: $calculateTax, lineOffers: $lineOffers) { #Type: GetPriceRes
zipcode #Type: String
totalTax { #Type: TaxInfo
taxable #Type: Int
taxDetails { #Type: [TaxDetail]
jurisName #Type: String
country #Type: String
taxable #Type: Int
jurisType #Type: String
rate #Type: Int
tax #Type: Int
region #Type: String
taxName #Type: String
}
rate #Type: Int
discount #Type: Int
tax #Type: Int
taxCode #Type: String
taxCalculated #Type: Int
}
country #Type: String
totalPrice { #Type: TotalPrice
unitPrice #Type: Int
originalUnitPrice #Type: Int
discountPercentage { #Type: DiscountPercentage
intVal { #Type: IntVal
signum #Type: Int
mag #Type: String
bit #Type: String
probablePrime #Type: Boolean
}
scale #Type: Int
}
convenienceFee #Type: Int
basePayoutCurrencyCode #Type: String
originalPrice #Type: Int
discountPrice #Type: Int
vat #Type: Int
discount #Type: Int
voucherDiscount #Type: Int
basePayoutPrice #Type: Int
currencyCode #Type: String
fmtPrice(locale: $locale) { #Type: FormattedPrice
originalPrice #Type: String
discountPrice #Type: String
intermediatePrice #Type: String
}
currencyInfo { #Type: Currency
type #Type: String
code #Type: String
symbol #Type: String
description #Type: String
decimals #Type: Int
truncLength #Type: Int
priceRanges #Type: [String]
}
}
coupons #Type: [String]
identityId #Type: String
namespace #Type: String
invoiceId #Type: String
totalPaymentPrice { #Type: TotalPaymentPrice
paymentCurrencyCode #Type: String
paymentCurrencyAmount #Type: Int
paymentCurrencySymbol #Type: String
paymentCurrencyExchangeRate #Type: Int
}
lineOffers { #Type: [LineOfferRes]
ref #Type: String
quantity #Type: Int
taxSkuId #Type: String
price { #Type: LineOfferPrice
unitPrice #Type: Int
originalUnitPrice #Type: Int
discountPercentage { #Type: DiscountPercentage
intVal { #Type: IntVal
signum #Type: Int
mag #Type: String
bit #Type: String
probablePrime #Type: Boolean
}
scale #Type: Int
}
convenienceFee #Type: Int
basePayoutCurrencyCode #Type: String
originalPrice #Type: Int
discountPrice #Type: Int
vat #Type: Int
discount #Type: Int
basePayoutPrice #Type: Int
currencyCode #Type: String
}
appliedRules { #Type: [AppliedRuled]
discountSetting { #Type: DiscountSetting
discountType #Type: String
discountValue #Type: Int
discountPercentage #Type: Int
}
endDate #Type: String
saleType #Type: String
name #Type: String
namespace #Type: String
regionIds #Type: [String]
id #Type: String
promotionSetting { #Type: PromotionSetting
promotionType #Type: String
discountOffers { #Type: [PromotionOffer]
offerId #Type: String
}
}
conditions { #Type: [Condition]
conditionValue #Type: String
condiftionType #Type: String
}
startDate #Type: String
initiatedBy #Type: String
promotionStatus #Type: String
}
lineId #Type: String
offerId #Type: String
tax { #Type: TaxInfo
taxable #Type: Int
taxDetails { #Type: [TaxDetail]
jurisName #Type: String
country #Type: String
taxable #Type: Int
jurisType #Type: String
rate #Type: Int
tax #Type: Int
region #Type: String
taxName #Type: String
}
rate #Type: Int
discount #Type: Int
tax #Type: Int
taxCode #Type: String
taxCalculated #Type: Int
}
}
taxCalculationStatus #Type: String
}
promotions(namespace: $namespace) { #Type: Promotions
promotionalOffers { #Type: [PromotionalOffers]
key #Type: String
promotionalOffers { #Type: [Promotion]
id #Type: String
name #Type: String
namespace #Type: String
startDate #Type: String
endDate #Type: String
saleType #Type: String
promotionalStatus #Type: String
conditions { #Type: [PromotionCondition]
conditionType #Type: String
conditionValue #Type: String
}
discountSetting { #Type: DiscountSetting
discountType #Type: String
discountValue #Type: Int
discountPercentage #Type: Int
}
promotionSetting { #Type: PromotionSetting
promotionType #Type: String
discountOffers { #Type: [PromotionOffer]
offerId #Type: String
}
}
initiatedBy #Type: String
}
}
upcomingPromotionalOffers { #Type: [PromotionalOffers]
key #Type: String
promotionalOffers { #Type: [Promotion]
id #Type: String
name #Type: String
namespace #Type: String
startDate #Type: String
endDate #Type: String
saleType #Type: String
promotionalStatus #Type: String
conditions { #Type: [PromotionCondition]
conditionType #Type: String
conditionValue #Type: String
}
discountSetting { #Type: DiscountSetting
discountType #Type: String
discountValue #Type: Int
discountPercentage #Type: Int
}
promotionSetting { #Type: PromotionSetting
promotionType #Type: String
discountOffers { #Type: [PromotionOffer]
offerId #Type: String
}
}
initiatedBy #Type: String
}
}
}
salesEvent(salesEventId: $salesEventId) { #Type: SalesEvent
currencyRewards { #Type: [SalesEventCurrencyReward]
currency { #Type: SalesEventCurrency
code #Type: String
decimals #Type: Int
description #Type: String
priceRanges #Type: [String]
symbol #Type: String
type #Type: String
}
reward #Type: Int
minSalePrice #Type: Int
}
endDate #Type: String
eventName #Type: String
freeCouponsRemaining(identityId: $identityId) #Type: Int
freeVoucherAccountAmount #Type: Int
grantInitialVoucher #Type: Boolean
id #Type: String
eventSlug #Type: String
eventType #Type: String (DISCOUNT, VOUCHER)
merchantGroups #Type: [String]
startDate #Type: String
voucherEffectiveDays #Type: Int
voucherExpirationDate #Type: String
voucherImages { #Type: [SalesEventVoucherImage]
type #Type: String
url #Type: String
}
voucherMaxAccountAmount #Type: Int
voucherName #Type: String
}
salesEvents(currency: $currency, eventDate: $eventDate, eventName: $eventName, merchantGroup: $merchantGroup, offerId: $offerId) { #Type: [SalesEvent]
currencyRewards { #Type: [SalesEventCurrencyReward]
currency { #Type: SalesEventCurrency
code #Type: String
decimals #Type: Int
description #Type: String
priceRanges #Type: [String]
symbol #Type: String
type #Type: String
}
reward #Type: Int
minSalePrice #Type: Int
}
endDate #Type: String
eventName #Type: String
freeCouponsRemaining(identityId: $identityId) #Type: Int
freeVoucherAccountAmount #Type: Int
grantInitialVoucher #Type: Boolean
id #Type: String
eventSlug #Type: String
eventType #Type: String (DISCOUNT, VOUCHER)
merchantGroups #Type: [String]
startDate #Type: String
voucherEffectiveDays #Type: Int
voucherExpirationDate #Type: String
voucherImages { #Type: [SalesEventVoucherImage]
type #Type: String
url #Type: String
}
voucherMaxAccountAmount #Type: Int
voucherName #Type: String
}
}
}
#Variables
{
"country": "",
"identityId": "",
"namespace": "",
"calculateTax": true,
"lineOffers": {
"unitPrice": 0,
"quantity": 0,
"offerId": "",
"category": ""
},
"locale": "",
"salesEventId": "",
"currency": "",
"eventDate": "",
"eventName": "",
"merchantGroup": "",
"offerId": ""
}
query ProductQuery($organizationId: String!, $productId: String!) {
Product {
# Get the list of products for a given organization
product(organizationId: $organizationId, productId: $productId) { #Type: [Product]
# The product ID
id #Type: String
# The product name
name #Type: String
# The image URL
image #Type: String
# The release status of the product
status #Type: String
# The list of artifacts and builds
artifacts { #Type: [ProductArtifact]
artifactId #Type: String
liveBuilds { #Type: [Build]
manifestLocation { #Type: Manifest
url #Type: String
expires #Type: String
httpMethod #Type: String
}
buildVersion #Type: String
created #Type: String
manifestHash #Type: String
artifactId #Type: String
rvn #Type: Int
updated #Type: String
labels { #Type: [BuildLabel]
labelName #Type: String
platform #Type: String
}
}
rollbackBuilds { #Type: [Build]
manifestLocation { #Type: Manifest
url #Type: String
expires #Type: String
httpMethod #Type: String
}
buildVersion #Type: String
created #Type: String
manifestHash #Type: String
artifactId #Type: String
rvn #Type: Int
updated #Type: String
labels { #Type: [BuildLabel]
labelName #Type: String
platform #Type: String
}
}
}
}
}
}
#Variables
{
"organizationId": "",
"productId": ""
}
mutation SocialBanMutation {
SocialBan {
# Acknowledge social ban warning.
acknowledgeMyWarning { #Type: SocialBanMutationStatus
success #Type: Boolean
}
# Acknowledge social ban.
acknowledgeMyBan { #Type: SocialBanMutationStatus
success #Type: Boolean
}
}
}
#Variables
{}
query SocialBanQuery {
SocialBan {
# Get my current social ban status.
getMySocialBan { #Type: SocialBan
starts_at #Type: String
ends_at #Type: String
acked #Type: Boolean
duration_s #Type: Int
}
# Get my current social ban summary.
getMySocialBanSummary { #Type: SocialBanSummary
warnings { #Type: [SocialBanWarning]
acked #Type: Boolean
}
bans { #Type: [SocialBan]
starts_at #Type: String
ends_at #Type: String
acked #Type: Boolean
duration_s #Type: Int
}
}
}
}
#Variables
{}
query StorefrontQuery($country: String!, $locale: String!) {
Storefront {
# Get the storefront modules to drive the storefront
storefrontModules(country: $country, locale: $locale) { #Type: [BaseStorefrontModule]
title #Type: String
type #Type: String
}
}
}
#Variables
{
"country": "",
"locale": ""
}
query TransientStreamQuery($countryCode: String!, $locale: String!) {
TransientStream {
# Get the current transient feed, which is an aggregate of all channels they are subscribed to
myTransientFeed(countryCode: $countryCode, locale: $locale) { #Type: [TransientFeedItem]
id #Type: String
activity { #Type: Activity
ns #Type: String
created_at #Type: String
type #Type: String
}
}
}
}
#Variables
{
"countryCode": "",
"locale": ""
}
mutation TwitchTriviaMutation($createTriviaRequest: CreateTriviaRequest!, $id: String!, $addQuestionRequest: AddQuestionRequest!, $removeQuestionRequest: RemoveQuestionRequest!, $triviaId: String!, $teamUpdateRequest: TeamUpdateRequest!, $submitAnswerRequest: SubmitAnswerRequest!, $teamId: Int!, $newUserId: String!, $userIdToRemove: String!, $heartbeatRequest: HeartbeatRequest!) {
TwitchTrivia {
createTrivia(createTriviaRequest: $createTriviaRequest) { #Type: TwitchTrivia
id #Type: String
eventName #Type: String
createdDate #Type: String
createdBy #Type: String
secondsPerQuestion #Type: Int
secondsBetweenQuestions #Type: Int
questionIds #Type: [String]
questions { #Type: [TriviaQuestion]
id #Type: String
question #Type: String
answers #Type: [String]
correctAnswerIndex #Type: Int
createdDate #Type: String
createdBy #Type: String
startDate #Type: String
endDate #Type: String
nextStartDate #Type: String
scores(id: $id) { #Type: [TeamStatistics]
teamId #Type: Int
name #Type: String
correct #Type: Int
incorrect #Type: Int
}
}
}
addQuestion(addQuestionRequest: $addQuestionRequest) { #Type: TwitchTrivia
id #Type: String
eventName #Type: String
createdDate #Type: String
createdBy #Type: String
secondsPerQuestion #Type: Int
secondsBetweenQuestions #Type: Int
questionIds #Type: [String]
questions { #Type: [TriviaQuestion]
id #Type: String
question #Type: String
answers #Type: [String]
correctAnswerIndex #Type: Int
createdDate #Type: String
createdBy #Type: String
startDate #Type: String
endDate #Type: String
nextStartDate #Type: String
scores(id: $id) { #Type: [TeamStatistics]
teamId #Type: Int
name #Type: String
correct #Type: Int
incorrect #Type: Int
}
}
}
removeQuestion(removeQuestionRequest: $removeQuestionRequest) { #Type: RequestStatus
success #Type: Boolean
}
setCurrentTrivia(triviaId: $triviaId) { #Type: RequestStatus
success #Type: Boolean
}
configureTeams(teamUpdateRequest: $teamUpdateRequest) { #Type: RequestStatus
success #Type: Boolean
}
submitAnswer(submitAnswerRequest: $submitAnswerRequest) { #Type: RequestStatus
success #Type: Boolean
}
setTeam(teamId: $teamId) { #Type: RequestStatus
success #Type: Boolean
}
addAdmin(newUserId: $newUserId) { #Type: RequestStatus
success #Type: Boolean
}
removeAdmin(userIdToRemove: $userIdToRemove) { #Type: RequestStatus
success #Type: Boolean
}
stopTrivia { #Type: RequestStatus
success #Type: Boolean
}
postHeartbeat { #Type: RequestStatus
success #Type: Boolean
}
startHeartbeat(heartbeatRequest: $heartbeatRequest) { #Type: RequestStatus
success #Type: Boolean
}
}
}
#Variables
{
"createTriviaRequest": {
"secondsPerQuestion": 0,
"secondsBetweenQuestions": 0,
"eventName": ""
},
"id": "",
"addQuestionRequest": {
"triviaId": "",
"question": "",
"answers": [
""
],
"correctAnswerIndex": 0
},
"removeQuestionRequest": {
"triviaId": "",
"questionId": ""
},
"triviaId": "",
"teamUpdateRequest": {
"teams": [
{
"name": "",
"image": ""
}
]
},
"submitAnswerRequest": {
"userId": "",
"teamId": 0,
"questionId": "",
"answerIndex": 0
},
"teamId": 0,
"newUserId": "",
"userIdToRemove": "",
"heartbeatRequest": {
"type": ""
}
}
query TwitchTriviaQuery($id: String!, $date: String!, $count: Int!, $triviaId: String!) {
TwitchTrivia {
currentTrivia { #Type: TwitchTrivia
id #Type: String
eventName #Type: String
createdDate #Type: String
createdBy #Type: String
secondsPerQuestion #Type: Int
secondsBetweenQuestions #Type: Int
questionIds #Type: [String]
questions { #Type: [TriviaQuestion]
id #Type: String
question #Type: String
answers #Type: [String]
correctAnswerIndex #Type: Int
createdDate #Type: String
createdBy #Type: String
startDate #Type: String
endDate #Type: String
nextStartDate #Type: String
scores(id: $id) { #Type: [TeamStatistics]
teamId #Type: Int
name #Type: String
correct #Type: Int
incorrect #Type: Int
}
}
}
currentQuestion { #Type: TriviaQuestion
id #Type: String
question #Type: String
answers #Type: [String]
correctAnswerIndex #Type: Int
createdDate #Type: String
createdBy #Type: String
startDate #Type: String
endDate #Type: String
nextStartDate #Type: String
scores(id: $id) { #Type: [TeamStatistics]
teamId #Type: Int
name #Type: String
correct #Type: Int
incorrect #Type: Int
}
}
getQuestion(id: $id) { #Type: TriviaQuestion
id #Type: String
question #Type: String
answers #Type: [String]
correctAnswerIndex #Type: Int
createdDate #Type: String
createdBy #Type: String
startDate #Type: String
endDate #Type: String
nextStartDate #Type: String
scores(id: $id) { #Type: [TeamStatistics]
teamId #Type: Int
name #Type: String
correct #Type: Int
incorrect #Type: Int
}
}
list(date: $date, count: $count) { #Type: [ListTrivia]
id #Type: String
createdDate #Type: String
eventName #Type: String
trivia { #Type: TwitchTrivia
id #Type: String
eventName #Type: String
createdDate #Type: String
createdBy #Type: String
secondsPerQuestion #Type: Int
secondsBetweenQuestions #Type: Int
questionIds #Type: [String]
questions { #Type: [TriviaQuestion]
id #Type: String
question #Type: String
answers #Type: [String]
correctAnswerIndex #Type: Int
createdDate #Type: String
createdBy #Type: String
startDate #Type: String
endDate #Type: String
nextStartDate #Type: String
scores(id: $id) { #Type: [TeamStatistics]
teamId #Type: Int
name #Type: String
correct #Type: Int
incorrect #Type: Int
}
}
}
}
trivia(triviaId: $triviaId) { #Type: TwitchTrivia
id #Type: String
eventName #Type: String
createdDate #Type: String
createdBy #Type: String
secondsPerQuestion #Type: Int
secondsBetweenQuestions #Type: Int
questionIds #Type: [String]
questions { #Type: [TriviaQuestion]
id #Type: String
question #Type: String
answers #Type: [String]
correctAnswerIndex #Type: Int
createdDate #Type: String
createdBy #Type: String
startDate #Type: String
endDate #Type: String
nextStartDate #Type: String
scores(id: $id) { #Type: [TeamStatistics]
teamId #Type: Int
name #Type: String
correct #Type: Int
incorrect #Type: Int
}
}
}
currentTeams { #Type: TeamList
teams { #Type: [Team]
teamId #Type: Int
name #Type: String
image #Type: String
}
updatedBy #Type: String
updatedDate #Type: String
rvn #Type: Int
}
profile { #Type: Profile
id #Type: String
createdDate #Type: String
epicId #Type: String
epicDisplayName #Type: String
teamId #Type: String
}
getAdmins #Type: [String]
getServerDate #Type: String
getHeartbeat #Type: Int
}
}
#Variables
{
"id": "",
"date": "",
"count": 0,
"triviaId": ""
}
mutation UserSettingsMutation($key: String!, $value: String!) {
UserSettings {
updateSetting(key: $key, value: $value) { #Type: UserSettingMutationStatus
success #Type: Boolean
}
}
}
#Variables
{
"key": "",
"value": ""
}
query UserSettingsQuery($key: String!, $accountIds: [String]!) {
UserSettings {
mySetting(key: $key) { #Type: [UserSetting]
accountId #Type: String
value #Type: String
}
myAvailableSetting(key: $key) #Type: [String]
setting(key: $key, accountIds: $accountIds) { #Type: [UserSetting]
accountId #Type: String
value #Type: String
}
}
}
#Variables
{
"key": "",
"accountIds": ""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment