From 8c1448193b4c564b5afd28a5066b39f24e14fd02 Mon Sep 17 00:00:00 2001 From: involution Date: Tue, 19 Nov 2024 20:46:16 -0500 Subject: [PATCH] i --- graphqlquery.txt | 49 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 graphqlquery.txt diff --git a/graphqlquery.txt b/graphqlquery.txt new file mode 100644 index 0000000..448361f --- /dev/null +++ b/graphqlquery.txt @@ -0,0 +1,49 @@ +query() { + repository(owner: "GNOME", name: "gnome-shell") { + # Default branch commits + defaultBranchRef { + target { + ... on Commit { + history(first: 1) { + totalCount + edges { + node { + oid + committedDate + } + } + } + } + } + } + # All tags + refs(refPrefix: "refs/tags/", first: 1, orderBy: {field: TAG_COMMIT_DATE, direction: DESC}) { + edges { + node { + name + target { + ... on Commit { + oid + } + } + } + } + } + # All releases (filter pre-releases in your application logic) + releases(first: 100) { + totalCount + edges { + node { + name + tagName + isPrerelease + createdAt + } + } + pageInfo { + hasNextPage + endCursor + } + } + } +} \ No newline at end of file