API Usage Guide
The IoT platform provides a variety of APIs to make application development easier and more efficient. You can call these open APIs to quickly integrate platform functions, such as management of products, devices, subscriptions, commands, and rules.
The application needs to be authenticated by the IAM service. To obtain a token, see Debugging the API Obtaining the Token for an IAM User.
Application Development Resources
The platform provides a wealth of application-side APIs to ease application development. Applications can call these APIs to implement services such as secure access, device management, data collection, and command delivery.
Resource Package |
Description |
Download Link |
---|---|---|
Application API Java Demo |
You can call application-side APIs to experience service functions and service processes. |
|
Application Java SDK |
You can use Java methods to call application-side APIs to communicate with the platform. For details, see Java SDK. |
|
Application .NET SDK |
You can use .NET methods to call application-side APIs to communicate with the platform. For details, see .NET SDK. |
|
Application Python SDK |
You can use Python methods to call application-side APIs to communicate with the platform. For details, see Python SDK. |
|
Application Go SDK |
You can use Go methods to call application-side APIs to communicate with the platform. For details, see Go SDK. |
|
Application Node.js SDK |
You can use Node.js methods to call application-side APIs to communicate with the platform. For details, see Node.js SDK. |
|
Application PHP SDK |
You can use PHP methods to call application-side APIs to communicate with the platform. For details, see PHP SDK. |
API Introduction
API Group |
Scenario |
---|---|
Used to manage product models that have been imported to the platform. A product model defines the capabilities or features of all devices under a product. |
|
Used by applications to manage devices, including basic device details and device data. |
|
Used by applications to transparently transmit messages to devices. |
|
Used by applications to deliver commands to devices for control. A product model defines commands that the platform can deliver to devices. |
|
Used by applications to deliver properties to devices. A product model defines properties that the platform can deliver to devices. |
|
Used to create, delete, and view queues. AMQP queues can receive messages through AMQP clients after subscribing to rules. |
|
Used for authentication when long connections are established using protocols such as AMQP and MQTTS. |
|
Data transfer rule management APIs and device linkage rule APIs |
Used by applications to set rules to implement service linkage or forward data to other Huawei Cloud services. Device linkage and data forwarding rules are available.
|
Used by applications to subscribe to resources provided by the platform. If the subscribed resources change, the platform notifies the applications of the change. |
|
Used by applications to operate and manage the device shadow. A device shadow is a file used to store and retrieve the status of a device.
|
|
Used by applications to manage device groups, including group details and device members in a group. |
|
Used by applications to bind tags to or unbind tags from resources. Currently, only devices support tags. |
|
Used by applications to manage resource spaces, including adding, deleting, modifying, and querying resource spaces. |
|
Used by applications to perform batch operations on devices connected to the platform.
|
|
Used by applications to manage device CA certificates, including uploading, verifying, and querying certificates. The platform supports device access authentication using certificates. |
|
Used by applications to operate and manage upgrade packages, including creating, querying, and deleting upgrade packages. |
|
Used by applications to broadcast messages to all online devices that subscribe to specified topics. |
|
Used for data transmission between applications and devices. |
|
Used by applications to manage stack policies, including creating, querying, modifying, and deleting stack policies. |
|
Used by applications to manage flow control policies, including creating, querying, modifying, and deleting flow control policies. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot