libmedium/schemas/query.graphql

45 lines
1.1 KiB
GraphQL
Raw Normal View History

query GetPost($id: ID!) {
post(id: $id) {
title
createdAt
2021-11-02 21:04:02 +05:30
readingTime
creator {
name
id
2021-11-02 13:40:13 +05:30
imageId
}
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
}
}
}
}
}
}