Created
April 22, 2020 21:48
-
-
Save gmac/9e3d9d1c79cf0bba4b4c046ad521589a to your computer and use it in GitHub Desktop.
Chorus EntryBody query
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 FetchEntry($uuid: String!) { | |
entry(uuid: $uuid) { | |
body { | |
components { | |
type | |
attributes { | |
alignment | |
} | |
...ActionboxAttrs | |
...BlockquoteAttrs | |
...BodyImageAttrs | |
...EmbedAttrs | |
...GalleryAttrs | |
...HeadingAttrs | |
...HTMLAttrs | |
...ImageComparisonAttrs | |
...ImageGroupAttrs | |
...JSONAttrs | |
...ListAttrs | |
...ParagraphAttrs | |
...PullquoteAttrs | |
...RatingcardAttrs | |
...RelatedListAttrs | |
...SidebarAttrs | |
...TableAttrs | |
...VideoAttrs | |
} | |
} | |
} | |
} | |
fragment ActionboxAttrs on EntryBodyActionbox { | |
description { | |
ops | |
} | |
heading { | |
ops | |
} | |
label { | |
ops | |
} | |
url | |
} | |
fragment BlockquoteAttrs on EntryBodyBlockquote { | |
paragraphs { | |
...ParagraphAttrs | |
} | |
} | |
fragment BodyImageAttrs on EntryBodyImage { | |
image { | |
...ImageAttrs | |
} | |
} | |
fragment EmbedAttrs on EntryBodyEmbed { | |
author { | |
name | |
url | |
} | |
embedHtml | |
provider { | |
name | |
url | |
} | |
url | |
} | |
fragment GalleryAttrs on EntryBodyGallery { | |
images { | |
...ImageAttrs | |
} | |
title | |
} | |
fragment HeadingAttrs on EntryBodyHeading { | |
level | |
ops | |
} | |
fragment HTMLAttrs on EntryBodyHTML { | |
innerHtml | |
} | |
fragment ImageAttrs on EntryImage { | |
caption { | |
ops | |
} | |
credit { | |
ops | |
} | |
url | |
} | |
fragment ImageComparisonAttrs on EntryBodyImageComparison { | |
caption { | |
ops | |
} | |
images { | |
...ImageAttrs | |
} | |
} | |
fragment ImageGroupAttrs on EntryBodyImageGroup { | |
images { | |
...ImageAttrs | |
} | |
layout | |
} | |
fragment JSONAttrs on EntryBodyJSON { | |
data | |
schemaName | |
} | |
fragment ListAttrs on EntryBodyList { | |
items { | |
ops | |
} | |
ordered | |
} | |
fragment ParagraphAttrs on EntryBodyParagraph { | |
format { | |
dropcap | |
endmark | |
lead | |
} | |
ops | |
} | |
fragment PullquoteAttrs on EntryBodyPullquote { | |
quote { | |
ops | |
} | |
} | |
fragment RatingcardAttrs on EntryBodyRatingcard { | |
maxRating | |
rating | |
title | |
} | |
fragment RelatedListAttrs on EntryBodyRelatedList { | |
items { | |
title | |
url | |
} | |
} | |
fragment SidebarAttrs on EntryBodySidebar { | |
body { | |
type | |
...BlockquoteAttrs | |
...BodyImageAttrs | |
...EmbedAttrs | |
...HeadingAttrs | |
...HTMLAttrs | |
...JSONAttrs | |
...ListAttrs | |
...ParagraphAttrs | |
...PullquoteAttrs | |
...RatingcardAttrs | |
...VideoAttrs | |
} | |
} | |
fragment TableAttrs on EntryBodyTable { | |
caption { | |
ops | |
} | |
columns | |
credit { | |
ops | |
} | |
rows | |
tableSort { | |
columnIndex | |
descending | |
} | |
title | |
} | |
fragment VideoAttrs on EntryBodyVideo { | |
source { | |
id | |
provider | |
} | |
title | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment