点赞
开发中
POST
/note/like
请求参数
Body 参数application/json
note_id
string
必需
guid
string
必需
示例
{
"note_id": "6588fa35000000003a00bb97",
"guid": "b9eed5c5-3ad5-4933-b600-5c81f9e6748f"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/note/like' \
--header 'Content-Type: application/json' \
--data-raw '{
"note_id": "6588fa35000000003a00bb97",
"guid": "b9eed5c5-3ad5-4933-b600-5c81f9e6748f"
}'
返回响应
🟢200成功
application/json
Body
err_msg
string
必需
err_code
integer
必需
data
object
必需
code
integer
必需
success
boolean
必需
msg
string
必需
data
object
必需
hint
string
必需
示例
{
"err_msg": "success",
"err_code": 0,
"data": {
"code": 0,
"success": true,
"msg": "成功",
"data": {
"new_like": true
}
},
"hint": "170445284962349385923184"
}