小红书服务
  1. 笔记
小红书服务
  • 文档首页
  • 实例
    • 创建实例
      POST
  • 登录
    • 获取登录二维码
      POST
    • 获取二维码状态
      POST
  • 用户
    • 我的信息
      POST
    • 查询用户信息
      POST
    • 获取用户的笔记
      POST
    • 获取用户的收藏
      POST
  • 笔记
    • 获取评论
      POST
    • 评论
      POST
    • 点赞
      POST
    • 取消点赞
      POST
    • 收藏
      POST
    • 取消收藏
      POST
  • 通知
    • 赞和收藏
      POST
    • 新增关注
      POST
    • 评论和@
      POST
  • 推荐
    • 首页推荐
      POST
  • 发布笔记
    • 初始化
      POST
    • 获取上传许可
      POST
    • 上传图片
      POST
    • 上传视频
      POST
    • 发布图文笔记
      POST
    • 发布视频笔记
      POST
  1. 笔记

点赞

开发中
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"
}
上一页
评论
下一页
取消点赞
Built with