- 管理页面
- 节点操作
- 前端专用
- 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/register
责任人:message002
请求参数
Body 参数application/json
node_type
string
节点类型
hash
string
当前节点Hash
up_node_hash
string
上级节点Hash
openid
string
微信OpenID
示例
{
"node_type": "Common",
"hash": "0992cac79ea1bd8ce5d14ffc2e5f458f",
"up_node_hash": "fxhj3210"
}
示例代码
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/register' \
--header 'Content-Type: application/json' \
--data-raw '{
"node_type": "Common",
"hash": "0992cac79ea1bd8ce5d14ffc2e5f458f",
"up_node_hash": "fxhj3210"
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
data
object
数据
ID
integer
用户ID
CreatedAt
string
必需
UpdatedAt
string
必需
DeletedAt
null
必需
hash
string
必需
status
string
状态
avatar
string
头像
upNodeHash
string
上级节点Hash
controllerNodeHash
string
管理者Hash
type
string
类型
invitePeopleNumber
integer
邀请用户数
gold
integer
金币
loginInfoUA
string
登录UA
loginInfoIP
string
登录IP
receipts
integer
已付金额
lastAccess
object
最后登录时间
msg
string
消息
error
string
错误信息
示例
{
"code": 0,
"data": {
"ID": 157,
"CreatedAt": "2023-04-06T17:13:03.362+08:00",
"UpdatedAt": "2023-04-06T17:13:03.378+08:00",
"DeletedAt": null,
"lastAccess": {
"Time": "2023-04-06T17:13:03.3608849+08:00",
"Valid": true
},
"hash": "0992cac79ea1bd8ce5d14ffc2e5f458g",
"status": "active",
"avatar": "https://game.gtimg.cn/images/yxzj/img201606/heroimg/515/515.jpg",
"upNodeHash": "fxhj3210",
"controllerNodeHash": "fxhj3210",
"type": "Common",
"invitePeopleNumber": 0,
"gold": 4,
"loginInfoUA": "Apifox/1.0.0 (https://www.apifox.cn)",
"loginInfoIP": "127.0.0.1",
"receipts": 0
},
"msg": ""
}