English   Dutch   French   German   Spanish

Eniris API

Last modified by Bart Verheecke on 2023/04/10 14:07

Ask for the latest openapi file via info@eniris or download: openapi_02022023.yaml

Go to: https://editor.swagger.io/ to open this file.

Authentication

You can find the API via: https://authentication.eniris.be/docs/#/Authentication/accesstoken

The typical steps are:
1) login
2) create access token
3) query devices via GET https://api.eniris.be/v1/device

Collection voor postman

Hieronder is een script te vinden voor postman die helpt bij het afhandelen van de token generatie. (zie bijlage)

Influx via api.postman_collection.json

Access timeseries data

1681128242876-647.png

Access a device (building/site)

GET https://api.eniris.be/v1/device?id=37142

1632835483913-618.png

To edit a property, use POST:

1632835529574-890.png

 

Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [publicinformation:Panels.Applications]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.

Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [publicinformation:Panels.Applications]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.

Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [publicinformation:Panels.Navigation]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.

Tag Cloud

Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [publicinformation:XWiki.TagCloud]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.

© Eniris, 2023 www.eniris.io