OBJECT
Query
Available Queries
link GraphQL Schema definition
- type Query {
- # Returns the Pantone Book by ID
- #
- # Arguments
- # id:
- (: ID!): Book
- # Returns all the Pantone Books
- : [Book]
- # Returns a Pantone Color by code (ID)
- #
- # Arguments
- # code:
- (: String!): Color
- # Returns the Pantone Colors and data about the search result
- # #### It returns maximum 100 colors
- #
- # Arguments
- # textFilter:
- # bookId:
- (: String, : ID): ColorsSearch
- # Returns requested Pantone Colors (by their code)
- # #### Maximum numbers of colors to request is 10
- #
- # Arguments
- # codes:
- (: [String]): [Color]
- # Returns the closest Pantone Colors to the input Color.
- # #### The input Color can be specified by code (Pantone Color ID) or by one of
- # the available color spaces.
- #
- # Arguments
- # bookId: Pantone Book ID.
- # #### If specified, the results will be taken only from that Book. Otherwise they
- # will be taken from all Pantone Boooks.
- # colorCode: Input Color as Pantone Color, by code
- # colorRGB: Input Color by RGB values
- # colorCMYK: Input Color by CMYK values
- # colorHex: Input Color by Hexadecimal value
- # colorLAB: Input Color by L*a*b* values.
- # #### Usage of this parameter needs specific permissions
- (
- : ID,
- : String,
- : RGBInput,
- : CMYKInput,
- : String,
- : LABInput
- ): [Color]
- # Returns the closest Pantone Colors from all books.
- # #### The input Color can be specified by code (Pantone Color ID) or by one of
- # the available color spaces.
- #
- # Arguments
- # colorCode: Input Color as Pantone Color, by code
- # colorRGB: Input Color by RGB values
- # colorCMYK: Input Color by CMYK values
- # colorHex: Input Color by Hexadecimal value
- # colorLAB: Input Color by L*a*b* values.
- # #### Usage of this parameter needs specific permissions
- (
- : String,
- : RGBInput,
- : CMYKInput,
- : String,
- : LABInput
- ): [ClosestColorsFromAllBooks]
- # Returns the Harmony of the specified Pantone Color
- #
- # Arguments
- # colorCode:
- # harmony:
- (: String!, : Harmony!): [Color]
- # Returns the Shades of the specified Pantone Color
- #
- # Arguments
- # colorCode:
- (: String!): ColorShades
- # Returns a Palette
- #
- # Arguments
- # id:
- (: ID!): Palette
- # Returns Palettes of the current User (sorted by most recent)
- #
- # Arguments
- # limit:
- # nextToken:
- (: Int, : String): PaletteConnection
- # Returns Palettes shared with the current User (not sorted)
- : [Palette]
- # Returns Moodboards of the current User (sorted by most recent)
- #
- # Arguments
- # limit:
- # nextToken:
- (: Int, : String): MoodboardConnection
- # Returns a Moodboard
- #
- # Arguments
- # id:
- (: ID!): Moodboard
- # Returns Palettes shared with the current User (not sorted)
- : [Moodboard]
- # Returns FastSpring subscriptions data
- : FastSpringSubscription
- # Sync User Subscriptions
- : SyncUserSubscriptions
- # Returns preisgned URL for uploading files to S3
- : S3PresignedURL
- # Returns FastSpring info to manage own subscriptions
- : SubscriptionManagement
- # Arguments
- # deleteNow:
- (: Boolean): FastSpringSubscription
- # Delete a custom user Data
- : DeleteUserDataOutput
- # Returns user machine ID
- #
- # Arguments
- # machineId:
- (: String!): UserMachineId
- # Returns user data
- : UserData
- # Returns the Coupon Code by ID
- #
- # Arguments
- # id:
- (: ID!): CouponCode
- # Returns the Country of the user based on the location.
- : UserCountry
- # Returns type of user account based on email.
- #
- # Arguments
- # email:
- (: String!): AccountType
- # Returns FastSpring products pricing information
- : Products
- # Returns articles from Contentful
- #
- # Arguments
- # subscriptionType: TODO: remove this argument. temporarily
- # passing here for development
- (: String): GetArticlesResponse!
- # Returns a single article from Contentful
- #
- # Arguments
- # articleId: id or slug
- # subscriptionType: TODO: remove this argument. temporarily
- # passing here for development
- (: String!, : String): Article
- # Returns an article carousel from Contentful
- #
- # Arguments
- # id: id or slug
- (: String!): ContentfulArticleCarousel
- # Returns articles from Contentful; doesn't check subscription status and
- # always uses unentitled state
- : GetArticlesResponse!
- # Returns a single article from Contentful; doesn't check subscription status and
- # always uses unentitled state
- #
- # Arguments
- # articleId: id or slug
- (: String!): Article
- # Returns an article carousel from Contentful; doesn't check subscription status
- # and
- # always uses unentitled state
- #
- # Arguments
- # id: id or slug
- (: String!): ContentfulArticleCarousel
- # Returns the announcement popup from Contentful
- : AnnouncementPopup
- # Returns colors statistics
- #
- # Arguments
- # type: type of statictis to get
- # filter: location and time filters for statistics
- (: String!, : StatisticsFilter!): ColorStatistics
- }
link Require by
This element is not required by anyone