forked from datahub-project/datahub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquery.graphql
53 lines (49 loc) · 887 Bytes
/
query.graphql
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
fragment query on QueryEntity {
urn
properties {
description
name
source
statement {
value
language
}
created {
time
actor
}
lastModified {
time
actor
}
}
subjects {
dataset {
urn
name
}
}
}
query listQueries($input: ListQueriesInput!) {
listQueries(input: $input) {
start
total
count
queries {
...query
}
}
}
mutation createQuery($input: CreateQueryInput!) {
createQuery(input: $input) {
...query
}
}
mutation updateQuery($urn: String!, $input: UpdateQueryInput!) {
updateQuery(urn: $urn, input: $input) {
...query
}
}
mutation deleteQuery($urn: String!) {
deleteQuery(urn: $urn)
}