接口描述: 返回所有辅种数据 infohash索引
参数名字 | 类型 | 是否必须 | 默认值 | 其他 | 说明 |
---|---|---|---|---|---|
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": {
"a444850638e7a6f6220e2efdde94099c53358159": {
"torrent": [
{
"sid": 23,
"torrent_id": 282511,
"info_hash": "1234567890a22042d89a571ea1d83f67c18624c7"
},
{
"sid": 5,
"torrent_id": 205834,
"info_hash": "1234567890bb6b8458fbb03c00f5e405cdbe656a"
},
{
"sid": 15,
"torrent_id": 110865,
"info_hash": "12345678909976a768c819c16754a17f72af441e"
},
{
"sid": 11,
"torrent_id": 41447,
"info_hash": "1234567890da905f58e3563037da398d84753fe3"
}
]
},
"cf7d88fd656d10fe5130d13567aec27068b96676": {
"torrent": [
{
"sid": 10,
"torrent_id": 36,
"info_hash": "12345678908bf7927ec61a850959bca8405482f5"
},
{
"sid": 1,
"torrent_id": 7233,
"info_hash": "12345678901288a30a54ad793fe615f81afdbb2b"
},
{
"sid": 8,
"torrent_id": 5821,
"info_hash": "1234567890716982ecceff4b98c532fc538501ae"
},
{
"sid": 6,
"torrent_id": 689,
"info_hash": "12345678901cf9c29f479701f26c6235a15c0668"
},
{
"sid": 14,
"torrent_id": 347591,
"info_hash": "123456789016ab933c01fcc6ad3c64ddd4a3e19c"
},
{
"sid": 3,
"torrent_id": 227950,
"info_hash": "1234567890a65b71a828141a96098fb00653b03d"
},
{
"sid": 16,
"torrent_id": 7021,
"info_hash": "1234567890bd0c2638d7e1b54088f0fed2a25869"
},
{
"sid": 16,
"torrent_id": 4206,
"info_hash": "12345678902cd26db8af3579640c6880260bd690"
},
{
"sid": 25,
"torrent_id": 32214,
"info_hash": "1234567890a525468bb776d9db3fe8fde2c8e785"
},
{
"sid": 29,
"torrent_id": 19356,
"info_hash": "1234567890d06501c4424365308091ed3ff9493c"
},
{
"sid": 40,
"torrent_id": 5907,
"info_hash": "1234567890649313a465ca1466d403c87d0b36f6"
},
{
"sid": 15,
"torrent_id": 111560,
"info_hash": "12345678908e297df95b4469507baee5424d8420"
}
]
}
},
"msg": ""
}
错误状态码 | 错误描述信息 |
---|---|
400 | 表示客户端参数错误 |
404 | 表示接口服务不存在 |
500 | 表示服务端内部错误 |
本文档生成时间:2024-04-26 06:15:02
IYUUPlusCore v2.0.0 (2024-04-25 19:08:46)
PhalApi Pro授权:v1.20 | 让接口开发更有趣!
© 2018-2024 Powered By API.IYUU.CN All Rights Reserved.