JSON Web Service: How to get release type?

Tags: #<Tag:0x00007f647a418800> #<Tag:0x00007f647a418170> #<Tag:0x00007f6469adbdd8>


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.)