- 管理页面
- 节点操作
- 前端专用
- README.md
- 文档库
- 挂载节点POST
- 查询订单POST
- 每日签到POST
- 为视频增加浏览记录POST
- 喜欢某个视频POST
- 收藏某个视频POST
- 查询收藏夹POST
- 查询金币账单POST
- 取消喜欢某个视频POST
- 取消收藏某个视频POST
- 查找节点视频POST
- 查找节点信息POST
- 查找某个域名POST
- 节点购买视频POST
- 查找节点已购视频POST
- 获取微信OpenIDPOST
- 获取应当使用的HashPOST
- 更新节点POST
- 创建投诉POST
- 查询自己的投诉POST
- 为节点更新昵称POST
- 通过昵称反查节点POST
- 查 询热搜POST
- coffee_获取首页POST
- 节点查找订单POST
- 域名_获取POST
- 查找节点模板信息POST
- 创建短链GET
- 使用短链GET
- 查询可用项目入口POST
- 创建二维码POST
- 查询自己的IPGET
收藏某个视频
POST
/api/v1/node/collect/video
责任人:message002
请求参数
Body 参数application/json
hash
string
必需
videoId
integer
必需
示例
{
"hash": "3cd4e99a100d725af39fb3b549cd0e46",
"videoId": 5941
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/node/collect/video' \
--header 'Content-Type: application/json' \
--data-raw '{
"hash": "3cd4e99a100d725af39fb3b549cd0e46" ,
"videoId":5941
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
data
object
必需
ID
integer
必需
CreatedAt
string
必需
UpdatedAt
string
必需
DeletedAt
null
必需
videoID
integer
必需
hash
string
必需
state
string
必需
msg
string
必需
示例
{
"code": 0,
"data": {
"ID": 0,
"CreatedAt": "string",
"UpdatedAt": "string",
"DeletedAt": null,
"videoID": 0,
"hash": "string",
"state": "string"
},
"msg": "string"
}