Update paramters
This commit is contained in:
22
u2_api.yml
22
u2_api.yml
@@ -34,6 +34,13 @@ paths:
|
||||
key:
|
||||
type: string
|
||||
description: 上一步操作返回的 key 值
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
/v1/promotion:
|
||||
get:
|
||||
operationId: getPromotion
|
||||
@@ -47,6 +54,21 @@ paths:
|
||||
in: query
|
||||
description: u2账户id
|
||||
required: true
|
||||
- name: scope
|
||||
schema:
|
||||
type: string
|
||||
enum: [global, public, private, all]
|
||||
default: all
|
||||
in: query
|
||||
description: 魔法类型
|
||||
- name: maximum
|
||||
schema:
|
||||
type: integer
|
||||
minimum: 1
|
||||
maximum: 60
|
||||
default: 10
|
||||
in: query
|
||||
description: 返回数据条数
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
|
||||
Reference in New Issue
Block a user