mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-23 17:39:59 +00:00
64 lines
1.2 KiB
GraphQL
64 lines
1.2 KiB
GraphQL
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
|
|
}
|
|
entities(input: { start: 0, count: 0, query: "*" }) {
|
|
total
|
|
}
|
|
}
|
|
|
|
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)
|
|
}
|