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

Add "recording-level-rels" (and "work-rels") support to "Release" browse web service

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2021-09-20
    • None
    • Web service
    • None

      With current release browse web service, I cannot get works through inc= recording-level-rels as it is unsupported (I would also like work credits with work-rels but it requires recording-level-rels first).

      /ws/2/release?inc=work-rels+... (no error but no work data)/ws/2/release?inc=recording-level-rels+work-rels+... it errors as:

      <error>
      	<text>
      		recording-level-rels is not a valid inc parameter for the release resource.
      	</text>
      	<text>
      		For usage, please see: http://musicbrainz.org/development/mmd
      	</text>
      </error>
      

      No more luck with JSON.


      FTR it does work in lookup mode (but one release at a time).

          [MBS-6140] Add "recording-level-rels" (and "work-rels") support to "Release" browse web service

          yvanzo added a comment -

          The implementation will return up to 500 linked recordings, to prevent load issues with the web service.

          yvanzo added a comment - The implementation will return up to 500 linked recordings, to prevent load issues with the web service.

          GitHub Bot added a comment -

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

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

          jesus2099 added a comment -

          After discussing with alastairp it rather seems like a feature request, not a bug.

          jesus2099 added a comment - After discussing with alastairp it rather seems like a feature request, not a bug.

          jesus2099 added a comment - - edited

          When I try in JSON, there is no error but there is no work information either:

          https://musicbrainz.org/ws/2/release?inc=release-groups+recordings+artist-credits+labels+work-rels+recording-level-rels&collection=f0574792-6af6-481e-8b2f-d5ea9fc59c4d&fmt=json

          1. Try this nice online viewer
          2. Choose the first release's first media's first track's recording: http://musicbrainz.org/recording/c26d199b-cac0-4fc2-b69e-9d3163105ced where you don't see the existing linked work

          jesus2099 added a comment - - edited When I try in JSON , there is no error but there is no work information either : https://musicbrainz.org/ws/2/release?inc=release-groups+recordings+artist-credits+labels+work-rels+recording-level-rels&collection=f0574792-6af6-481e-8b2f-d5ea9fc59c4d&fmt=json Try this nice online viewer Choose the first release's first media's first track's recording: http://musicbrainz.org/recording/c26d199b-cac0-4fc2-b69e-9d3163105ced where you don't see the existing linked work

          jesus2099 added a comment -

          I have made the description and topic more easily understandable.

          jesus2099 added a comment - I have made the description and topic more easily understandable.

            reosarevok Nicolás Tamargo
            jesus2099 jesus2099
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2021-09-20