接口描述: 返回所有辅种数据 标准json
参数名字 | 类型 | 是否必须 | 默认值 | 其他 | 说明 |
---|---|---|---|---|---|
sign | 字符串 | 必须 | 最小:46;最大:60;数据源:POST | 爱语飞飞Token | |
timestamp | 整型 | 必须 | 最小:1625068800;数据源:POST | 客户端时间戳 | |
version | 字符串 | 必须 | 数据源:POST | 客户端版本号 | |
hash | 字符串JSON格式 | 必须 | 数据源:POST | 种子info_hash 例:["cf7d88fd656d10fe5130d13567aec27068b96676"] | |
sha1 | 字符串 | 必须 | 最小:40;数据源:POST | 字典排序sha1(hash)小写 |
返回字段 | 类型 | 说明 |
---|---|---|
ret | 整型 | 状态码,200表示成功,4xx表示客户端非法请求,5xx表示服务器错误,详情参见错误列表 |
data | 对象/混合类型 | 业务数据,由各自接口指定,通常为对象 |
data.info_hash | 字符串 | 可辅种json数据(按info_hash分组) |
msg | 字符串 | 提示信息,失败时的错误提示 |
参数 | 是否必填 | 值 |
---|---|---|
service | 必须 | |
sign | 必须 | |
timestamp | 必须 | |
version | 必须 | |
hash | 必须 | |
sha1 | 必须 |
{
"ret": 200,
"data": [
{
"hash": "cf7d88fd656d10fe5130d13567aec27068b96676",
"torrent": [
{
"sid": 10,
"torrent_id": 36,
"info_hash": "8bf47a8baa8bf7927ec61a850959bca8405482f5"
},
{
"sid": 1,
"torrent_id": 7233,
"info_hash": "07bb8defd21288a30a54ad793fe615f81afdbb2b"
},
{
"sid": 8,
"torrent_id": 5821,
"info_hash": "a69b89a8df716982ecceff4b98c532fc538501ae"
},
{
"sid": 6,
"torrent_id": 689,
"info_hash": "fb6cfb29c71cf9c29f479701f26c6235a15c0668"
},
{
"sid": 14,
"torrent_id": 347591,
"info_hash": "e060bbf60416ab933c01fcc6ad3c64ddd4a3e19c"
},
{
"sid": 3,
"torrent_id": 227950,
"info_hash": "3e757ae16ba65b71a828141a96098fb00653b03d"
},
{
"sid": 16,
"torrent_id": 7021,
"info_hash": "3ec363fb86bd0c2638d7e1b54088f0fed2a25869"
},
{
"sid": 16,
"torrent_id": 4206,
"info_hash": "a7f157c0cc2cd26db8af3579640c6880260bd690"
},
{
"sid": 25,
"torrent_id": 32214,
"info_hash": "60adf487e5a525468bb776d9db3fe8fde2c8e785"
},
{
"sid": 29,
"torrent_id": 19356,
"info_hash": "18e5ae6a55d06501c4424365308091ed3ff9493c"
},
{
"sid": 40,
"torrent_id": 5907,
"info_hash": "840016b7eb649313a465ca1466d403c87d0b36f6"
},
{
"sid": 15,
"torrent_id": 111560,
"info_hash": "76426eaf4f8e297df95b4469507baee5424d8420"
},
{
"sid": 5,
"torrent_id": 208468,
"info_hash": "ce31f2b15cc38e5312d9eb114c724ad8172fba26"
}
]
}
],
"msg": "",
"version": "0.3.1"
}
错误状态码 | 错误描述信息 |
---|---|
400 | 表示客户端参数错误 |
404 | 表示接口服务不存在 |
500 | 表示服务端内部错误 |
本文档生成时间:2024-04-24 06:24:29
IYUUPlusCore v2.0.0 (2024-04-23 10:20:41)
PhalApi Pro授权:v1.20 | 让接口开发更有趣!
© 2018-2024 Powered By API.IYUU.CN All Rights Reserved.