Data Download Service Overview


EnOS provides a series of open APIs to help you manage file download tasks, including creating download tasks, getting download status, canceling download tasks, and querying data channels. You can use Data Download APIs to create file download tasks for applications that have already started a data read channel (and the channel is not a cross-source channel), query the status of download tasks, or cancel download tasks. For the full list of Data Download Service APIs and functional descriptions, see API list.

API List


You can see what operations can be used via these APIs, the URL corresponding to each operation, and whether it is applicable to EnOS Cloud and EnOS Edge in the following table.


API Name

Description

EnOS Cloud

EnOS Edge

List Channels

Get the list of channels (Read, Write, and Download) to which the application is authorized.

×

Create Download Request

Create a file download task.

×

Get Download Status

Get the status of a file download task.

×

Cancel Download

Cancel a file download task.

×

Common Error Code


You can learn about the common error codes of Data Subscription APIs through the following table.


Code

Description

81500

Internal service error.

81400

Channel or data source exception.

81404

Channel or data source does not exist.