51 lines
1.2 KiB
GraphQL
51 lines
1.2 KiB
GraphQL
query GetPost($id: ID!) {
|
|
post(id: $id) {
|
|
title
|
|
createdAt
|
|
readingTime
|
|
uniqueSlug
|
|
creator {
|
|
name
|
|
id
|
|
imageId
|
|
}
|
|
previewImage {
|
|
id
|
|
}
|
|
previewContent {
|
|
subtitle
|
|
}
|
|
content {
|
|
bodyModel {
|
|
paragraphs {
|
|
text
|
|
type
|
|
href
|
|
layout
|
|
markups {
|
|
title
|
|
type
|
|
href
|
|
userId
|
|
start
|
|
end
|
|
anchorType
|
|
}
|
|
iframe {
|
|
mediaResource {
|
|
href
|
|
iframeSrc
|
|
iframeWidth
|
|
iframeHeight
|
|
}
|
|
}
|
|
metadata {
|
|
id
|
|
originalWidth
|
|
originalHeight
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|