Update paramters
This commit is contained in:
22
u2_api.yml
22
u2_api.yml
@@ -34,6 +34,13 @@ paths:
|
|||||||
key:
|
key:
|
||||||
type: string
|
type: string
|
||||||
description: 上一步操作返回的 key 值
|
description: 上一步操作返回的 key 值
|
||||||
|
responses:
|
||||||
|
"200":
|
||||||
|
description: OK
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
type: object
|
||||||
/v1/promotion:
|
/v1/promotion:
|
||||||
get:
|
get:
|
||||||
operationId: getPromotion
|
operationId: getPromotion
|
||||||
@@ -47,6 +54,21 @@ paths:
|
|||||||
in: query
|
in: query
|
||||||
description: u2账户id
|
description: u2账户id
|
||||||
required: true
|
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:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: OK
|
||||||
|
|||||||
Reference in New Issue
Block a user