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

Sparse fieldsets #504

Open
vhdirk opened this issue Nov 16, 2023 · 0 comments
Open

Sparse fieldsets #504

vhdirk opened this issue Nov 16, 2023 · 0 comments

Comments

@vhdirk
Copy link

vhdirk commented Nov 16, 2023

I'm writing a client for an embedded device so memory is very limited. Currently, the response for /connections/ varies from 15kb to almost 40kb. My device doesn't have that kind of memory.
To that end, it would be cool if iRail would support something akin to JSON:API sparse fieldsets (https://jsonapi.org/format/#fetching-sparse-fieldsets). That way, it would be possible to return only the data that is needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants