cURL
curl --request POST \ --url https://api.example.com/api/device/favorite \ --header 'Authentication: <authentication>' \ --header 'Content-Type: application/json' \ --data ' { "devid": "<string>", "type": "<string>" } '
{}
添加收藏用add 取消收藏用cancel
The response is of type object.
object