mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-23 17:39:59 +00:00
57 lines
1.1 KiB
GraphQL
57 lines
1.1 KiB
GraphQL
query getDomain($urn: String!) {
|
|
domain(urn: $urn) {
|
|
urn
|
|
id
|
|
properties {
|
|
name
|
|
description
|
|
}
|
|
ownership {
|
|
...ownershipFields
|
|
}
|
|
institutionalMemory {
|
|
elements {
|
|
url
|
|
author {
|
|
urn
|
|
username
|
|
}
|
|
description
|
|
created {
|
|
actor
|
|
time
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
query listDomains($input: ListDomainsInput!) {
|
|
listDomains(input: $input) {
|
|
start
|
|
count
|
|
total
|
|
domains {
|
|
urn
|
|
properties {
|
|
name
|
|
description
|
|
}
|
|
ownership {
|
|
...ownershipFields
|
|
}
|
|
entities(input: { start: 0, count: 1 }) {
|
|
total
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
mutation createDomain($input: CreateDomainInput!) {
|
|
createDomain(input: $input)
|
|
}
|
|
|
|
mutation deleteDomain($urn: String!) {
|
|
deleteDomain(urn: $urn)
|
|
}
|