I’m playing around with GraphQL API and I’m trying to bend my head around getting all of the releases in repo shown. I understand how the UI works (details are shown here).

Basically I want to get all the information that is shown on the releases page. A good example is the Erlang Repository. The minor updates are marked as a release whereas the patch updates are “only” tags.

I want to get both in one query. I know how to get releases and tags but not both at once.

I imagine I have to query all tags and then somehow “join” the releases based on the tag id but I have no way if and how that works.