The sorting is lost if there any filtering params for /events API endpoint. Ex: https://wpshindig.com/wp-json/tribe/events/v1/events?start_date=2018-01-01+00:00:00 it starts with the events in Jan, even if there are events for Jun/Jul
Here's a example which the API doesn’t support now:
– show events between May 1, 2018 – May 31, 2018 sorted from newest to oldest. A parameters like order=desc would fix this
There are more details in this thread https://wordpress.org/support/topic/sort-events-in-api1 vote
The Swagger documation of the events calender REST API mentions the parameter categories. But if this parameter is set in requests the API repsonds with HTTP ERROR 400.
I suggest to extend the API to correspond with the swagger documentation.1 vote
Allow user the ability to pass through orderby / order via query to the Rest API endpoints.
/wp-json/tribe/events/v1/events?orderby=start_date&order=desc2 votesticketed for consideration · AdminModern Tribe (Admin, The Events Calendar by Modern Tribe) responded
Thanks for this detailed request. We’ve logged it internally for our developers, but adding more votes here can help prioritize this request.
A simple list of all of the event categories in a separate url would be extremely handy!
Exactly like the current wp-json/wp/v2/categories
- Don't see your idea?