GraphQL API vs REST API discrepancy for organization packages #153495
Unanswered
douek
asked this question in
API and Webhooks
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
I'm encountering a discrepancy between GitHub's REST API and GraphQL API when querying container packages. While I can retrieve packages via REST API successfully, the same data isn't accessible through GraphQL.
This returns complete information including container tags:
But when trying to query with GraphQL, not all of the packages are shown in the results (I get back 6/30 so it is not related to the first 100 filter).
Why would some packages be accessible with the REST API but not with GraphQL?
Could this be related to package visibility? In the results I do get back, I only see private containers. Most of our packages are internal (though there was 1 package that was private and still didn't appear in the result).
Beta Was this translation helpful? Give feedback.
All reactions