Function discography_page

Source
pub fn discography_page(response: &Json) -> Option<(Vec<KnownRelease>, usize)>
Expand description

Read a complete browse page without confusing missing data with an empty discography. Network callers must reject None and keep their prior answer.

Unlike discography, this requires an array, an integral total, and an identifier on every row. Skipping a malformed row would make the caller’s pagination offset and completeness conclusion unreliable.