forked from datahub-project/datahub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
query.graphql
69 lines (64 loc) · 1.12 KB
/
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
query getQuery($urn: String!) {
entity(urn: $urn) {
urn
type
... on QueryEntity {
...query
}
}
}
fragment query on QueryEntity {
urn
properties {
name
description
source
statement {
value
language
}
created {
time
actor
}
lastModified {
time
actor
}
origin {
...searchResultFields
}
}
platform {
...platformFields
}
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)
}