On the EE JSON documentation, it says that using the /events/ endpoint I can query all of the data that is returned, but I’m having a hard time figuring out how to query the event categories.
I’ve tried these and variations of them:
/espresso-api/v1/events/session-key?Categories=3
/espresso-api/v1/events/session-key?Event.Categories=3
/espresso-api/v1/events/session-key?Category=3
/espresso-api/v1/events/session-key?Categories__like=3
/espresso-api/v1/events/session-key?Category.id=3
But nothing is working. I get the same error:
“status”: “Query parameter ‘Categories’ not a valid parameter of resource ‘Event'”,
“status_code”: 400
The Categories controller was added in the 2.2 version. We are working on getting that pushed into the pre-release channel. I’ll go ahead and email you a copy.
Viewing 1 reply thread
The support post ‘JSON Event Category query?’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.