New APIs¶
In EnOS 2.1 Update Release, we added support to the following new APIs and API services.
Connection Service¶
API Name |
Description |
---|---|
Upload the attribute data of a device, including file-type data. |
|
Upload the event data of a device, including file-type data. |
|
Upload the measurement point data of a device, including file-type data. |
|
Download a file from a device. |
|
Delete a file from a device. |
TSDB Data Service¶
Starting from this release, the TSDB Data Service version is upgraded to v2.1
(V2.0 is still in service). The new version has the following new functions and enhancements:
New Feature / Changes |
Before |
After |
Impact |
---|---|---|---|
New request parameter |
N/A |
localTimeFormat |
All APIs |
New request parameter |
N/A |
itemFormat |
All APIs |
Request method |
GET/POST |
POST |
All APIs |
Changed request/response parameter |
measurepoints |
pointIds |
All APIs |
Changed request/response parameter |
meaurepointsWithLogic |
pointIdsWithLogic |
All APIs |
Changed request/response parameter |
meaurepoint |
pointId |
All APIs |
Renamed response code |
status |
code |
All APIs |
Message for successful request |
Success |
OK |
All APIs |
The following API is added to the TSDB Data Service API V2.1:
API Name |
Description |
---|---|
Delete the latest data of the specified measurement points of specified devices. |
TSDB Policy Service¶
API Name |
Description |
---|---|
Get the TSDB storage policy corresponding to the model measurement point. |
|
With storage policy ID, update and save the configuration of specified storage policy. |
IAM Service¶
API Name |
Description |
---|---|
Log in EnOS. |
|
Get login session information. |
|
List the organizations to which a user belongs. |
Application Portal Service¶
API Name |
Description |
---|---|
Log in Application Portal via authorization code |
|
Get the domain information of a user using the email address. |
|
Get information of the organization structure to which a user is assigned. |
|
Get the list of users who have access to a particular asset. |
|
Get the list of unconfirmed application messages. |
Data Federation Service¶
API Name |
Description |
---|---|
Get the list of created channels (Read and Write) in the organization. |
|
Read data by providing SQL query through the specified channel. |
|
Get the data reading jobs or data writing jobs of a specified channel. |
|
Get detailed information of a data reading job or a data writing job. |
|
Write message to data source through a specified channel. |
|
Write file chunks to data source through a specified channel. |
Stream Processing Service¶
API Name |
Description |
---|---|
Get the intermediate state data of a specified operator (stage) in a stream processing job. |
|
Delete the intermediate state data of a specified operator (stage) in a stream processing job. |