API 参考 / public
GET /api/v1/site/content · getSiteContent
公开只读端点:官网首页要的演示视频源与鸣谢名单。只投影已启用的分组与人员, 绝不下发 enabled 标志或未启用条目。 与 /platform/status 分开是有意的:后者被中央面 / 项目面 / 运营面的每一页消费, 而鸣谢名单(含每个人的头像 URL)只有官网首页要,压进那个端点等于让全站每次导航 都多拉一份用不上的名单。
公开端点,无需鉴权。
videoUrl(必填)credits(必填)credits.intro(必填)credits.groups(必填)credits.groups[].title(必填)credits.groups[].description(必填)credits.groups[].people(必填)curl -X GET "https://你的项目.workflow.games/api/v1/site/content"HTTP/1.1 200
{
"videoUrl": "https://example.com",
"credits": {
"intro": "示例文本",
"groups": [
{
"title": "示例标题",
"description": "一段描述文字",
"people": []
}
]
}
}合同真值:OpenAPI 3.1(0.1.0)。
相关:Agent 接入指南 · 使用指南 · API 参考索引