38 lines
725 B
GraphQL
Raw Normal View History

query listPosts($input: ListPostsInput!) {
listPosts(input: $input) {
start
count
total
posts {
urn
type
postType
lastModified {
time
}
content {
contentType
title
description
link
media {
type
location
}
}
}
}
}
mutation createPost($input: CreatePostInput!) {
createPost(input: $input)
}
mutation deletePost($urn: String!) {
deletePost(urn: $urn)
}
mutation updatePost($input: UpdatePostInput!) {
updatePost(input: $input)
}