Last Updated on : 2023-06-20 14:54:05
Get the download link of a specified map file based on the map file ID. The link is valid for 1 hour.
GET: /v1.0/users/sweepers/file/{device_id}/download
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
device_id | String | uri | true | The device ID. |
id | Long | query | true | The record ID of a specified file. |
Parameter name | Type | Description |
---|---|---|
result | SweeperCleaningMulFloorMapVO | The object of a specified map file. |
Description of result
Parameter name | Type | Description |
---|---|---|
robot_map | String | The temporary map link of the current cleaning path in case of multiple maps. This field is not returned in case of a single map. |
app_map | String | The temporary link of the floor cleaning map. |
GET: /v1.0/users/sweepers/file/6c6561cfb316df6e7a****/download?id=14142011
{
"result": {
"app_map": "https://ty-****t-1254153901.cos.****.com/f94e56-12852922-yxzne56c96fb00522aa7/common/1639728507-map.txt?sign=q-sign-algorithm%3Dsha1%26q-ak%3DAKIDopcCYgw0qRoyV5qfKjvg2pPkqESnb5zI%26q-sign-time%3D1641977279%3B1641980879%26q-key-time%3D1641977279%3B1641980879%26q-header-list%3Dhost%26q-url-param-list%3D%26q-signature%3D80816f146d2ea09906596e4ba0bb843c54ea****",
"robot_map": "https://ty-****-1254153901.cos.****.com/f94e56-12852922-yxzne56c96fb00522aa7/common/1639728507-record.txt?sign=q-sign-algorithm%3Dsha1%26q-ak%3DAKIDopcCYgw0qRoyV5qfKjvg2pPkqESnb5zI%26q-sign-time%3D1641977279%3B1641980879%26q-key-time%3D1641977279%3B1641980879%26q-header-list%3Dhost%26q-url-param-list%3D%26q-signature%3D1d36e9d5b9fc34c08de9d92b536ef7698011****"
},
"t": 1641977279799,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback