公开内容
列出公开组织
GET /v1/site/organizations
GET
/v1/site/organizations只返回已批准、公开且未解散的组织;已归档组织仍可读取,以 archived 标识只读状态。分页与搜索不会返回私有组织或成员关系。匿名调用,不接受 Cookie。
无需认证
查询参数
qstring可选按组织名称、标语或 slug 搜索,最多 500 字符。
长度 ≥ 0 · 长度 ≤ 500
pageinteger可选从 1 开始的页码。
≥ 1 · ≤ 1000000
pageSizeinteger可选每页条数,最多 50。
≥ 1 · ≤ 50
返回值
成功
totalinteger必填≥ 0
pageinteger必填≥ 1 · ≤ 1000000
pageSizeinteger必填≥ 1 · ≤ 50
itemsobject[]必填条目数 ≤ 50
itemsobject[]必填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
接口信息
接口: GET /v1/site/organizations
operationId: listOrganizations
只返回已批准、公开且未解散的组织;已归档组织仍可读取,以 archived 标识只读状态。分页与搜索不会返回私有组织或成员关系。匿名调用,不接受 Cookie。
参数:
queryq:按组织名称、标语或 slug 搜索,最多 500 字符。querypage:从 1 开始的页码。querypageSize:每页条数,最多 50。