2022-01-27 22:02:41 -08:00
|
|
|
query getDomain($urn: String!) {
|
|
|
|
domain(urn: $urn) {
|
|
|
|
urn
|
|
|
|
id
|
2023-09-18 16:14:33 -04:00
|
|
|
type
|
2022-01-27 22:02:41 -08:00
|
|
|
properties {
|
|
|
|
name
|
|
|
|
description
|
|
|
|
}
|
2023-09-18 16:14:33 -04:00
|
|
|
parentDomains {
|
|
|
|
...parentDomainsFields
|
|
|
|
}
|
2022-01-27 22:02:41 -08:00
|
|
|
ownership {
|
|
|
|
...ownershipFields
|
|
|
|
}
|
2024-03-20 15:25:36 -04:00
|
|
|
privileges {
|
|
|
|
...entityPrivileges
|
|
|
|
}
|
2022-01-27 22:02:41 -08:00
|
|
|
institutionalMemory {
|
|
|
|
elements {
|
|
|
|
url
|
|
|
|
author {
|
|
|
|
urn
|
|
|
|
username
|
|
|
|
}
|
|
|
|
description
|
|
|
|
created {
|
|
|
|
actor
|
|
|
|
time
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-01-23 16:30:02 -05:00
|
|
|
autoRenderAspects: aspects(input: { autoRenderOnly: true }) {
|
|
|
|
...autoRenderAspectFields
|
|
|
|
}
|
2024-02-08 12:21:05 -05:00
|
|
|
structuredProperties {
|
|
|
|
properties {
|
|
|
|
...structuredPropertiesFields
|
|
|
|
}
|
|
|
|
}
|
2024-02-13 15:02:52 -05:00
|
|
|
forms {
|
|
|
|
...formsFields
|
|
|
|
}
|
2023-12-13 17:12:48 -08:00
|
|
|
...domainEntitiesFields
|
2022-01-27 22:02:41 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
query listDomains($input: ListDomainsInput!) {
|
|
|
|
listDomains(input: $input) {
|
|
|
|
start
|
|
|
|
count
|
|
|
|
total
|
|
|
|
domains {
|
|
|
|
urn
|
2023-09-18 16:14:33 -04:00
|
|
|
id
|
|
|
|
type
|
2022-01-27 22:02:41 -08:00
|
|
|
properties {
|
|
|
|
name
|
|
|
|
description
|
|
|
|
}
|
2023-09-18 16:14:33 -04:00
|
|
|
parentDomains {
|
|
|
|
...parentDomainsFields
|
|
|
|
}
|
2022-01-27 22:02:41 -08:00
|
|
|
ownership {
|
|
|
|
...ownershipFields
|
|
|
|
}
|
2023-09-18 16:14:33 -04:00
|
|
|
...domainEntitiesFields
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
query getDomainChildrenCount($urn: String!) {
|
|
|
|
domain(urn: $urn) {
|
|
|
|
urn
|
|
|
|
type
|
|
|
|
children: relationships(input: { types: ["IsPartOf"], direction: INCOMING, start: 0, count: 0 }) {
|
|
|
|
total
|
2022-01-27 22:02:41 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation createDomain($input: CreateDomainInput!) {
|
|
|
|
createDomain(input: $input)
|
2022-06-29 22:41:41 -04:00
|
|
|
}
|
|
|
|
|
2023-09-18 16:14:33 -04:00
|
|
|
mutation moveDomain($input: MoveDomainInput!) {
|
|
|
|
moveDomain(input: $input)
|
|
|
|
}
|
|
|
|
|
2022-06-29 22:41:41 -04:00
|
|
|
mutation deleteDomain($urn: String!) {
|
|
|
|
deleteDomain(urn: $urn)
|
|
|
|
}
|