From 5cee7db6302f486e87ebf778524685208038a970 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Sun, 24 Nov 2024 21:24:12 +0000 Subject: [PATCH] Add comment around hardcoded limits in release group rels fetch --- lib/music_brainz/api_impl.ex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/music_brainz/api_impl.ex b/lib/music_brainz/api_impl.ex index e972baf7..9373070e 100644 --- a/lib/music_brainz/api_impl.ex +++ b/lib/music_brainz/api_impl.ex @@ -14,7 +14,9 @@ defmodule MusicBrainz.APIImpl do @doc """ Uses the [lookup](https://musicbrainz.org/doc/MusicBrainz_API#Lookups) endpoint with the release group id and include the - artist credits. + associated artists, genres, releases and release group relations. Note that the API limits each included resource to 25 items. + + > Note that the number of linked entities returned is always limited to 25. If you need the remaining results, you will have to perform a browse request. Example request: https://musicbrainz.org/ws/2/release-group/ae504fd6-8498-463e-8d96-14f9e11d1863?fmt=json&inc=artists+releases+genres+release-group-rels