- 管理页面
- 节点操作
- 前端专用
- 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/buyVideo
责任人:message002
请求参数
Body 参数application/json
hash
string
必需
videoID
integer
视频ID
gold
integer
需要多少金币
示例
{
"hash": "0992cac79ea1bd8ce5d14ffc2e5f458f",
"videoID": 12934
}
示例代码
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/buyVideo' \
--header 'Content-Type: application/json' \
--data-raw '{
"hash":"0992cac79ea1bd8ce5d14ffc2e5f458f",
"videoID":12934
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
data
array [object {16}]
数据
ID
integer
视频ID
CreatedAt
string
可选
UpdatedAt
string
可选
DeletedAt
null
可选
type
string
类型
creator
string
上传者
title
string
标题
poster
string
封面
view
integer
浏览量