The following tables list cloud API operations available for use in ApsaraMQ for MQTT.
Each successful call to a cloud API operation increases the number of messaging transactions per second (TPS) by one. Therefore, you are charged for the call. For information about the billing details, see Billing overview.
Token management
Token management operations are called by your application server.
API | Description |
Applies for a temporary access token. | |
Verifies the validity of a token. | |
Revokes a token. |
Group management
API | Description |
Creates a group on a specific ApsaraMQ for MQTT instance. | |
Deletes a group on a specific ApsaraMQ for MQTT instance. | |
Queries all groups on a specific ApsaraMQ for MQTT instance. |
Message sending
API | Description |
Sends a message from an application on a cloud server to ApsaraMQ for MQTT. |
Client status query
API | Description |
Queries the connection status of a specific device based on the client ID. | |
Batch queries the connection status of multiple devices based on multiple client IDs. |
Unique-certificate-per-device
API | Description |
Applies for an access credential for a device. | |
Queries the access credential of a device. | |
Deletes the access credential of a device. | |
Updates the access credential of a device. |
Trace query
API | Description |
Queries the traces of a device corresponding to an ApsaraMQ for MQTT client by page. | |
Queries the messages of a specific device. | |
Queries the sending traces of a specific message. | |
Queries the delivery traces of a specific message. |