根据代码组全路径查询代码组信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求语法
GET /api/4/groups/find_by_path
请求参数
| 名称 | 类型 | 必填 | 描述 | 示例值 | 
|---|---|---|---|---|
| organizationId | string | 是 | 企业标识,也称企业 id,字符串形式,可在云效访问链接中获取,如 https://devops.aliyun.com/organization/【OrganizationId】 | 60de7a6852743a5162b5f957 | 
| identity | string | 是 | 代码组全路径或者代码组 ID | 60de7a6852743a5162b5f957/test-group | 
返回参数
示例
正常返回示例
JSON格式
{
  "requestId": "6177543A-8D54-5736-A93B-E0195A1512CB",
  "success": true,
  "errorCode": "SYSTEM_UNKNOWN_ERROR",
  "errorMessage": "\"\"",
  "result": {
    "id": 30815,
    "name": "test-group",
    "path": "test-group",
    "pathWithNamespace": "codeup-test-org/test-group",
    "nameWithNamespace": "codeup-test-org / test-group(斜杠两侧有空格)",
    "visibilityLevel": 0,
    "description": "描述内容",
    "avatarUrl": "https://tcs-devops.aliyuncs.com/thumbnail/112afcb7a6a35c3f67f1bea827c4/w/100/h/100",
    "webUrl": "xxx",
    "parentId": "26842",
    "ownerId": "19230"
  }
}错误码
访问错误中心查看更多错误码。
变更历史
| 变更时间 | 变更内容概要 | 操作 | 
|---|
暂无变更历史
