Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Add querystring parameters to limit which fields are returned #201

@Mr0grog

Description

@Mr0grog

For clients who don’t need detailed data, cutting some fields (e.g. availability.slots or availability.capacity) from responses can make the response smaller and make the queries faster since joins take less memory. We should add a querystring parameter than allows clients to ask for fewer fields.

I’m not 100% sure on the best form for this; it could be as simple as some presets, like ?detail_level=light, or it could be a comma-separated list of fields, like ?fields=id,external_ids,name,availability.valid_at,availability.available,availability.products.

This is not yet a high priority need, but I’m noting it down since Vaccinate the States wants to integrate on the front-end instead of the back-end, and this could be a particularly useful feature for that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Partner: VtSSupporting or integrating with Vaccinate the StatesapienhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions