2023-05-17 00:17:25 -07:00
|
|
|
query getDataProduct($urn: String!) {
|
|
|
|
dataProduct(urn: $urn) {
|
|
|
|
...dataProductFields
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fragment dataProductFields on DataProduct {
|
|
|
|
...dataProductSearchFields
|
|
|
|
properties {
|
|
|
|
customProperties {
|
|
|
|
key
|
|
|
|
value
|
|
|
|
}
|
|
|
|
}
|
|
|
|
institutionalMemory {
|
|
|
|
...institutionalMemoryFields
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fragment dataProductSearchFields on DataProduct {
|
|
|
|
urn
|
|
|
|
type
|
|
|
|
properties {
|
|
|
|
name
|
|
|
|
description
|
|
|
|
externalUrl
|
|
|
|
}
|
|
|
|
ownership {
|
|
|
|
...ownershipFields
|
|
|
|
}
|
|
|
|
tags {
|
|
|
|
...globalTagsFields
|
|
|
|
}
|
|
|
|
glossaryTerms {
|
|
|
|
...glossaryTerms
|
|
|
|
}
|
|
|
|
domain {
|
|
|
|
...entityDomain
|
|
|
|
}
|
2023-07-26 10:56:40 -04:00
|
|
|
entities(input: { start: 0, count: 0, query: "*" }) {
|
|
|
|
total
|
|
|
|
}
|
2023-05-17 00:17:25 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
mutation createDataProduct($input: CreateDataProductInput!) {
|
|
|
|
createDataProduct(input: $input) {
|
|
|
|
...dataProductSearchFields
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation updateDataProduct($urn: String!, $input: UpdateDataProductInput!) {
|
|
|
|
updateDataProduct(urn: $urn, input: $input) {
|
|
|
|
...dataProductSearchFields
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation deleteDataProduct($urn: String!) {
|
|
|
|
deleteDataProduct(urn: $urn)
|
|
|
|
}
|
|
|
|
|
|
|
|
mutation batchSetDataProduct($input: BatchSetDataProductInput!) {
|
|
|
|
batchSetDataProduct(input: $input)
|
|
|
|
}
|