NexusPHP
  1. 种子
NexusPHP
  • 说明
  • 用户
    • 用户详情
      GET
  • 种子
    • 种子列表
      GET
    • 种子详情
      GET
    • 发布种子
      POST
  • 发布
    • 分区列表
      GET
  • 收藏
    • 新增
      POST
    • 删除
      POST
  1. 种子

种子详情

开发中
GET
/api/v1/detail/{id}
适用版本:>=1.9.0

请求参数

Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Path 参数

Query 参数

Header 参数

Body 参数multipart/form-data

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://dev.nexusphp.org/api/v1/detail/13?includes=user,tags,extra&include_counts=claims,thank_users,reward_logs&include_fields[torrent]=description,download_url,has_thanked,has_rewarded,has_bookmarked,has_claimed&extra_fields=bonus_reward_values&extra_settings=torrent.claim_torrent_user_counts_up_limit' \
--header 'Accept;' \
--header 'Authorization: Bearer <token>'

返回响应

🟢200成功
application/json
Body

示例
{
    "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,
            "active_status": {
                "finished": "yes",
                "progress": 0,
                "active_status": "inactivity"
            }
        },
        "bonus_reward_values": [
            0
        ],
        "extra_settings": {
            "torrent.claim_torrent_user_counts_up_limit": "string"
        }
    },
    "rid": "string",
    "time": 0
}
修改于 2025-10-29 09:51:37
上一页
种子列表
下一页
发布种子
Built with