mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-26 19:10:15 +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
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
entities(input: {}) {
|
||
|
...searchResults
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
query listDomains($input: ListDomainsInput!) {
|
||
|
listDomains(input: $input) {
|
||
|
start
|
||
|
count
|
||
|
total
|
||
|
domains {
|
||
|
urn
|
||
|
id
|
||
|
properties {
|
||
|
name
|
||
|
description
|
||
|
}
|
||
|
ownership {
|
||
|
...ownershipFields
|
||
|
}
|
||
|
entities(input: { start: 0, count: 1 }) {
|
||
|
total
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
mutation createDomain($input: CreateDomainInput!) {
|
||
|
createDomain(input: $input)
|
||
|
}
|