mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-01 22:05:47 +00:00
30 lines
888 B
GraphQL
30 lines
888 B
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
|
|
}
|
|
}
|
|
}
|
|
|
|
mutation updateDataJob($urn: String!, $input: DataJobUpdateInput!) {
|
|
updateDataJob(urn: $urn, input: $input) {
|
|
urn
|
|
}
|
|
}
|