mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-19 14:24:01 +00:00
115 lines
2.8 KiB
GraphQL
115 lines
2.8 KiB
GraphQL
query listIngestionSources($input: ListIngestionSourcesInput!) {
|
|
listIngestionSources(input: $input) {
|
|
start
|
|
count
|
|
total
|
|
ingestionSources {
|
|
...ingestionSourceFields
|
|
executions(start: 0, count: 1) {
|
|
start
|
|
count
|
|
total
|
|
executionRequests {
|
|
...ingestionExecutionRequestFields
|
|
}
|
|
}
|
|
ownership {
|
|
...ownershipFields
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
query getIngestionSource($urn: String!, $runStart: Int, $runCount: Int) {
|
|
ingestionSource(urn: $urn) {
|
|
...ingestionSourceFields
|
|
executions(start: $runStart, count: $runCount) {
|
|
start
|
|
count
|
|
total
|
|
executionRequests {
|
|
...ingestionExecutionRequestFields
|
|
}
|
|
}
|
|
ownership {
|
|
...ownershipFields
|
|
}
|
|
}
|
|
}
|
|
|
|
query getIngestionExecutionRequest($urn: String!) {
|
|
executionRequest(urn: $urn) {
|
|
...ingestionExecutionRequestFields
|
|
}
|
|
}
|
|
|
|
query listIngestionExecutionRequests($input: ListExecutionRequestsInput!) {
|
|
listExecutionRequests(input: $input) {
|
|
start
|
|
total
|
|
count
|
|
executionRequests {
|
|
...ingestionExecutionRequestFields
|
|
source {
|
|
...ingestionSourceFields
|
|
latestSuccessfulExecution {
|
|
...minimalIngestionExecutionRequestFields
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
mutation createIngestionSource($input: UpdateIngestionSourceInput!) {
|
|
createIngestionSource(input: $input)
|
|
}
|
|
|
|
mutation updateIngestionSource($urn: String!, $input: UpdateIngestionSourceInput!) {
|
|
updateIngestionSource(urn: $urn, input: $input)
|
|
}
|
|
|
|
mutation deleteIngestionSource($urn: String!) {
|
|
deleteIngestionSource(urn: $urn)
|
|
}
|
|
|
|
query listSecrets($input: ListSecretsInput!) {
|
|
listSecrets(input: $input) {
|
|
start
|
|
count
|
|
total
|
|
secrets {
|
|
urn
|
|
name
|
|
description
|
|
}
|
|
}
|
|
}
|
|
|
|
mutation createSecret($input: CreateSecretInput!) {
|
|
createSecret(input: $input)
|
|
}
|
|
|
|
mutation updateSecret($input: UpdateSecretInput!) {
|
|
updateSecret(input: $input)
|
|
}
|
|
|
|
mutation deleteSecret($urn: String!) {
|
|
deleteSecret(urn: $urn)
|
|
}
|
|
|
|
mutation createIngestionExecutionRequest($input: CreateIngestionExecutionRequestInput!) {
|
|
createIngestionExecutionRequest(input: $input)
|
|
}
|
|
|
|
mutation cancelIngestionExecutionRequest($input: CancelIngestionExecutionRequestInput!) {
|
|
cancelIngestionExecutionRequest(input: $input)
|
|
}
|
|
|
|
mutation createTestConnectionRequest($input: CreateTestConnectionRequestInput!) {
|
|
createTestConnectionRequest(input: $input)
|
|
}
|
|
|
|
mutation rollbackIngestion($input: RollbackIngestionInput!) {
|
|
rollbackIngestion(input: $input)
|
|
}
|