Uploaded image for project: 'Zapped: AcousticBrainz'
  1. Zapped: AcousticBrainz
  2. AB-409

Use bulk get methods for single recording endpoints

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • Server
    • None

      Right now, we use unique methods to return the low/high level data for a single recording that is requested in the get_low_level and get_high_level endpoints:

      https://github.com/metabrainz/acousticbrainz-server/blob/master/webserver/views/api/v1/core.py#L33

      Since the single recording endpoints are really just special cases of the bulk get, we should be able to use those queries and remove the existing methods load_low_level and load_high_levelĀ https://github.com/metabrainz/acousticbrainz-server/blob/master/db/data.py#L359

            alastairp Alastair Porter
            aidanlw17 Aidan Lawford-Wickham
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package