mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-24 01:50:06 +00:00
35 lines
522 B
GraphQL
35 lines
522 B
GraphQL
fragment testFields on Test {
|
|
urn
|
|
name
|
|
category
|
|
description
|
|
definition {
|
|
json
|
|
}
|
|
}
|
|
|
|
query getTest($urn: String!) {
|
|
test(urn: $urn) {
|
|
...testFields
|
|
}
|
|
}
|
|
|
|
query listTests($input: ListTestsInput!) {
|
|
listTests(input: $input) {
|
|
start
|
|
count
|
|
total
|
|
tests {
|
|
...testFields
|
|
}
|
|
}
|
|
}
|
|
|
|
mutation createTest($input: CreateTestInput!) {
|
|
createTest(input: $input)
|
|
}
|
|
|
|
mutation deleteTest($urn: String!) {
|
|
deleteTest(urn: $urn)
|
|
}
|