Query
query GithubPipelineStatuses($keys: [GitHubPipelineStatusKeyInput!]!) {
githubPipelineStatuses(keys: $keys) {
repositoryGithubId
repositoryNameWithOwner
repositoryUrl
headSha
pipelineStatus
pipelines {
id
name
status
url
checkSuiteId
canRetry
}
}
}Variables
{
"keys": [
{
"repositoryGithubId": "id",
"headSha": "string"
}
]
}Response
{
"data": {
"githubPipelineStatuses": [
{
"repositoryGithubId": "id",
"repositoryNameWithOwner": "string",
"repositoryUrl": "string",
"headSha": "string",
"pipelineStatus": "ERROR",
"pipelines": [
{
"id": "id",
"name": "string",
"status": "ACTION_REQUIRED",
"url": "string",
"checkSuiteId": "id",
"canRetry": true
}
]
}
]
}
}Queries
githubPipelineStatuses
Returns GitHub pipeline status snapshots.
QUERY
githubPipelineStatuses(keys: [GitHubPipelineStatusKeyInput!]!): [GitHubPipelineStatusSnapshot!]!Arguments
keys
required
Keys used to filter or perform the operation.
Returns
repositoryGithubId
ID!
Identifier of the related repository GitHub.
repositoryNameWithOwner
String!
The repository name with owner associated with this GitHub pipeline status snapshot.
repositoryUrl
String!
URL for this GitHub pipeline status snapshot.
headSha
String!
Git commit SHA associated with this GitHub pipeline status snapshot.
pipelineStatus
The pipeline status associated with this GitHub pipeline status snapshot.
pipelines
[GitHubPipeline!]!
Pipelines associated with this GitHub pipeline status snapshot.
revision
Int!
The revision associated with this GitHub pipeline status snapshot.
updatedAt
String!
ISO 8601 timestamp when this GitHub pipeline status snapshot was last updated.
Query
query GithubPipelineStatuses($keys: [GitHubPipelineStatusKeyInput!]!) {
githubPipelineStatuses(keys: $keys) {
repositoryGithubId
repositoryNameWithOwner
repositoryUrl
headSha
pipelineStatus
pipelines {
id
name
status
url
checkSuiteId
canRetry
}
}
}Variables
{
"keys": [
{
"repositoryGithubId": "id",
"headSha": "string"
}
]
}Response
{
"data": {
"githubPipelineStatuses": [
{
"repositoryGithubId": "id",
"repositoryNameWithOwner": "string",
"repositoryUrl": "string",
"headSha": "string",
"pipelineStatus": "ERROR",
"pipelines": [
{
"id": "id",
"name": "string",
"status": "ACTION_REQUIRED",
"url": "string",
"checkSuiteId": "id",
"canRetry": true
}
]
}
]
}
}