forked from datahub-project/datahub
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpost.graphql
More file actions
37 lines (34 loc) · 725 Bytes
/
post.graphql
File metadata and controls
37 lines (34 loc) · 725 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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)
}