Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update processing to match current server behaviour #47

Closed
Zastai opened this issue Dec 19, 2023 · 1 comment · Fixed by #50
Closed

Update processing to match current server behaviour #47

Zastai opened this issue Dec 19, 2023 · 1 comment · Fixed by #50
Assignees
Labels
bug Something isn't working right

Comments

@Zastai
Copy link
Owner

Zastai commented Dec 19, 2023

Some of the endpoints seem to be returning data that does not match the current API documentation:

  • artist info (e.g. user and sitewide artist stats) has a single artist_mbid instead
  • artist map has additional information: for each country, an artists field containing a list of artist info
  • the result of the listens endpoint includes a new timestamp field (oldest_listen_ts)
  • the mbid_mapping field of a recent listen now has several additional fields (artists, caa_id, caa_release_mbid and recording_name)
    • the artists field is a list of artist credits (artist_mbid + artist_credit_name + join_phrase)
    • artists, caa_id and caa_release_mbid also appear in the data for the recording and release statistics

See also LB-1405.

@Zastai Zastai added the bug Something isn't working right label Dec 19, 2023
@Zastai Zastai self-assigned this Dec 19, 2023
@Zastai
Copy link
Owner Author

Zastai commented Dec 22, 2023

In addition, MessyBrainz IDs may now be obsolete - they will be useless to API users (MessyBrainz is now an internal component of ListenBrainz instead of its own user-facing project). Only delete-listens still mentions them, but we don't have that endpoint yet anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working right
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant