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

API - sorting and notes #1336

Open
geoff-maddock opened this issue Jan 9, 2025 · 0 comments
Open

API - sorting and notes #1336

geoff-maddock opened this issue Jan 9, 2025 · 0 comments
Assignees

Comments

@geoff-maddock
Copy link
Owner

Fix issues with sorting API endpoints and update the docs.

  • Make sure we can sort by relation properties, either all, a subset, or an aliased list of options, for instance venue.name
  • Note how to do so in the API docs.
  • Make sure the main docs links to the API docs correctly
To order by a specific field, use the field name as the key and the value as the value.
Example: GET /api/events?sort=model.property&direction=asc
@geoff-maddock geoff-maddock self-assigned this Jan 9, 2025
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

No branches or pull requests

1 participant