New APIs¶
In EnOS 2.4, we reclassified EnOS APIs into the general API and the semantic API:
General APIs can be used to get the raw data, where we added some new API services as well as some new APIs for the existing API services.
Semantic APIs unify and standardize data with business semantics offering a business-friendly view of data, where we added two new API services, Onboarding Tool service and Common Data Service.
EnOS General APIs¶
In EnOS 2.4, we added Device Provisioning Service, Metric Management Service, and Work Management Service for the General APIs and added some new APIs for some of the existing API services. “√” and “×” refers to whether EnOS Cloud/EnOS Edge supports or does not support the API respectively.
New API Services¶
In EnOS 2.4, we added the following new general API services.
Device Provisioning Service¶
API Name |
Description |
EnOS Cloud |
EnOS Edge |
---|---|---|---|
Create DPS devices |
√ |
× |
|
Get the information of a DPS device |
√ |
× |
|
Allocate and activate a DPS device |
√ |
× |
|
Reset the allocation status of devices |
√ |
× |
Metric Management Service¶
API Name |
Description |
EnOS Cloud |
EnOS Edge |
---|---|---|---|
Query metric data in batches |
√ |
× |
Work Management Service¶
API Name |
Description |
EnOS Cloud |
EnOS Edge |
---|---|---|---|
Get service request list |
√ |
√ |
|
Get service request details |
√ |
√ |
|
Get work order list |
√ |
√ |
|
Get work order details |
√ |
√ |
|
Get associated record/downtime record details |
√ |
√ |
Existing API Services¶
In EnOS 2.4, we added the following new APIs for some of the existing general API services.
IAM Service¶
API Name |
Description |
EnOS Cloud |
EnOS Edge |
---|---|---|---|
Create an SSO user |
√ |
× |
|
Update the details of an SSO user |
√ |
× |
|
List the SSO users of the specified organization |
√ |
× |
|
Delete an SSO user from the OU |
√ |
× |
|
List the policies bound to a user |
√ |
× |
|
List the user groups that the user has joined in the current organization |
√ |
× |
|
Create a user group |
√ |
× |
|
Update user group information |
√ |
× |
|
Get the user group information |
√ |
× |
|
List the user groups under an OU |
√ |
× |
|
Delete a user group from the OU |
√ |
× |
|
Add users to a user group |
√ |
× |
|
Remove users from a user group |
√ |
× |
|
Attach policies to a user, user group, or service account |
√ |
× |
|
Remove policies from a user, user group, or service account |
√ |
× |
|
Get the policy information |
√ |
× |
|
List the policies for a service account |
√ |
× |
|
List the policies of an OU |
√ |
× |
|
Get the information of a resource |
√ |
× |
|
Get the conditions of a resource based on the resource type |
√ |
× |
|
Get the provider information of a resource based on the resource type |
√ |
× |
|
Get the operation permissions of a resource based on the resource type |
√ |
× |
TSDB Data Service V2.0¶
API Name |
Description |
EnOS Cloud |
EnOS Edge |
---|---|---|---|
Uniform interface for querying standard data and non-standard data, supporting interpolation of standard data |
√ |
× |
TSDB Data Service V2.1¶
API Name |
Description |
EnOS Cloud |
EnOS Edge |
---|---|---|---|
Uniform interface for querying standard data and non-standard data, supporting interpolation of standard data |
√ |
× |
Data Catalog Service¶
API Name |
Description |
EnOS Cloud |
EnOS Edge |
---|---|---|---|
Import Entity by Excel |
Common interface for importing entities. Support importing data by Excel-formatted files. |
√ |
× |
Import Relationship by Excel |
Common interface for importing relationships. Support importing data by Excel-formatted files. |
√ |
× |
Export Entity to Excel |
Common interface for exporting entities. Support exporting data by Excel-formatted files. |
√ |
× |
Export Relationship to Excel |
Common interface for exporting relationships. Support exporting data by Excel-formatted files. |
√ |
× |
EnOS Application Portal Service¶
API Name |
Description |
EnOS Cloud |
EnOS Edge |
---|---|---|---|
Create message rules |
√ |
√ |
|
Delete message rules |
√ |
√ |
|
Search message rules |
√ |
√ |
|
Update message rules |
√ |
√ |
|
Get the permission points and menus of applications |
√ |
√ |
|
Confirm the passwords of login users |
√ |
√ |
|
Assign assets to organization structure nodes |
√ |
√ |
|
Create organization structure nodes |
√ |
√ |
|
Create users and assign the users to organizations |
√ |
√ |
|
Delete organization structure nodes |
√ |
√ |
|
Get user group lists in organizations |
√ |
√ |
|
Get the organization structure root node assigned to applications |
√ |
√ |
|
Get the whole organization structure assigned to applications |
√ |
√ |
|
Get the whole organization structures available for users |
√ |
√ |
|
Get the user lists of user groups |
√ |
√ |
|
Query audit logs |
√ |
√ |
|
Query user events on clicking menus |
√ |
√ |
|
Update organization structure node information |
√ |
√ |
|
Update user information |
√ |
√ |
EnOS Semantic APIs¶
In EnOS 2.4, we added the two new semantic API services, Onboarding Tool Service and Common Data Service. “√” and “×” refers to whether EnOS Cloud/EnOS Edge supports or does not support the API respectively.
New API Services¶
In EnOS 2.4, we added the following two semantic API services.
Onboarding Tool Service¶
API Name |
Description |
EnOS Cloud |
EnOS Edge |
---|---|---|---|
Get the basic information of sites |
√ |
× |
|
Get the basic information of devices on all or specified sites |
√ |
× |
|
Get the basic information of on-site topologies |
√ |
× |
|
Get the node path of topologies from root to end and return the information of all nodes |
√ |
× |
|
Get the metadata of topologies and the types of devices that defined by topology rules |
√ |
× |
Common Data Service¶
API Name |
Description |
EnOS Cloud |
EnOS Edge |
---|---|---|---|
Query meta attributes |
√ |
√ |
|
Query meta measurement points |
√ |
√ |
|
Query meta metrics |
√ |
√ |
|
Query meta generic data |
√ |
√ |
|
Query meta records |
√ |
√ |
|
Query accessible asset types |
√ |
√ |
|
Query accessible assets |
√ |
√ |
|
Query asset attributes |
√ |
√ |
|
Query asset hierarchies |
√ |
√ |
|
Query asset topology |
√ |
√ |
|
Query asset topology rules |
√ |
√ |
|
Query the latest readings of measurement points |
√ |
√ |
|
Query the latest readings of metrics |
√ |
√ |
|
Query the historical data of measurement points |
√ |
√ |
|
Query the historical data of metrics |
√ |
√ |
|
Query records |
√ |
√ |