接口
认证
Authorization: Bearer <jwt> 或 X-API-Key <sk_...>。最小角色:viewer。
路径参数
string
required
工作空间 id。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl https://memo.ariacompute.cn/v1/workspaces/ws_01a2b3c4d5e6/code-repos \
-H "Authorization: Bearer <jwt>"
[
{
"id": "repo_01a2b3c4d5e6",
"workspace_id": "ws_01a2b3c4d5e6",
"owner_id": "usr_01a2b3c4d5e6",
"url": "https://github.com/ariacompute/ariamem",
"branch": "main",
"status": "ready",
"visibility": "private",
"error": "",
"created_at": "2026-10-12T11:00:00Z",
"updated_at": "2026-10-12T11:02:00Z"
}
]
通过 GET /v1/workspaces/:workspace_id/code-repos 返回当前用户可见的代码仓库。最小角色 viewer。
curl https://memo.ariacompute.cn/v1/workspaces/ws_01a2b3c4d5e6/code-repos \
-H "Authorization: Bearer <jwt>"
[
{
"id": "repo_01a2b3c4d5e6",
"workspace_id": "ws_01a2b3c4d5e6",
"owner_id": "usr_01a2b3c4d5e6",
"url": "https://github.com/ariacompute/ariamem",
"branch": "main",
"status": "ready",
"visibility": "private",
"error": "",
"created_at": "2026-10-12T11:00:00Z",
"updated_at": "2026-10-12T11:02:00Z"
}
]
GET /v1/workspaces/:workspace_id/code-repos
Authorization: Bearer <jwt> 或 X-API-Key <sk_...>。最小角色:viewer。
curl https://memo.ariacompute.cn/v1/workspaces/ws_01a2b3c4d5e6/code-repos \
-H "Authorization: Bearer <jwt>"
[
{
"id": "repo_01a2b3c4d5e6",
"workspace_id": "ws_01a2b3c4d5e6",
"owner_id": "usr_01a2b3c4d5e6",
"url": "https://github.com/ariacompute/ariamem",
"branch": "main",
"status": "ready",
"visibility": "private",
"error": "",
"created_at": "2026-10-12T11:00:00Z",
"updated_at": "2026-10-12T11:02:00Z"
}
]
Was this page helpful?