aboutsummaryrefslogtreecommitdiff
path: root/graphql/labels.graphql
diff options
context:
space:
mode:
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
+ }
+ }
+ }
+ }
+}