aboutsummaryrefslogtreecommitdiff
path: root/graphql/labels.graphql
diff options
context:
space:
mode:
authortilpner2020-05-28 16:42:03 +0200
committertilpner2020-05-28 16:43:47 +0200
commitda07a2ca3a8c5ee97eac179b28dc3d4a064fd026 (patch)
tree40e384ffefd53acfb4aa589961b526e29387fb78 /graphql/labels.graphql
downloadgithub-label-feed-da07a2ca3a8c5ee97eac179b28dc3d4a064fd026.tar.gz
github-label-feed-da07a2ca3a8c5ee97eac179b28dc3d4a064fd026.tar.xz
github-label-feed-da07a2ca3a8c5ee97eac179b28dc3d4a064fd026.zip
Initial commit
Diffstat (limited to 'graphql/labels.graphql')
-rw-r--r--graphql/labels.graphql14
1 files changed, 14 insertions, 0 deletions
diff --git a/graphql/labels.graphql b/graphql/labels.graphql
new file mode 100644
index 0000000..671fff0
--- /dev/null
+++ b/graphql/labels.graphql
@@ -0,0 +1,14 @@
+query RepoLabels($owner: String!, $name: String!, $after: String) {
+ repository(owner: $owner, name: $name) {
+ labels(first:100, after: $after) {
+ pageInfo { hasNextPage }
+ edges {
+ cursor
+ node {
+ name
+ url
+ }
+ }
+ }
+ }
+}