Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-12047

Support browsing release groups in /ws/2 as in "official" website index

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2023-10-02
    • None
    • Web service
    • None

      On artist pages on the website, we only show release groups containing official releases by default. There's no mechanism to get the same list of "official" release groups via a browse request in the web service – we only support status filtering on /ws/2/release. I propose we support status=official filtering on /ws/2/release-group, too. This should be efficient to implement, since it's stored in the artist_release_group table; I'd limit it to official for now unless people have a solid use case for other types.

      This idea came about from SEARCH-667 where user discocat is trying to get the same results via the search server, but can't due to the paged responses being inconsistent.

       


       

      The final implementation to get the same results as in the "official" view on the MB website is "release-group-status=website-default" (with "all" giving all release groups, same as not actually passing the option). We might add other options in the future ("unofficial" only is trivial, specific statuses a bit less so but still doable) - request as needed.

          [MBS-12047] Support browsing release groups in /ws/2 as in "official" website index

          The final implementation to get the same results as in the "official" view on the MB website is "release-group-status=website-default" (with "all" giving all release groups, same as not actually passing the option). We might add other options in the future ("unofficial" only, so the opposite of the default MB index, is trivial, specific statuses such as bootleg a bit less so but probably still doable) - request as needed with new tickets.

          Nicolás Tamargo added a comment - The final implementation to get the same results as in the "official" view on the MB website is "release-group-status=website-default" (with "all" giving all release groups, same as not actually passing the option). We might add other options in the future ("unofficial" only, so the opposite of the default MB index, is trivial, specific statuses such as bootleg a bit less so but probably still doable) - request as needed with new tickets.

          Yeah, I see a reason to filter by bootlegs:  Do you have any idea how hard it is to search for a Dead bootleg amongst all releases?  I would want to filter by bootleg and/or unofficial releases and EXCLUDE all official releases.

          iconclast hero added a comment - Yeah, I see a reason to filter by bootlegs:  Do you have any idea how hard it is to search for a Dead bootleg amongst all releases?  I would want to filter by bootleg and/or unofficial releases and EXCLUDE all official releases.

          GitHub Bot added a comment -

          See code changes in pull request #2326 submitted by reosarevok.

          GitHub Bot added a comment - See code changes in pull request #2326 submitted by reosarevok .

          Keep in mind what we call "official" for RGs is not the same as the "official" status for releases (we also include unknown status, at least). If we implement it like on the site (which seems sensible to me) should we name it in some different way?

          Nicolás Tamargo added a comment - Keep in mind what we call "official" for RGs is not the same as the "official" status for releases (we also include unknown status, at least). If we implement it like on the site (which seems sensible to me) should we name it in some different way?

            reosarevok Nicolás Tamargo
            bitmap Michael Wiencek
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2023-10-02