aboutsummaryrefslogtreecommitdiff
path: root/graphql/projects_query.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'graphql/projects_query.graphql')
-rw-r--r--graphql/projects_query.graphql11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphql/projects_query.graphql b/graphql/projects_query.graphql
new file mode 100644
index 0000000..dee251a
--- /dev/null
+++ b/graphql/projects_query.graphql
@@ -0,0 +1,11 @@
+query Projects($scope: String!) {
+ projects(membership: true, searchNamespaces: true, search: $scope) {
+ nodes {
+ id
+ name
+ fullPath
+ sshUrlToRepo
+ httpUrlToRepo
+ }
+ }
+}