JSON Web Service: How to get release type?

Tags: #<Tag:0x00007f0509d74d20> #<Tag:0x00007f0509d74550> #<Tag:0x00007f0509d74230>


This JSON Web Service example page includes this release request:

If you compare the result from the example page and the actual real result, you see that the part “release-group” including the primary-type is missing.

How can I retrieve a release including it’s primary type (and other types if existing)?
I’m looking for the information like “album”, “compilation”, “EP”…


You need to include release-groups, obviously; releases don’t have types. (Yes, it’s a documentation bug.)