Comprehensive REST API Documentation (CEP)

I searched repo + FiWare Wikis and couldn't find detailed API documentation.

I saw this: http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Complex_Event_Processing_Open_RESTful_API_Specification

I run a CEP instance on Fiware Cloud and keep getting 500 and 405 for the calls I am trying. However, he often refers to the user manual for more details on each endpoint parameter. Is there a newer version?

The last release was over a year ago, according to this specification. Are the docs updated with the latest API?

Otherwise I will have to redesign the API ...

PS: the CEP instance is running @ http://130.206.117.120:8080/   Let me know if there are any sanity checks I can do;)

+3


source to share


1 answer


I also use CEP for REST API. I didn't find any new specs (from the doc you linked). However, I had no problem getting resources.

You may try GET: http://130.206.117.120:8080/ProtonOnWebServerAdmin/resources/instances/ProtonOnWebServer

Shows the status and url definitions of the engine.

It was convenient for me to view examples from the engine as well, or from crop .



I saw that your instance is using the DoSAttack definition and I tried POSTing to the engine: POST: http://130.206.117.120:8080/ProtonOnWebServer/rest/events, header: Content-Type: application/json, payload: {"Name":"TrafficReport","volume":"22"}

and got it 200 OK

.

For more complex tasks (besides REST API) this PAGE contains the latest specifications.

Hope it helps!

+2


source







All Articles