接口
认证
Authorization: Bearer <jwt> 或 X-API-Key <sk_...>。最小角色:viewer。
路径参数
string
required
工作空间 id。
string
required
仓库 id。
查询参数
string
required
要分析的符号 id。
string
方向:
downstream(默认,依赖谁)/ upstream(被谁依赖)。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/repo_01a2b3c4d5e6/impact?symbol_id=sym_01a2b3c4d5e6&direction=downstream" \
-H "Authorization: Bearer <jwt>"
[
{
"symbol_id": "sym_01a2b3c4d5e6",
"name": "RegisterRoutes",
"relations": [
{ "to": "sym_bb", "relation": "call" }
]
}
]
通过 GET /v1/workspaces/:workspace_id/code-repos/:repo_id/impact 分析某符号的上下游影响路径。最小角色 viewer。
curl "https://memo.ariacompute.cn/v1/workspaces/ws_01a2b3c4d5e6/code-repos/repo_01a2b3c4d5e6/impact?symbol_id=sym_01a2b3c4d5e6&direction=downstream" \
-H "Authorization: Bearer <jwt>"
[
{
"symbol_id": "sym_01a2b3c4d5e6",
"name": "RegisterRoutes",
"relations": [
{ "to": "sym_bb", "relation": "call" }
]
}
]
GET /v1/workspaces/:workspace_id/code-repos/:repo_id/impact
Authorization: Bearer <jwt> 或 X-API-Key <sk_...>。最小角色:viewer。
downstream(默认,依赖谁)/ upstream(被谁依赖)。curl "https://memo.ariacompute.cn/v1/workspaces/ws_01a2b3c4d5e6/code-repos/repo_01a2b3c4d5e6/impact?symbol_id=sym_01a2b3c4d5e6&direction=downstream" \
-H "Authorization: Bearer <jwt>"
[
{
"symbol_id": "sym_01a2b3c4d5e6",
"name": "RegisterRoutes",
"relations": [
{ "to": "sym_bb", "relation": "call" }
]
}
]
Was this page helpful?