Created
March 2, 2023 23:43
-
-
Save MelissaKaulfuss/2f3a3dc155e3031cf713cf5a7550e2a0 to your computer and use it in GitHub Desktop.
GraphQL API query to return a Buildkite team and their pipelines
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query TeamsWithPipelineInfo { | |
organization(slug: "orgSlug") { | |
id | |
name | |
teams(first: 100) { | |
edges{ | |
node{ | |
name | |
pipelines(first: 100) { | |
edges{ | |
node{ | |
pipeline{ | |
name | |
} | |
} | |
} | |
pageInfo { | |
hasNextPage | |
} | |
} | |
} | |
} | |
pageInfo{ | |
hasNextPage | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment