TSDB Policy Service API Overview


The TSDB Policy Service provides interfaces for developers to query and update TSDB Storage Policy for application development. For detailed information about Time Series Data Management, see Time Series Data Management.


For detailed information about EnOS APIs, see About EnOS API.


To get started with calling an EnOS API quickly, see Get Started with EnOS API.

API List

API Name

Description

Get Measurement Point TSDB Metadata

Get the TSDB storage policy corresponding to the model measurement point. A measurement point can have multiple storage policies, depending on its data type and usage. This API returns all the TSDB storage policy metadata in the current organization for the specified measurement point.

Get Storage Policy

Get detailed information of specified storage policy with storage policy ID.

Save Storage Policy

With storage policy ID, update and save the configuration of specified storage policy.

Common Error Codes

Code

Message

Description

0

OK

API request is successful.

500

Internal Server Error

Internal server error (applies to the Get Measurement Point TSDB Metadata API ony).

80500

INTERNAL SERVER ERROR

Internal server error. For details, check the returned error message.