Add a query parameter to JSON response for minimal data

Created on 5 December 2024, 5 months ago

Problem/Motivation

JSON response is ~2.7kB (likely differs depending on metadata from the song).

I should add a query parameter to the feed that reduces the data to only what is needed for the custom Block to display. This should significantly reduce the amount of data being pulled via AJAX.

Steps to reproduce

Observe network requests to endpoint in developer console.

Proposed resolution

Add a parameter `reduced` to the JSON endpoint which will only return items necessary for the custom Block to display, omitting all other data.

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States nessthehero

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024