Skip to content

Graphql

Daniel Pucciariello edited this page Apr 15, 2021 · 3 revisions

Rota

POST https://graphql.ghucdn.net/graphql

Schema

{
   "_queryType":"Query",
   "_mutationType":null,
   "_subscriptionType":null,
   "_directives":[
      {
         "name":"include",
         "description":"Directs the executor to include this field or fragment only when the `if` argument is true.",
         "locations":[
            "FIELD",
            "FRAGMENT_SPREAD",
            "INLINE_FRAGMENT"
         ],
         "args":[
            {
               "name":"if",
               "description":"Included when true.",
               "type":"Boolean!"
            }
         ]
      },
      {
         "name":"skip",
         "description":"Directs the executor to skip this field or fragment when the `if` argument is true.",
         "locations":[
            "FIELD",
            "FRAGMENT_SPREAD",
            "INLINE_FRAGMENT"
         ],
         "args":[
            {
               "name":"if",
               "description":"Skipped when true.",
               "type":"Boolean!"
            }
         ]
      },
      {
         "name":"deprecated",
         "description":"Marks an element of a GraphQL schema as no longer supported.",
         "locations":[
            "FIELD_DEFINITION",
            "ENUM_VALUE"
         ],
         "args":[
            {
               "name":"reason",
               "description":"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax (as specified by [CommonMark](https://commonmark.org/).",
               "type":"String",
               "defaultValue":"No longer supported"
            }
         ]
      }
   ],
   "astNode":null,
   "_typeMap":{
      "Query":"Query",
      "String":"String",
      "Int":"Int",
      "SuggestionProductType":"SuggestionProductType",
      "InputL10n":"InputL10n",
      "PosID":"PosID",
      "Locale":"Locale",
      "SuggestionPayload":"SuggestionPayload",
      "Suggestion":"Suggestion",
      "SearchInputFilters":"SearchInputFilters",
      "SearchInputTermFilter":"SearchInputTermFilter",
      "SearchFilterOperator":"SearchFilterOperator",
      "SearchInputIntervalFilter":"SearchInputIntervalFilter",
      "Float":"Float",
      "SearchInputPagination":"SearchInputPagination",
      "PositiveInt":"PositiveInt",
      "SearchInputSort":"SearchInputSort",
      "SearchInputSortOrder":"SearchInputSortOrder",
      "Date":"Date",
      "SearchInputRooms":"SearchInputRooms",
      "NonNegativeInt":"NonNegativeInt",
      "Search":"Search",
      "SearchFilters":"SearchFilters",
      "SearchTermFilter":"SearchTermFilter",
      "SearchIntervalFilter":"SearchIntervalFilter",
      "SearchRangeFilter":"SearchRangeFilter",
      "SearchResultItem":"SearchResultItem",
      "ID":"ID",
      "SKU":"SKU",
      "ProductPrice":"ProductPrice",
      "ProductPriceTaxes":"ProductPriceTaxes",
      "SearchResultItemAddress":"SearchResultItemAddress",
      "Coordinates":"Coordinates",
      "SearchResultItemTag":"SearchResultItemTag",
      "SearchResultItemGalleryImage":"SearchResultItemGalleryImage",
      "SearchImageQualityType":"SearchImageQualityType",
      "SearchImageResolutionType":"SearchImageResolutionType",
      "SearchResultItemAmenity":"SearchResultItemAmenity",
      "Boolean":"Boolean",
      "SearchMeta":"SearchMeta",
      "SearchPagination":"SearchPagination",
      "SearchHotelInputFilters":"SearchHotelInputFilters",
      "SearchHotel":"SearchHotel",
      "SearchHotelFilters":"SearchHotelFilters",
      "SearchResultHotelItem":"SearchResultHotelItem",
      "SearchPackageInputFilters":"SearchPackageInputFilters",
      "SearchPackage":"SearchPackage",
      "SearchPackageFilters":"SearchPackageFilters",
      "SearchResultPackageItem":"SearchResultPackageItem",
      "SearchResultItemQuantityDescriptors":"SearchResultItemQuantityDescriptors",
      "SearchTicketInputFilters":"SearchTicketInputFilters",
      "SearchTicket":"SearchTicket",
      "SearchTicketFilters":"SearchTicketFilters",
      "SearchResultTicketItem":"SearchResultTicketItem",
      "SearchInputCoordinates":"SearchInputCoordinates",
      "SearchFeaturedHotel":"SearchFeaturedHotel",
      "FullPriceTypes":"FullPriceTypes",
      "PriceBySku":"PriceBySku",
      "Price":"Price",
      "ReviewBySku":"ReviewBySku",
      "Review":"Review",
      "ProductTagBySku":"ProductTagBySku",
      "ProductTag":"ProductTag",
      "Geohash":"Geohash",
      "CMSOfferPagePlatformTypes":"CMSOfferPagePlatformTypes",
      "CMSOfferPage":"CMSOfferPage",
      "CMSOfferPageMetaTags":"CMSOfferPageMetaTags",
      "CMSOfferPageAlternateLink":"CMSOfferPageAlternateLink",
      "CMSOfferPageMetaOg":"CMSOfferPageMetaOg",
      "CMSOfferPageHero":"CMSOfferPageHero",
      "CMSOfferPageHeroImage":"CMSOfferPageHeroImage",
      "WebImageQuality":"WebImageQuality",
      "CMSOfferPageHeroImageResolutionMobile":"CMSOfferPageHeroImageResolutionMobile",
      "CMSOfferPageHeroImageResolution":"CMSOfferPageHeroImageResolution",
      "CMSOfferPageSection":"CMSOfferPageSection",
      "__Schema":"__Schema",
      "__Type":"__Type",
      "__TypeKind":"__TypeKind",
      "__Field":"__Field",
      "__InputValue":"__InputValue",
      "__EnumValue":"__EnumValue",
      "__Directive":"__Directive",
      "__DirectiveLocation":"__DirectiveLocation",
      "LocationSuggestion":"LocationSuggestion",
      "ProductSuggestion":"ProductSuggestion",
      "TagSuggestion":"TagSuggestion",
      "CMSOfferPageSectionCarousel":"CMSOfferPageSectionCarousel",
      "CMSOfferPageSectionCarouselItem":"CMSOfferPageSectionCarouselItem",
      "CMSOfferPageSectionCarouselItemImage":"CMSOfferPageSectionCarouselItemImage",
      "CMSOfferPageSectionCarouselItemImageResolutionMobile":"CMSOfferPageSectionCarouselItemImageResolutionMobile",
      "CMSOfferPageSectionCarouselItemImageResolution":"CMSOfferPageSectionCarouselItemImageResolution",
      "CMSOfferPageSectionWideBanner":"CMSOfferPageSectionWideBanner",
      "CMSOfferPageSectionWideBannerImage":"CMSOfferPageSectionWideBannerImage",
      "CMSOfferPageSectionWideBannerImageResolutionMobile":"CMSOfferPageSectionWideBannerImageResolutionMobile",
      "CMSOfferPageSectionWideBannerImageResolution":"CMSOfferPageSectionWideBannerImageResolution",
      "CMSOfferPageSectionFeaturedCollection":"CMSOfferPageSectionFeaturedCollection",
      "CMSOfferPageSectionFeaturedCollectionItem":"CMSOfferPageSectionFeaturedCollectionItem",
      "CMSOfferPageSectionFeaturedCollectionCampaign":"CMSOfferPageSectionFeaturedCollectionCampaign",
      "CMSOfferPageSectionFeaturedCollectionCampaignImage":"CMSOfferPageSectionFeaturedCollectionCampaignImage",
      "CMSOfferPageSectionFeaturedCollectionCampaignImageResolution":"CMSOfferPageSectionFeaturedCollectionCampaignImageResolution",
      "CMSOfferPageSectionFeaturedCollectionHotel":"CMSOfferPageSectionFeaturedCollectionHotel",
      "CMSOfferPageSectionFeaturedCollectionProductImage":"CMSOfferPageSectionFeaturedCollectionProductImage",
      "CMSOfferPageSectionFeaturedCollectionProductImageResolution":"CMSOfferPageSectionFeaturedCollectionProductImageResolution",
      "CMSOfferPageSectionFeaturedCollectionPackage":"CMSOfferPageSectionFeaturedCollectionPackage",
      "CMSOfferPageSectionFeaturedCollectionPackageAttributes":"CMSOfferPageSectionFeaturedCollectionPackageAttributes",
      "CMSOfferPageSectionIncentiveCollection":"CMSOfferPageSectionIncentiveCollection",
      "CMSOfferPageSectionIncentiveCollectionItem":"CMSOfferPageSectionIncentiveCollectionItem",
      "CMSOfferPageSectionIncentiveCollectionItemImage":"CMSOfferPageSectionIncentiveCollectionItemImage",
      "CMSOfferPageSectionIncentiveCollectionItemImageResolution":"CMSOfferPageSectionIncentiveCollectionItemImageResolution",
      "CMSOfferPageSectionWideTilesCollection":"CMSOfferPageSectionWideTilesCollection",
      "CMSOfferPageSectionWideTilesCollectionItem":"CMSOfferPageSectionWideTilesCollectionItem",
      "CMSOfferPageSectionWideTilesCollectionItemImage":"CMSOfferPageSectionWideTilesCollectionItemImage",
      "CMSOfferPageSectionWideTilesCollectionItemImageResolution":"CMSOfferPageSectionWideTilesCollectionItemImageResolution",
      "CMSOfferPageSectionTilesCollection":"CMSOfferPageSectionTilesCollection",
      "CMSOfferPageSectionTilesCollectionItem":"CMSOfferPageSectionTilesCollectionItem",
      "CMSOfferPageSectionTilesCollectionItemImage":"CMSOfferPageSectionTilesCollectionItemImage",
      "CMSOfferPageSectionTilesCollectionItemImageResolution":"CMSOfferPageSectionTilesCollectionItemImageResolution",
      "CMSOfferPageSectionStandardCollection":"CMSOfferPageSectionStandardCollection",
      "CMSOfferPageSectionStandardCollectionCallToAction":"CMSOfferPageSectionStandardCollectionCallToAction",
      "CMSOfferPageSectionStandardCollectionItem":"CMSOfferPageSectionStandardCollectionItem",
      "CMSOfferPageSectionStandardCollectionCampaign":"CMSOfferPageSectionStandardCollectionCampaign",
      "CMSOfferPageSectionStandardCollectionCampaignImage":"CMSOfferPageSectionStandardCollectionCampaignImage",
      "CMSOfferPageSectionStandardCollectionCampaignImageResolution":"CMSOfferPageSectionStandardCollectionCampaignImageResolution",
      "CMSOfferPageSectionStandardCollectionHotel":"CMSOfferPageSectionStandardCollectionHotel",
      "CMSOfferPageSectionStandardCollectionProductImage":"CMSOfferPageSectionStandardCollectionProductImage",
      "CMSOfferPageSectionStandardCollectionProductImageResolution":"CMSOfferPageSectionStandardCollectionProductImageResolution",
      "CMSOfferPageSectionStandardCollectionPackage":"CMSOfferPageSectionStandardCollectionPackage",
      "CMSOfferPageSectionStandardCollectionPackageAttributes":"CMSOfferPageSectionStandardCollectionPackageAttributes"
   },
   "_implementations":{
      "SearchResultItem":[
         "SearchResultHotelItem",
         "SearchResultPackageItem",
         "SearchResultTicketItem"
      ],
      "Suggestion":[
         "LocationSuggestion",
         "ProductSuggestion",
         "TagSuggestion"
      ],
      "CMSOfferPageSection":[
         "CMSOfferPageSectionCarousel",
         "CMSOfferPageSectionWideBanner",
         "CMSOfferPageSectionFeaturedCollection",
         "CMSOfferPageSectionIncentiveCollection",
         "CMSOfferPageSectionWideTilesCollection",
         "CMSOfferPageSectionTilesCollection",
         "CMSOfferPageSectionStandardCollection"
      ],
      "CMSOfferPageSectionFeaturedCollectionItem":[
         "CMSOfferPageSectionFeaturedCollectionCampaign",
         "CMSOfferPageSectionFeaturedCollectionHotel",
         "CMSOfferPageSectionFeaturedCollectionPackage"
      ],
      "CMSOfferPageSectionStandardCollectionItem":[
         "CMSOfferPageSectionStandardCollectionCampaign",
         "CMSOfferPageSectionStandardCollectionHotel",
         "CMSOfferPageSectionStandardCollectionPackage"
      ]
   },
   "_possibleTypeMap":{
      "CMSOfferPageSection":{
         "CMSOfferPageSectionCarousel":true,
         "CMSOfferPageSectionWideBanner":true,
         "CMSOfferPageSectionFeaturedCollection":true,
         "CMSOfferPageSectionIncentiveCollection":true,
         "CMSOfferPageSectionWideTilesCollection":true,
         "CMSOfferPageSectionTilesCollection":true,
         "CMSOfferPageSectionStandardCollection":true
      },
      "CMSOfferPageSectionFeaturedCollectionItem":{
         "CMSOfferPageSectionFeaturedCollectionCampaign":true,
         "CMSOfferPageSectionFeaturedCollectionHotel":true,
         "CMSOfferPageSectionFeaturedCollectionPackage":true
      },
      "CMSOfferPageSectionStandardCollectionItem":{
         "CMSOfferPageSectionStandardCollectionCampaign":true,
         "CMSOfferPageSectionStandardCollectionHotel":true,
         "CMSOfferPageSectionStandardCollectionPackage":true
      }
   }
}