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

feat(events): endpoint to get events by ext_data #131

Merged
merged 2 commits into from
Nov 16, 2021

Conversation

tassja
Copy link
Contributor

@tassja tassja commented Nov 15, 2021

GET: /api/staff/v1/events/extension_metadata?field_name={XXX}&value={XXX}

Users can supply an extension data field and value pair to find all events that match the given values.

example route: /extension_metadata?field_name=colour&value=blue

Any event with an extension data field that is colour and equals blue will be returned by the GET endpoint.

@tassja tassja requested a review from stakach November 15, 2021 23:59
@tassja tassja self-assigned this Nov 15, 2021
src/controllers/events.cr Outdated Show resolved Hide resolved
@tassja tassja merged commit 50e1548 into master Nov 16, 2021
@tassja tassja deleted the feat/event-metadata-endpoint branch November 16, 2021 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants