You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
I'm writing a CLI application that makes a single GraphQL query - getting the total issue count of a particular user. This query is just about as simple as they get.
And yet, when I try to post to the GraphQL endpoint, like so:
% echo '{user(login: "strugee") {issues {totalCount}}}' | http POST https://api.github.com/graphql
I get 401 Unauthorized and a message saying that I have to be authenticated. This is really a huge bummer, honestly. I shouldn't need to be authenticated to get this information. Instead you should have sensible rate-limits like the v3 API had (I mean, this usecase would've easily stayed well within the v3 rate limits for unauthenticated requests). Unless I'm missing something?
(Just sent this to GitHub Support:)
I'm writing a CLI application that makes a single GraphQL query - getting the total issue count of a particular user. This query is just about as simple as they get.
And yet, when I try to post to the GraphQL endpoint, like so:
I get 401 Unauthorized and a message saying that I have to be authenticated. This is really a huge bummer, honestly. I shouldn't need to be authenticated to get this information. Instead you should have sensible rate-limits like the v3 API had (I mean, this usecase would've easily stayed well within the v3 rate limits for unauthenticated requests). Unless I'm missing something?
Cheers,
AJ