docs: api docs 更新
diff --git a/deploy-manifests/k8s-rancher/1.authx-service/0.authx-service/9.poa-api-docs-installer.yaml b/deploy-manifests/k8s-rancher/1.authx-service/0.authx-service/9.poa-api-docs-installer.yaml
index 18cda38..24e0b71 100644
--- a/deploy-manifests/k8s-rancher/1.authx-service/0.authx-service/9.poa-api-docs-installer.yaml
+++ b/deploy-manifests/k8s-rancher/1.authx-service/0.authx-service/9.poa-api-docs-installer.yaml
@@ -36,7 +36,7 @@
containers:
- name: poa-api-docs-installer
# 若使用了学校搭设的私有仓库,请修改
- image: harbor.supwisdom.com/authx-service/poa-api-docs-installer:1.1.2-SNAPSHOT
+ image: harbor.supwisdom.com/authx-service/poa-api-docs-installer:1.1.3-SNAPSHOT
imagePullPolicy: Always
envFrom:
- configMapRef:
diff --git a/poa-api-docs/api-docs/user-data-service-poa.v1.yaml b/poa-api-docs/api-docs/user-data-service-poa.v1.yaml
index 46ac746..6624a5e 100644
--- a/poa-api-docs/api-docs/user-data-service-poa.v1.yaml
+++ b/poa-api-docs/api-docs/user-data-service-poa.v1.yaml
@@ -871,6 +871,59 @@
$ref: '#/components/responses/DefaultErrorResponse'
+ '/organizations/{organizationId}/organizationChain':
+ get:
+ summary: 根据组织机构ID获取组织机构链
+ operationId: getOrganizationChain
+ tags:
+ - Organization
+ security:
+ - oauth2:
+ - "user:v1:readOrganization"
+ parameters:
+ - name: organizationId
+ in: path
+ required: true
+ description: 组织机构ID
+ schema:
+ type: string
+ responses:
+ '200':
+ description: 组织机构信息
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/OrganizationListResponse'
+ default:
+ $ref: '#/components/responses/DefaultErrorResponse'
+
+ '/organizations/organizationCode/{organizationCode}/organizationChain':
+ get:
+ summary: 根据组织机构代码获取组织机构链
+ operationId: getOrganizationChainByCode
+ tags:
+ - Organization
+ security:
+ - oauth2:
+ - "user:v1:readOrganization"
+ parameters:
+ - name: organizationCode
+ in: path
+ required: true
+ description: 组织机构代码
+ schema:
+ type: string
+ responses:
+ '200':
+ description: 组织机构信息
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/OrganizationListResponse'
+ default:
+ $ref: '#/components/responses/DefaultErrorResponse'
+
+
'/organizations/{organizationId}/users':
get:
summary: 获取组织机构下的用户列表(弃用)
diff --git a/poa-api-docs/docker-build.sh b/poa-api-docs/docker-build.sh
index 4999cdf..d4ee017 100755
--- a/poa-api-docs/docker-build.sh
+++ b/poa-api-docs/docker-build.sh
@@ -8,7 +8,7 @@
IMAGE_PREFIX="authx-service"
NAME="poa-api-docs-installer"
-VERSION="1.1.2-SNAPSHOT"
+VERSION="1.1.3-SNAPSHOT"
function build