Skip to content

Instantly share code, notes, and snippets.

@manvillej
Last active April 17, 2021 16:42
Show Gist options
  • Save manvillej/0da74936c3314c3782b8b9a9f85ceda1 to your computer and use it in GitHub Desktop.
Save manvillej/0da74936c3314c3782b8b9a9f85ceda1 to your computer and use it in GitHub Desktop.
version two of the atf GraphQL API
schema {
query: Query
}
type Query {
atfTest(id: String!): atfTest
}
type atfTest {
active: Boolean
id: ID @source(value: "sys_id")
name: String
description: String
testHistory(limit: String): atfTestResultList @source(value: "sys_id")
}
type atfTestResultList {
history:[atfTestStatus]
}
type atfTestStatus {
id: ID
pending: Int
duration: String
startTime: String
endTime: String
output: String
status: String
userAgents: String
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment