Modify Cleaning Map Name

Last Updated on : 2022-01-18 06:18:31

Modify the name of a specified cleaning map based on the file record ID.

API address

POST: /v1.0/users/sweepers/file/{device_id}/file-name

Request parameter

Parameter nameTypeINRequiredDescription
device_idStringuritrueThe device ID.
idLongquerytrueThe record ID of a specified file.
file_nameStringqueryfalseThe file name.

Return parameter

Parameter nameTypeDescription
resultBooleanThe returned result. Valid values:
  • true: success.
  • false: failure.

Request example

POST: /v1.0/users/sweepers/file/6c6561cfb316df6e7a****/file-name?id=14272580&fileName=test

Return example

    "result": true,
    "t": 1641886813652,
    "success": true

Error code

For more information, see error code.