Agents
Resolve a git address
Preview what writing this address as an agent workspace would derive for the calling user: who vouches for it (GitHub App installation, managed GitLab project, or an anonymous read-only clone), the caller’s access ceiling, the canonical cloneable address, and the default branch. Refusals mirror the write paths.
授权
bearerAuth 授权Bearer <token>
位置: header
路径参数
orgId*string
查询参数
gitRepo*string
长度
1 <= length <= 512响应主体
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/orgs/string/git/resolve?gitRepo=string"{ "provider": "github", "gitRepo": "string", "access": "read", "defaultBranch": "string", "host": "github"}