Hi all, Today I want to announce the new public GraphQL API for packages.g.o. While we already had some different REST endpoints in the past, these endpoints were neither documented nor specified. The behaviour of these endpoints even changed over time due to the lacking specification.
Instead of adding further REST endpoints, we are now making the packages.g.o API available via GraphQL at: https://packages.gentoo.org/api/graphql/ General information about GraphQL can be found at [0]. You can interactively explore the API using the GraphiQL explorer at [1]. The explorer contains examples as well as documentation of the specification. This is the first version of the API so everyone is welcome to give it a try and give feedback in case anything is not working as expected or missing there. -M [0] https://graphql.org/ [1] https://packages.gentoo.org/api/explore/