/
Haystack REST APIs

Haystack REST APIs

The Haystack REST API documentation along with Ops and Authentication can be found here:

https://project-haystack.org/doc/docHaystack/HttpApi

https://project-haystack.org/doc/docHaystack/Auth

https://project-haystack.org/doc/docHaystack/Ops

Note: In order to use the eval op, you must enable the “Allow get with side effects” setting in your Host → Settings under the API section, or apply the noSideEffects tag if using functions or operations.

You can try end point:  http://host/api/<projName>/read?filter=<axon filter>

Example to read about: http://host/api/<projName>/about

Example to read all operations allowed: http://host/api/<projName>/ops

Example to read all points in the database: http://host/api/<projName>/read?filter=point

Example to read all alarms in the database: http://host/api/<projName>/eval?expr=readAll(equip or point).alarms(today)

 

Related content