Easy API
Application Programming Interface for applications displaying and processing data.
Communication
Protocol
API is fully based on the HTTP 1.1 protocol (and its extensions, eg. WebDAV), allowing for easy access from any network and any programming language.
Transport
Data format can be declared/requested in two ways:
- Using HTTP header (recommended), eg:
Accept: application/json
- By appending corresponding extension at the end of the URI, eg:
/easy/v1/gateways.csv
If both values are present, extension in the URI takes precedence.
If no value is present it defaults to json
.
Security and authorization
API access requires Bearer token to be sent in Authorization
header.
Encryption
API is available over secure connection (HTTPS). Client should use SSL certificate verification.
Obtaining authorization token
The token can be obtained via administration panel and must be kept secure.
Libraries
We provide ready to use libraries for: