GET /internal/tenant/invitations/{code}

验证邀请码的有效性并返回邀请信息

租户服务 - 内部接口 None application/json

请求参数

名称位置类型必填默认值示例约束描述
code path string 是 邀请码

响应

引用的 Schema

service-core/base/dto.SimpleResponse

字段类型必填示例约束描述
code integer 否
message string 否
timestamp string 否

service-tenant/internal/handler/dto.ValidateInvitationDetailResponse

字段类型必填示例约束描述
code integer 否
data service-tenant/internal/handler/dto.ValidateInvitationResponse 否
message string 否
timestamp string 否

service-tenant/internal/handler/dto.ValidateInvitationResponse

验证邀请码后返回的邀请信息

字段类型必填示例约束描述
email string 否 user@example.com
invited_by string 否 usr_xyz789
role string 否 member
status string 否 pending
tenant_id string 否 tnt_abc123