forked from datahub-project/datahub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ownership.graphql
46 lines (42 loc) · 980 Bytes
/
ownership.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
query listOwnershipTypes($input: ListOwnershipTypesInput!) {
listOwnershipTypes(input: $input) {
start
count
total
ownershipTypes {
...ownershipTypeFields
}
}
}
mutation createOwnershipType($input: CreateOwnershipTypeInput!) {
createOwnershipType(input: $input) {
...ownershipTypeFields
}
}
mutation updateOwnershipType($urn: String!, $input: UpdateOwnershipTypeInput!) {
updateOwnershipType(urn: $urn, input: $input) {
...ownershipTypeFields
}
}
mutation deleteOwnershipType($urn: String!, $deleteReferences: Boolean) {
deleteOwnershipType(urn: $urn, deleteReferences: $deleteReferences)
}
fragment ownershipTypeFields on OwnershipTypeEntity {
urn
type
info {
name
description
created {
time
actor
}
lastModified {
time
actor
}
}
status {
removed
}
}