reverse engineered schema for medium graphql endpoint

This commit is contained in:
realaravinth
2021-10-31 15:12:49 +05:30
parent 732eeb0d3a
commit 92a9f12117
2 changed files with 106 additions and 0 deletions

42
schemas/query.graphql Normal file
View File

@ -0,0 +1,42 @@
query GetPost($id: ID!) {
post(id: $id) {
title
createdAt
creator {
name
id
}
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
}
}
}
}
}
}