Support

Home Forums Event Espresso Premium GET metadata URL query error

GET metadata URL query error

Posted: May 16, 2014 at 2:23 am

Viewing 1 reply thread


Tony

  • Support Staff

May 19, 2014 at 3:17 am

Hi Nicolas,

When using the JSON API to query events based on the date submitted you would use the format:

/espresso-api/v1/events/public.pretty_json?submitted__lte=2014-05-19

So for your site:

events.joondalup.wa.gov.au/espresso-api/v1/events/public.pretty_json?submitted__lte=2014-05-19

Which works if public access is enabled. That would pull the events submitted with a date less than today. However, whilst this works on my test sites, for some reason it is not valid on yours.

Can you tell me which version of the JSON API do you currently have installed please?

You can find this within Dashboad -> Plugins -> ‘Event Espresso API Plugin’

The latest version is 2.1.1.P, if you are currently on a lower version version could you update and retest using the example above please.

Also is the site part of a Multi-site network?

Viewing 1 reply thread

The support post ‘GET metadata URL query error’ 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.

Event Espresso