2022-01-27 22:02:41 -08:00
|
|
|
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)
|
2022-06-29 22:41:41 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
mutation deleteDomain($urn: String!) {
|
|
|
|
deleteDomain(urn: $urn)
|
|
|
|
}
|