mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-08 08:37:32 +00:00
101 lines
2.1 KiB
GraphQL
101 lines
2.1 KiB
GraphQL
![]() |
query getApplication($urn: String!) {
|
||
|
application(urn: $urn) {
|
||
|
urn
|
||
|
type
|
||
|
...applicationFields
|
||
|
privileges {
|
||
|
...entityPrivileges
|
||
|
}
|
||
|
autoRenderAspects: aspects(input: { autoRenderOnly: true }) {
|
||
|
...autoRenderAspectFields
|
||
|
}
|
||
|
structuredProperties {
|
||
|
properties {
|
||
|
...structuredPropertiesFields
|
||
|
}
|
||
|
}
|
||
|
forms {
|
||
|
...formsFields
|
||
|
}
|
||
|
...notes
|
||
|
}
|
||
|
}
|
||
|
|
||
|
query getApplicationsList($input: SearchAcrossEntitiesInput!) {
|
||
|
searchAcrossEntities(input: $input) {
|
||
|
searchResults {
|
||
|
entity {
|
||
|
... on Application {
|
||
|
urn
|
||
|
type
|
||
|
properties {
|
||
|
name
|
||
|
description
|
||
|
numAssets
|
||
|
}
|
||
|
domain {
|
||
|
...entityDomain
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
fragment applicationFields on Application {
|
||
|
...applicationSearchFields
|
||
|
properties {
|
||
|
customProperties {
|
||
|
key
|
||
|
value
|
||
|
}
|
||
|
}
|
||
|
institutionalMemory {
|
||
|
...institutionalMemoryFields
|
||
|
}
|
||
|
}
|
||
|
|
||
|
fragment applicationSearchFields on Application {
|
||
|
urn
|
||
|
type
|
||
|
properties {
|
||
|
name
|
||
|
description
|
||
|
externalUrl
|
||
|
}
|
||
|
ownership {
|
||
|
...ownershipFields
|
||
|
}
|
||
|
tags {
|
||
|
...globalTagsFields
|
||
|
}
|
||
|
glossaryTerms {
|
||
|
...glossaryTerms
|
||
|
}
|
||
|
domain {
|
||
|
...entityDomain
|
||
|
}
|
||
|
entities(input: { start: 0, count: 0, query: "*" }) {
|
||
|
total
|
||
|
}
|
||
|
}
|
||
|
|
||
|
mutation createApplication($input: CreateApplicationInput!) {
|
||
|
createApplication(input: $input) {
|
||
|
...applicationSearchFields
|
||
|
}
|
||
|
}
|
||
|
|
||
|
mutation updateApplication($urn: String!, $input: UpdateApplicationInput!) {
|
||
|
updateApplication(urn: $urn, input: $input) {
|
||
|
...applicationSearchFields
|
||
|
}
|
||
|
}
|
||
|
|
||
|
mutation deleteApplication($urn: String!) {
|
||
|
deleteApplication(urn: $urn)
|
||
|
}
|
||
|
|
||
|
mutation batchSetApplication($input: BatchSetApplicationInput!) {
|
||
|
batchSetApplication(input: $input)
|
||
|
}
|