小红书服务
  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
/notification/get

请求参数

Body 参数application/json
type
string 
必需
num
integer 
必需
cursor
string 
必需
guid
string 
必需
示例
{
        "type": "connections",
        "num": 10,
        "cursor":"",
        "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 '/notification/get' \
--header 'Content-Type: application/json' \
--data-raw '{
        "type": "connections",
        "num": 10,
        "cursor":"",
        "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":{"message_list":[],"has_more":false,"cursor":0}}
,"hint":"170445309894376339123168"}
上一页
赞和收藏
下一页
评论和@
Built with