add api
This commit is contained in:
33
u2_api.yml
33
u2_api.yml
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user