docs: poa 文档,新增接口:获取所有的用户组(岗位)下设置的组织机构
author刘洪青 <loie.engine@gmail.com>
Thu, 5 Nov 2020 11:07:13 +0000 (19:07 +0800)
committer刘洪青 <loie.engine@gmail.com>
Thu, 5 Nov 2020 11:07:13 +0000 (19:07 +0800)
poa-api-docs/api-docs/user-data-service-poa.v1.yaml

index 1d7f77e..b32551a 100644 (file)
@@ -1461,6 +1461,26 @@ paths:
           $ref: '#/components/responses/DefaultErrorResponse'
 
 
+  '/groups/groupOrganizationSettings':
+    get:
+      summary: 获取所有的用户组(岗位)下设置的组织机构
+      operationId: listGroupOrganizationSettings
+      tags:
+        - Group
+      security:
+        - oauth2:
+          - "user:v1:readGroup"
+      responses:
+        '200':
+          description: 岗位-组织机构设置的列表
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/GroupOrganizationListResponse'
+        default:
+          $ref: '#/components/responses/DefaultErrorResponse'
+
+
   '/groups/{groupId}/accountOrganizations':
     get:
       summary: 获取用户组(岗位)下的帐号 - 组织机构列表