choko
choko copied to clipboard
Allow types to define queries?
We could allow to define named queries in type, e.g. for the content type we could have latest-content
query.
We could also allow to define default query that'll be used on the main endpoint for a type.
The end point for the queries would be something like:
/rest/content/latest-content