/torrents
是查看普通分区种子,要查看特别分区,后面跟其分类模式的名字(分区列表接口中的 name 字段),如 /torrents/special
Authorization: Bearer ********************
curl --location -g --request GET 'https://dev.nexusphp.org/api/v1/torrents?per_page=5&page=1&sorts=id&includes=user,extra&include_fields[torrent]=has_claimed,has_thanked,has_rewarded,has_bookmarked&include_counts=claims' \
--header 'Accept;'
{
"ret": 0,
"msg": "string",
"data": {
"data": [
{
"id": 0,
"name": "string",
"filename": "string",
"hash": "string",
"cover": "string",
"small_descr": "string",
"category": 0,
"category_info": {
"id": 0,
"name": "string"
},
"size": 0,
"size_human": "string",
"added": "string",
"added_human": "string",
"numfiles": 0,
"leechers": 0,
"seeders": 0,
"times_completed": 0,
"views": 0,
"hits": 0,
"comments": 0,
"pos_state": "string",
"pos_state_until": "string",
"pos_state_until_human": "string",
"sp_state": 0,
"sp_state_real": 0,
"promotion_info": {
"text": "string",
"up_multiplier": 0,
"down_multiplier": 0,
"color": "string"
},
"hr": 0,
"pick_type": "string",
"pick_time": "string",
"pick_info": {
"text": "string",
"color": "string"
},
"anonymous": "string",
"last_action": "string",
"last_action_human": "string",
"user": {
"id": 0,
"username": "string",
"email": "string",
"status": "pending",
"enabled": "yes",
"added": "string",
"added_human": "string",
"last_access": "string",
"last_access_human": "string",
"last_login": "string",
"last_login_human": "string",
"class": 0,
"class_text": "string",
"avatar": "string",
"invites": 0,
"attendance_card": 0,
"uploaded": 0,
"uploaded_text": "string",
"downloaded": 0,
"downloaded_text": "string",
"bonus": 0,
"bonus_human": "string",
"seed_points": 0,
"seed_points_human": "string",
"seedtime": 0,
"seedtime_text": "string",
"leechtime": 0,
"leechtime_text": "string",
"share_ratio": "string"
},
"extra": {
"descr": "string",
"media_info": "string",
"media_info_summary": {
"videos": {
"Runtime": "string",
"Resolution": "string",
"Bitrate": "string",
"Bit depth": "string",
"Frame rate": "string",
"Profile": "string"
},
"audios": {},
"subtitles": {}
},
"nfo": "string"
},
"tags": [
{
"id": 0,
"name": "string",
"color": "string",
"font_color": "string",
"font_size": "string",
"padding": "string",
"margin": "string",
"border_radius": "string",
"priority": 0,
"created_at": "string",
"updated_at": "string"
}
],
"thank_users_count": 0,
"reward_logs_count": 0,
"claims_count": 0,
"sub_categories": {
"medium": {
"label": "string",
"value": "string"
},
"codec": {
"label": "string",
"value": "string"
},
"standard": {
"label": "string",
"value": "string"
},
"team": {
"label": "string",
"value": "string"
},
"source": {
"label": "string",
"value": "string"
},
"audiocodec": {
"label": "string",
"value": "string"
},
"processing": {
"label": "string",
"value": "string"
}
},
"description": [
{
"type": "text",
"data": {
"text": "string",
"url": "string"
}
}
],
"images": [
"string"
],
"download_url": "string",
"has_bookmarked": true,
"has_claimed": true,
"has_thanked": true,
"has_rewarded": true
}
],
"links": {
"first": "string",
"last": "string",
"prev": "string",
"next": "string"
},
"meta": {
"current_page": 0,
"last_page": 0,
"from": 0,
"to": 0,
"links": [
{
"url": "string",
"label": "string",
"active": true
}
],
"path": "string",
"per_page": 0,
"total": 0
}
},
"rid": "string",
"time": 0
}