We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Resources should be filterable, allow for aliases of these filters.
Proposal:
maki.define('Play', { attributes: { state: { type: String , enum: ['queued', 'playing', 'played', 'skipped'], default: 'queued' } }, filters: { 'playing': { state: 'playing' } } }
...would add a new endpoint at /plays/playing that serves only documents with state "playing", identical to a query of /plays?state=playing.
/plays/playing
/plays?state=playing
Not sure if this is a good idea, as it doesn't "feel" pure. Feedback appreciated.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Resources should be filterable, allow for aliases of these filters.
Proposal:
...would add a new endpoint at
/plays/playing
that serves only documents with state "playing", identical to a query of/plays?state=playing
.Not sure if this is a good idea, as it doesn't "feel" pure. Feedback appreciated.
The text was updated successfully, but these errors were encountered: