mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-28 11:59:54 +00:00
38 lines
725 B
GraphQL
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)
|
|
}
|