跳转到主要内容

创建目录分享

接口说明

该接口可以创建制定分类下的链接分享,对应OneNav后台的“书签分享功能”

  • 请求地址:http://domain.com/index.php?c=api&method=create_share
  • 请求方法:POST

请求参数

参数名称 请求方法 示例值 类型 是否必须 说明
token POST 5c7d0c90cf9e0ce560956179e8e82e7d string(32) 请参考token生成
expire_time POST 2022-12-12 12:00:00 string 过期时间
cid POST 20 int 分类ID
note POST 备注内容 string 备注内容
password POST ABCD string 密码