2024-02-15 08:57:42 -05:00

38 lines
725 B
GraphQL

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)
}