Last active
October 2, 2017 19:46
-
-
Save wwe-johndpope/ac8367ea6bb1b64267d5a36e8f8a23ce to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://search-api-wwe-mock.bamgrid.com/svc/search/v2/graphql?query=fragment%20tag%20on%20Tag%20%7B%0A%20%20type%0A%20%20value%0A%20%20displayName%0A%7D%0A%0Afragment%20cmsItem%20on%20CmsItem%20%7B%0A%20%20contentId%0A%20%20type%0A%20%20tags(type%3A%20%24tag_types)%20%7B%0A%20%20%20%20...tag%0A%20%20%7D%0A%7D%0A%0Afragment%20hyperMediaLink%20on%20HypermediaLink%20%7B%0A%20%20href%0A%20%20params%20%7B%0A%20%20%20%20name%0A%20%20%20%20description%0A%20%20%7D%0A%20%20rel%0A%20%20templated%0A%7D%0A%0Afragment%20photo%20on%20Photo%20%7B%0A%20%20...cmsItem%0A%20%20height%0A%20%20imageLocation%0A%20%20masterCutId%0A%20%20width%0A%7D%0A%0Afragment%20photoAsset%20on%20PhotoAsset%20%7B%0A%20%20...cmsItem%0A%20%20altText%0A%20%20caption%0A%20%20credit%0A%20%20headline%0A%20%20rawImage%0A%20%20width%0A%20%20height%0A%20%20inning%0A%20%20purchaseUrl%0A%20%20photos(max_width%3A%20%24max_width%2C%20min_width%3A%20%24min_width%2C%20max_height%3A%20%24max_height%2C%20min_height%3A%20%24min_height%2C%20dimensions%3A%20%24dimensions)%20%40include(if%3A%20%24include_images)%20%7B%0A%20%20%20%20...photo%0A%20%20%7D%0A%20%20timestamp%0A%20%20title%0A%7D%0A%0Afragment%20milestoneFragment%20on%20Milestone%20%7B%0A%20%20photos%20%40include(if%3A%20%24include_images)%20%7B%0A%20%20%20%20...photoAsset%0A%20%20%7D%0A%20%20blurb%0A%20%20id%0A%20%20keywords%20%7B%0A%20%20%20%20type%0A%20%20%20%20value%0A%20%20%7D%0A%20%20milestoneTime%20%7B%0A%20%20%20%20type%0A%20%20%20%20startDatetime%0A%20%20%20%20start%0A%20%20%7D%0A%20%20milestoneType%0A%20%20title%0A%7D%0A%0Afragment%20mediaAsset%20on%20MediaAsset%20%7B%0A%20%20...cmsItem%0A%20%20mediaId%0A%20%20milestones%20%7B%0A%20%20%20%20...milestoneFragment%0A%20%20%7D%0A%20%20playbackUrls%20%7B%0A%20%20%20%20...hyperMediaLink%0A%20%20%7D%0A%20%20audioType%0A%20%20captions%0A%20%20dubbedLanguages%0A%20%20HDContent%0A%20%20language%0A%20%20mediaState%0A%20%20secure%0A%20%20subtitleLanguages%0A%20%20mediaAssetType%0A%7D%0A%0Afragment%20titleAsset%20on%20TitleAsset%20%7B%0A%20%20...cmsItem%0A%20%20episodeName%0A%20%20summaryLong%0A%20%20summaryShort%0A%20%20title%0A%20%20titleBrief%0A%20%20titleSortName%0A%20%20language%0A%20%20titleSlug%0A%7D%0A%0Afragment%20epgTitle%20on%20EpgTitle%20%7B%0A%20%20descriptionLong%0A%20%20descriptionShort%0A%20%20episodeName%0A%20%20language%0A%20%20title%0A%7D%0A%0Afragment%20watchlistBookmarksUser%20on%20WatchlistBookmarksUser%20%7B%0A%20%20onWatchlist%0A%20%20lastWatched%0A%20%20percentCompleted%0A%20%20secondsWatched%0A%7D%0A%0Afragment%20rating%20on%20Rating%20%7B%0A%20%20value%0A%20%20system%0A%20%20advisories%0A%7D%0A%0Afragment%20slate%20on%20Slate%20%7B%0A%20%20title%0A%20%20urls%20%7B%0A%20%20%20%20rel%0A%20%20%20%20href%0A%20%20%7D%0A%7D%0A%0Afragment%20video%20on%20Video%20%7B%0A%20%20...cmsItem%0A%20%20displayRunTime%0A%20%20genres%0A%20%20programId%0A%20%20runTime%0A%20%20user%20%40include(if%3A%20%24include_user)%20%7B%0A%20%20%20%20...watchlistBookmarksUser%0A%20%20%7D%0A%20%20photos%20%40include(if%3A%20%24include_images)%20%7B%0A%20%20%20%20...photoAsset%0A%20%20%7D%0A%20%20actorsDisplay%0A%20%20appears%0A%20%20assetName%0A%20%20billingID%0A%20%20calendarEventId%0A%20%20closedCaptioning%0A%20%20creationDate%0A%20%20description%0A%20%20displayAsNew%0A%20%20partnerProgramId%0A%20%20episodeId%0A%20%20episodeName%0A%20%20episodeSequenceNumber%0A%20%20expires%0A%20%20videoKeywords%3A%20keywords%0A%20%20language%0A%20%20media%20%7B%0A%20%20%20%20...mediaAsset%0A%20%20%7D%0A%20%20milestoneStart%20%7B%0A%20%20%20%20absoluteTime%0A%20%20%20%20offsetSeconds%0A%20%20%7D%0A%20%20milestoneEnd%20%7B%0A%20%20%20%20absoluteTime%0A%20%20%20%20offsetSeconds%0A%20%20%7D%0A%20%20product%0A%20%20provider%0A%20%20providerID%0A%20%20providerQAContact%0A%20%20ratings%20%7B%0A%20%20%20%20...rating%0A%20%20%7D%0A%20%20releaseDate%0A%20%20seasonFinale%0A%20%20seasonId%0A%20%20seriesId%0A%20%20seasonPremiere%0A%20%20slates%20%7B%0A%20%20%20%20...slate%0A%20%20%7D%0A%20%20studio%0A%20%20studioCode%0A%20%20studioName%0A%20%20titles%20%40preferLanguages(languages%3A%20%24preferredLanguages)%20%7B%0A%20%20%20%20...titleAsset%0A%20%20%7D%0A%20%20writerDisplay%0A%20%20seriesSlug%0A%20%20seasonSlug%0A%7D%0A%0Afragment%20airing%20on%20Airing%20%7B%0A%20%20contentId%0A%20%20displayRunTime%0A%20%20genres%0A%20%20programId%0A%20%20runTime%0A%20%20type%0A%20%20mediaId%0A%20%20milestones%20%7B%0A%20%20%20%20...milestoneFragment%0A%20%20%7D%0A%20%20playbackUrls%20%7B%0A%20%20%20%20...hyperMediaLink%0A%20%20%7D%0A%20%20user%20%40include(if%3A%20%24include_user)%20%7B%0A%20%20%20%20...watchlistBookmarksUser%0A%20%20%7D%0A%20%20actorsDisplay%0A%20%20adId%0A%20%20captionLanguages%0A%20%20channel%20%7B%0A%20%20%20%20callsign%0A%20%20%20%20id%0A%20%20%20%20parent%0A%20%20%20%20partnerId%0A%20%20%7D%0A%20%20endDate%0A%20%20eventId%0A%20%20expires%0A%20%20feedLanguage%0A%20%20feedType%0A%20%20groupingId%0A%20%20airingKeywords%3A%20keywords%20%7B%0A%20%20%20%20promos%0A%20%20%7D%0A%20%20linear%0A%20%20mediaConfig%20%7B%0A%20%20%20%20state%0A%20%20%20%20productType%0A%20%20%20%20type%0A%20%20%7D%0A%20%20partnerProgramId%0A%20%20photos(max_width%3A%20%24max_width%2C%20min_width%3A%20%24min_width%2C%20max_height%3A%20%24max_height%2C%20min_height%3A%20%24min_height%2C%20dimensions%3A%20%24dimensions)%20%40include(if%3A%20%24include_images)%20%7B%0A%20%20%20%20aspectRatio%0A%20%20%20%20contentSize%0A%20%20%20%20id%0A%20%20%20%20uri%0A%20%20%20%20width%0A%20%20%20%20height%0A%20%20%7D%0A%20%20titles%20%40preferLanguages(languages%3A%20%24preferredLanguages)%20%7B%0A%20%20%20%20...epgTitle%0A%20%20%7D%0A%20%20programType%0A%20%20ratings%20%7B%0A%20%20%20%20...rating%0A%20%20%7D%0A%20%20slates%20%7B%0A%20%20%20%20...slate%0A%20%20%7D%0A%20%20startDate%0A%20%20teams%20%7B%0A%20%20%20%20id%0A%20%20%20%20type%0A%20%20%7D%0A%20%20liveBroadcast%0A%20%20runtimeMillis%0A%20%20slug%0A%20%20seasonId%0A%7D%0A%0Aquery%20queryMedia(%24partnerProgramIds%3A%20%5BID%5D%2C%20%24groupingId%3A%20ID%2C%20%24genre%3A%20String%2C%20%24programType%3A%20String%2C%20%24languages%3A%20%5BString%5D%2C%20%24page%3A%20Int%2C%20%24pageSize%3A%20Int%2C%20%24mediaRights%3A%20%5BMediaRight%5D%20%3D%20%5B%5D%2C%20%24enforceParentalControls%3A%20Boolean%20%3D%20false%2C%20%24uiLang%3A%20String%2C%20%24sortBy%3A%20String%2C%20%24sortDirection%3A%20SortDirection%2C%20%24must%3A%20%5BBoolDirectiveTermsFilter%5D%2C%20%24must_not%3A%20%5BBoolDirectiveTermsFilter%5D%2C%20%24should%3A%20%5BBoolDirectiveTermsFilter%5D%2C%20%24max_width%3A%20Int%2C%20%24min_width%3A%20Int%2C%20%24max_height%3A%20Int%2C%20%24min_height%3A%20Int%2C%20%24dimensions%3A%20%5BString%5D%2C%20%24include_images%3A%20Boolean%20%3D%20false%2C%20%24tag_types%3A%20%5BString%5D%20%3D%20%5B%5D%2C%20%24include_user%3A%20Boolean%20%3D%20false%2C%20%24preferredLanguages%3A%20%5BString%5D%20%3D%20%5B%5D)%20%7B%0A%20%20Media(partnerProgramIds%3A%20%24partnerProgramIds%2C%20groupingId%3A%20%24groupingId%2C%20genre%3A%20%24genre%2C%20programType%3A%20%24programType%2C%20languages%3A%20%24languages%2C%20page%3A%20%24page%2C%20pageSize%3A%20%24pageSize)%20%40context(uiLang%3A%20%24uiLang)%20%40enforceMediaRights(mediaRights%3A%20%24mediaRights)%20%40enforceParentalControls(if%3A%20%24enforceParentalControls)%20%40sort(sortBy%3A%20%24sortBy%2C%20sortDirection%3A%20%24sortDirection)%20%40must(termsFilters%3A%20%24must)%20%40must_not(termsFilters%3A%20%24must_not)%20%40should(termsFilters%3A%20%24should)%20%7B%0A%20%20%20%20name%0A%20%20%20%20videos%20%7B%0A%20%20%20%20%20%20...%20on%20Video%20%7B%0A%20%20%20%20%20%20%20%20...video%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20...%20on%20Airing%20%7B%0A%20%20%20%20%20%20%20%20...airing%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%7D%0A%7D%0A |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fragment tag on Tag { | |
| type | |
| value | |
| displayName | |
| } | |
| fragment cmsItem on CmsItem { | |
| contentId | |
| type | |
| tags(type: $tag_types) { | |
| ...tag | |
| } | |
| } | |
| fragment hyperMediaLink on HypermediaLink { | |
| href | |
| params { | |
| name | |
| description | |
| } | |
| rel | |
| templated | |
| } | |
| fragment photo on Photo { | |
| ...cmsItem | |
| height | |
| imageLocation | |
| masterCutId | |
| width | |
| } | |
| fragment photoAsset on PhotoAsset { | |
| ...cmsItem | |
| altText | |
| caption | |
| credit | |
| headline | |
| rawImage | |
| width | |
| height | |
| inning | |
| purchaseUrl | |
| photos(max_width: $max_width, min_width: $min_width, max_height: $max_height, min_height: $min_height, dimensions: $dimensions) @include(if: $include_images) { | |
| ...photo | |
| } | |
| timestamp | |
| title | |
| } | |
| fragment milestoneFragment on Milestone { | |
| photos @include(if: $include_images) { | |
| ...photoAsset | |
| } | |
| blurb | |
| id | |
| keywords { | |
| type | |
| value | |
| } | |
| milestoneTime { | |
| type | |
| startDatetime | |
| start | |
| } | |
| milestoneType | |
| title | |
| } | |
| fragment mediaAsset on MediaAsset { | |
| ...cmsItem | |
| mediaId | |
| milestones { | |
| ...milestoneFragment | |
| } | |
| playbackUrls { | |
| ...hyperMediaLink | |
| } | |
| audioType | |
| captions | |
| dubbedLanguages | |
| HDContent | |
| language | |
| mediaState | |
| secure | |
| subtitleLanguages | |
| mediaAssetType | |
| } | |
| fragment titleAsset on TitleAsset { | |
| ...cmsItem | |
| episodeName | |
| summaryLong | |
| summaryShort | |
| title | |
| titleBrief | |
| titleSortName | |
| language | |
| titleSlug | |
| } | |
| fragment epgTitle on EpgTitle { | |
| descriptionLong | |
| descriptionShort | |
| episodeName | |
| language | |
| title | |
| } | |
| fragment watchlistBookmarksUser on WatchlistBookmarksUser { | |
| onWatchlist | |
| lastWatched | |
| percentCompleted | |
| secondsWatched | |
| } | |
| fragment rating on Rating { | |
| value | |
| system | |
| advisories | |
| } | |
| fragment slate on Slate { | |
| title | |
| urls { | |
| rel | |
| href | |
| } | |
| } | |
| fragment video on Video { | |
| ...cmsItem | |
| displayRunTime | |
| genres | |
| programId | |
| runTime | |
| user @include(if: $include_user) { | |
| ...watchlistBookmarksUser | |
| } | |
| photos @include(if: $include_images) { | |
| ...photoAsset | |
| } | |
| actorsDisplay | |
| appears | |
| assetName | |
| billingID | |
| calendarEventId | |
| closedCaptioning | |
| creationDate | |
| description | |
| displayAsNew | |
| partnerProgramId | |
| episodeId | |
| episodeName | |
| episodeSequenceNumber | |
| expires | |
| videoKeywords: keywords | |
| language | |
| media { | |
| ...mediaAsset | |
| } | |
| milestoneStart { | |
| absoluteTime | |
| offsetSeconds | |
| } | |
| milestoneEnd { | |
| absoluteTime | |
| offsetSeconds | |
| } | |
| product | |
| provider | |
| providerID | |
| providerQAContact | |
| ratings { | |
| ...rating | |
| } | |
| releaseDate | |
| seasonFinale | |
| seasonId | |
| seriesId | |
| seasonPremiere | |
| slates { | |
| ...slate | |
| } | |
| studio | |
| studioCode | |
| studioName | |
| titles @preferLanguages(languages: $preferredLanguages) { | |
| ...titleAsset | |
| } | |
| writerDisplay | |
| seriesSlug | |
| seasonSlug | |
| } | |
| fragment airing on Airing { | |
| contentId | |
| displayRunTime | |
| genres | |
| programId | |
| runTime | |
| type | |
| mediaId | |
| milestones { | |
| ...milestoneFragment | |
| } | |
| playbackUrls { | |
| ...hyperMediaLink | |
| } | |
| user @include(if: $include_user) { | |
| ...watchlistBookmarksUser | |
| } | |
| actorsDisplay | |
| adId | |
| captionLanguages | |
| channel { | |
| callsign | |
| id | |
| parent | |
| partnerId | |
| } | |
| endDate | |
| eventId | |
| expires | |
| feedLanguage | |
| feedType | |
| groupingId | |
| airingKeywords: keywords { | |
| promos | |
| } | |
| linear | |
| mediaConfig { | |
| state | |
| productType | |
| type | |
| } | |
| partnerProgramId | |
| photos(max_width: $max_width, min_width: $min_width, max_height: $max_height, min_height: $min_height, dimensions: $dimensions) @include(if: $include_images) { | |
| aspectRatio | |
| contentSize | |
| id | |
| uri | |
| width | |
| height | |
| } | |
| titles @preferLanguages(languages: $preferredLanguages) { | |
| ...epgTitle | |
| } | |
| programType | |
| ratings { | |
| ...rating | |
| } | |
| slates { | |
| ...slate | |
| } | |
| startDate | |
| teams { | |
| id | |
| type | |
| } | |
| liveBroadcast | |
| runtimeMillis | |
| slug | |
| seasonId | |
| } | |
| query queryMedia($partnerProgramIds: [ID], $groupingId: ID, $genre: String, $programType: String, $languages: [String], $page: Int, $pageSize: Int, $mediaRights: [MediaRight] = [], $enforceParentalControls: Boolean = false, $uiLang: String, $sortBy: String, $sortDirection: SortDirection, $must: [BoolDirectiveTermsFilter], $must_not: [BoolDirectiveTermsFilter], $should: [BoolDirectiveTermsFilter], $max_width: Int, $min_width: Int, $max_height: Int, $min_height: Int, $dimensions: [String], $include_images: Boolean = false, $tag_types: [String] = [], $include_user: Boolean = false, $preferredLanguages: [String] = []) { | |
| Media(partnerProgramIds: $partnerProgramIds, groupingId: $groupingId, genre: $genre, programType: $programType, languages: $languages, page: $page, pageSize: $pageSize) @context(uiLang: $uiLang) @enforceMediaRights(mediaRights: $mediaRights) @enforceParentalControls(if: $enforceParentalControls) @sort(sortBy: $sortBy, sortDirection: $sortDirection) @must(termsFilters: $must) @must_not(termsFilters: $must_not) @should(termsFilters: $should) { | |
| name | |
| videos { | |
| ... on Video { | |
| ...video | |
| } | |
| ... on Airing { | |
| ...airing | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment