Skip to main content
POST
/
api
/
device
/
favorite
设备收藏
curl --request POST \
  --url https://api.example.com/api/device/favorite \
  --header 'Authentication: <authentication>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "devid": "<string>",
  "type": "<string>"
}
'
{}

Headers

Authentication
string
default:{{token_1}}
required

Body

application/json
devid
string
required
type
string
required

添加收藏用add 取消收藏用cancel

Response

200 - application/json

The response is of type object.