Basic services
These APIs provide basic services and allow you to test the connectivity between the caller and the cloud and to confirm that your API call method is correct.
Connectivity test API
Description
| path | Version | Description | Requires user authentication |
| /kit/debug/ping | 1.0.0 | Use this connectivity test API to test the connectivity of cloud API calls. | No |
Request parameters
| Parameter | Type | Required | Description |
| input | String | Yes | The connectivity test data. The maximum length of input cannot exceed 1 MB. |
Response parameters
| Parameter | Type | Required | Description |
| data | String | Yes | The data is the same as the input request parameter. |
Examples
- Request example
{ "id": "1509086454180", "version": "1.0", "request": { "apiVer": "1.0.0" }, // The preceding fields are common parameters for IoT Platform client API requests. "params": { // The following fields are the business parameters for this API. "input" : "hello" } } - Successful response example
{ "code": 200, "message": "success", "data": "hello" }