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

add support for tag based (pre) filtering for API endpoints #13

Closed
thescientist13 opened this issue Oct 23, 2022 · 1 comment · Fixed by #14 or #15
Closed

add support for tag based (pre) filtering for API endpoints #13

thescientist13 opened this issue Oct 23, 2022 · 1 comment · Fixed by #14 or #15
Assignees
Labels
Events feature New feature or request

Comments

@thescientist13
Copy link
Contributor

In support of the new Tuesday's Tunes website project, it would be nice if only a subset of the content could be returned to help with pre-filtering the results when calling on data.

Ideally, it would be great to

  1. Add a Tags content type in Contentful and pre-fill it with some values like tt for Tuesday's Tunes
  2. Return the tags in the response
  3. Enable the API to accept that filter via query param and pre-sort it
@thescientist13
Copy link
Contributor Author

thescientist13 commented Nov 11, 2022

Next time, don't forget to add this cache key to CloudFront 🤦

Was still getting "hits" for filtered events
Screen Shot 2022-11-11 at 3 02 27 PM

Once I add configured it in CloudFront, all was better. 😮‍💨

Screen Shot 2022-11-11 at 2 52 41 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Events feature New feature or request
Projects
Status: Done
1 participant