mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-24 01:50:06 +00:00
42 lines
1.2 KiB
GraphQL
42 lines
1.2 KiB
GraphQL
query getDataJob($urn: String!) {
|
|
dataJob(urn: $urn) {
|
|
...dataJobFields
|
|
parentFlow: relationships(input: { types: ["IsPartOf"], direction: OUTGOING, start: 0, count: 1 }) {
|
|
...fullRelationshipResults
|
|
}
|
|
incoming: relationships(
|
|
input: {
|
|
types: ["DownstreamOf", "Consumes", "Produces", "TrainedBy"]
|
|
direction: INCOMING
|
|
start: 0
|
|
count: 100
|
|
}
|
|
) {
|
|
...fullRelationshipResults
|
|
}
|
|
outgoing: relationships(
|
|
input: { types: ["DownstreamOf", "Consumes", "Produces"], direction: OUTGOING, start: 0, count: 100 }
|
|
) {
|
|
...fullRelationshipResults
|
|
}
|
|
upstream: lineage(input: { direction: UPSTREAM, start: 0, count: 100 }) {
|
|
...fullLineageResults
|
|
}
|
|
downstream: lineage(input: { direction: DOWNSTREAM, start: 0, count: 100 }) {
|
|
...fullLineageResults
|
|
}
|
|
status {
|
|
removed
|
|
}
|
|
deprecation {
|
|
...deprecationFields
|
|
}
|
|
}
|
|
}
|
|
|
|
mutation updateDataJob($urn: String!, $input: DataJobUpdateInput!) {
|
|
updateDataJob(urn: $urn, input: $input) {
|
|
urn
|
|
}
|
|
}
|