Smart PMSQuery Short Link by UUID

Query Short Link by UUID

Last Updated on : 2022-03-02 03:46:43download

Definitions

Name Version Description
v1.0/pms/shortlink/uuid/get 1.0 get short link by uuid

Request

  • HTTP type
    Post

  • Parameters

    Name Type Description Required
    tokenId String tokenId Yes
    uuid String UUID Yes
    appId String appId No
  • Other parameters
    None

Request example

{ "tokenId" : "EMEbhpvJmGtQB4sb", "uuid" : "908726425c157346bf11", "appId" : "168" }

Response

Name Type Description
result Map response result
result.deviceCode String device code
result.shortUrl String device short link
result.uuid String device uuid
success Boolean succeed or not

Response example

请求成功示例 { "result": { "deviceCode": "V64CUHWD", "shortUrl": "https://tongtian-daily.tuya-inc.cn/1D0dv8Qu", "uuid": "908726425c157346bf11" }, "success": true, "t": 1611907914074 }

Error code

Name Description
THE_BLANK_PARAM parameter can not be empty