Files
cloudpods/docs/identity/groups.yaml
2019-06-29 15:22:39 +08:00

32 lines
725 B
YAML

get:
summary: 按指定条件列出组
parameters:
- $ref: '../parameters/common.yaml#/offset'
- $ref: '../parameters/common.yaml#/limit'
- $ref: '../parameters/common.yaml#/scope'
- $ref: '../parameters/identity.yaml#/project_domain'
responses:
200:
description: 组列表信息
schema:
$ref: "../schemas/group.yaml#/GroupListResponse"
tags:
- groups
post:
summary: 新建一个本地组
parameters:
- name: group
in: body
required: true
schema:
$ref: "../schemas/group.yaml#/GroupCreateInput"
responses:
200:
description: 组信息
schema:
$ref: "../schemas/group.yaml#/GroupGetResponse"
tags:
- groups