Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
This repository was archived by the owner on Nov 18, 2021. It is now read-only.

Allow unauthenticated trivial GraphQL queries #972

@strugee

Description

@strugee

(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:

% 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?

Cheers,

AJ

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIRequests related to the GitHub developer APIenhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions