公开内容
读取公开组织详情
GET /v1/site/organizations/{slug}
GET
/v1/site/organizations/{slug}返回公开组织资料;已归档组织以 archived 标识只读状态,已解散的公开组织只返回最小墓碑。私有或未公开组织不可通过此接口读取。匿名调用,不接受 Cookie。
无需认证
路径参数
slugstring必填组织的稳定标识。
长度 ≥ 1 · 长度 ≤ 100 · 格式:^[a-z0-9][a-z0-9-]{0,99}$
返回值
成功
organizationobject必填
organizationobject必填方案 1 · object
idstring必填长度 ≥ 26 · 长度 ≤ 26
slugstring必填长度 ≥ 1 · 长度 ≤ 100 · 格式:^[a-z0-9][a-z0-9-]{0,99}$
namestring必填长度 ≥ 1 · 长度 ≤ 100
summarystring必填长度 ≥ 0 · 长度 ≤ 200
avatarstring可选长度 ≥ 0 · 长度 ≤ 2048
statusstring必填可选值
"approved""archived"versioninteger必填≥ 1 · ≤ 9007199254740991
taglinestring必填长度 ≥ 0 · 长度 ≤ 200
categorystring必填长度 ≥ 0 · 长度 ≤ 100
memberCountinteger必填≥ 0
followerCountinteger必填≥ 0
createdAtstring必填长度 ≥ 1 · 长度 ≤ 64
descriptionstring必填长度 ≥ 0 · 长度 ≤ 10000
bannerstring可选长度 ≥ 0 · 长度 ≤ 2048
joinPolicystring必填可选值
"open""apply"方案 2 · object
idstring必填长度 ≥ 26 · 长度 ≤ 26
slugstring必填长度 ≥ 1 · 长度 ≤ 100 · 格式:^[a-z0-9][a-z0-9-]{0,99}$
namestring必填长度 ≥ 1 · 长度 ≤ 100
summarystring必填长度 ≥ 0 · 长度 ≤ 200
avatarstring可选长度 ≥ 0 · 长度 ≤ 2048
statusstring必填可选值
"dissolved"versioninteger必填≥ 1 · ≤ 9007199254740991
dissolvedAtstring必填长度 ≥ 1 · 长度 ≤ 64
接口信息
接口: GET /v1/site/organizations/{slug}
operationId: getOrganization
返回公开组织资料;已归档组织以 archived 标识只读状态,已解散的公开组织只返回最小墓碑。私有或未公开组织不可通过此接口读取。匿名调用,不接受 Cookie。
参数:
pathslug(必填):组织的稳定标识。