Support

Home Forums Event Espresso Premium REST API

REST API

Posted: May 9, 2016 at 1:33 pm


mediaone

May 9, 2016 at 1:33 pm

Hi, I try to use the rest API to use your checkin application. But, the link give me an 500 internal error: http://billetterie.mediaone.ch/wp-json/ee/v4.6/events

I think is it a problem with the namespace 4.6. Is it possible to change?

Bests Regards


Tony

  • Support Staff

May 9, 2016 at 1:58 pm

Hi there,

Are you using the EE4 Rest API Add-on?

If you go to Dashboard -> Plugins do you have a plugin listed as ‘Event Espresso – REST API’

If so you can de-activate that plugin, the EE4 Rest API is now built into Event Espresso core.


mediaone

May 10, 2016 at 1:32 am

Hi Tony,Thank’s for your answer. So, I have de-activate the Espresso Rest API. On my phone, with the Espresso app 4.0, I have the two messages:

With: REST API Plugin 1.2.5:
Error Occurred – The requested ressource could not be found but may be available again in the future. Subsequent requests by the client are permissible.

With: REST API plugin 2.0-beta13
The Operation couldn’t be completed. Cocoa error 3840.

What is the good version to use? 1.2.5 or the 2.0?


Tony

  • Support Staff

May 10, 2016 at 3:02 am

You mean which version of the API to use for the app? Neither.

The EE REST API is included within Event Espresso Core, you do not need any additional plugins to use the EE API routes.

If you also want the standard WP REST API routes you need the REST API plugin (I would use version 2) but it is not required for the EE REST API.

Re-activate all of the REST API plugins you have and navigate to http://billetterie.mediaone.ch/wp-json/

what do you see?

The support post ‘REST API’ 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