Add an endpoint to batch query the date of last update of an entity

XMLWordPrintable

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Normal
    • None
    • Affects Version/s: None
    • Component/s: Web service
    • None

      It would be nice to have an endpoint to fetch when an entity was last updated (aka the last time an edit was approved). It would help external apps that cache api data determine whether it should ask for data or not, and prevent refetching unchanged entities

       

      It could be like the listenbrainz api and take an list of mbids, then spit out data for each element (https://listenbrainz.readthedocs.io/en/latest/users/api/metadata.html#get--1-metadata-recording-)

      Ex:

      /ws/2/recording/update?mbids=cee9d286-d764-4ea5-a37d-92e6a9e7296d,a9db4d10-4468-4943-8f66-57d21730ecda&fmt=json

       

      ```

      {
          "cee9d286-d764-4ea5-a37d-92e6a9e7296d":

      {         "id": "afe9d286-d764-4ea5-a37d-92e6a9e7296d", // The current main ID of the entity. In cases it was merged, it's useful to know where it has gone         "last-updated": "1745822681" // Unix Timestamp of the last update     }

      ,
          "a9db4d10-4468-4943-8f66-57d21730ecda":

      {         "id": "a9db4d10-4468-4943-8f66-57d21730ecda",         "last-updated": "1745822681"     }

      }

      ```

            Assignee:
            Unassigned
            Reporter:
            RustyNova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Version Package