This commit is contained in:
2024-11-14 14:02:16 +08:00
parent dcd68b824c
commit 5bed52702c

View File

@@ -106,7 +106,7 @@ paths:
type: integer type: integer
in: query in: query
description: | description: |
筛选对此用户生效的魔法(包含私有魔法) 筛选对此用户生效的魔法(包含私有魔法)
默认为请求者的UID 默认为请求者的UID
- name: skip_cache - name: skip_cache
schema: schema:
@@ -114,7 +114,7 @@ paths:
enum: [0, 1] enum: [0, 1]
in: query in: query
description: | description: |
0 正常请求[默认] 0 正常请求[默认]
1 跳过缓存请求 1 跳过缓存请求
responses: responses:
"200": "200":
@@ -123,3 +123,36 @@ paths:
application/json: application/json:
schema: schema:
type: object type: object
/v1/promotion_specific:
get:
operationId: getPromotionSpecific
summary: 特定种子当前有效魔法
externalDocs:
url: https://github.com/kysdm/u2_api#特定种子当前有效魔法
parameters:
- name: uid
schema:
type: integer
in: query
description: u2账户id
required: true
- name: token
schema:
type: string
format: password
in: query
description: 鉴权中返回的值
required: true
- name: torrent_id
schema:
type: integer
in: query
description: 种子ID
required: true
responses:
"200":
description: OK
content:
application/json:
schema:
type: object