A AuthMS API Wiki API Reference iam.tianv.com →

GET /public/tenants/discover

列出可公开发现和加入的租户列表,包含租户ID、名称、显示名称和成员加入方式。用于注册页面展示可选租户。无需认证。

身份认证 None application/json

Responses

StatusDescriptionSchema
200可发现的租户列表gitee_com_linmes_authms_base_dto.DataResponse-array_dto_DiscoverTenantInfo
400请求参数无效gitee_com_linmes_authms_base_dto.SimpleResponse
500服务器内部错误gitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.DiscoverTenantInfo

FieldTypeRequiredExampleConstraintsDescription
display_name string No
id string No
membership_approval string No
name string No

gitee_com_linmes_authms_base_dto.DataResponse-array_dto_DiscoverTenantInfo

FieldTypeRequiredExampleConstraintsDescription
code integer No
data array of

See dto.DiscoverTenantInfo

No
message string No
timestamp string No

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No