Last active
August 13, 2021 09:02
-
-
Save agehlot/e278272f15f204caf28b646ee78a5a22 to your computer and use it in GitHub Desktop.
These are some sample Sitecore Content Hub sample GraphQL queries
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
{ | |
allM_Asset(where: { title_eq: "Group selfie with drinks" }) { | |
total | |
results { | |
fileName | |
fileSize | |
isDraft | |
} | |
} | |
} |
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
{ | |
allM_Content { | |
total | |
} | |
} |
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
{ | |
allM_Content { | |
results { | |
id | |
content_Name | |
} | |
} | |
} |
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
{ | |
allM_Asset{ | |
total | |
results { | |
fileName | |
fileSize | |
isDraft | |
#renditions | |
assetToPublicLink | |
{ | |
total | |
results | |
{ | |
relativeUrl | |
} | |
} | |
} | |
} | |
} |
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
{ | |
allM_PCM_Product { | |
results { | |
id | |
productName | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment