Created
July 1, 2022 13:05
-
-
Save salami-art/3e81ff41249932e805f20846eeb2388c to your computer and use it in GitHub Desktop.
This file contains 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
{ | |
"workspace": "kolumbus", | |
"collection": "meteoweb", | |
"type": "gallery", | |
"advancedCategoryTerm": { | |
"categoryTerms": "/meteoweb", | |
"searchInSecondaryCategory": true, | |
"searchInChildCategories": true | |
}, | |
"paging": { | |
"limit": 3, | |
"skip": 0 | |
}, | |
"sort": { | |
"orderBy": "PUBFROMDATE" | |
}, | |
"notIds": "1000027666,1000040922,1000040925,1000040919" | |
} |
This file contains 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
query getContents( | |
$workspace: String = "kolumbus" | |
$collection: String! | |
$advancedCategoryTerm: AdvancedCategoryTerm | |
$type: String! | |
$paging: SearchPaging | |
$sort: SearchSort | |
$notIds: String! | |
) { | |
contents: getContents( | |
workspace: $workspace | |
collection: $collection | |
advancedCategoryTerm: $advancedCategoryTerm | |
type: $type | |
paging: $paging | |
sort: $sort | |
notIds: $notIds | |
) { | |
sequences { | |
...TeaserFields | |
} | |
} | |
} | |
fragment TeaserFields on Sequence { | |
id | |
sequenceNumber | |
categories { | |
categoryTerm | |
sequence | |
zone | |
template | |
block | |
pubFromDate | |
attributes { | |
key | |
value | |
} | |
} | |
data { | |
...ContentFieldFields | |
} | |
media { | |
...MediaFields | |
} | |
tags { | |
type | |
value | |
} | |
targetLink | |
} | |
fragment ContentFieldFields on ContentField { | |
fieldTypeId | |
value | |
} | |
fragment MediaFields on Media { | |
id | |
href { | |
...MediaLinkFields | |
} | |
hrefThumb { | |
...MediaLinkFields | |
} | |
hrefHd { | |
...MediaLinkFields | |
} | |
data { | |
...ContentFieldFields | |
} | |
cuts { | |
...MediaLinkFields | |
} | |
} | |
fragment MediaLinkFields on MediaLink { | |
name | |
url | |
contentType | |
width | |
height | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment