{"base_path":"/","components":null,"consumes":"","definitions":{"PrivilegeProjectInfoV5":{"properties":{"associated":{"description":"**参数解释**:\n请求参数中的仓库ID是否关联到本项目。\n**取值范围**:\n- true:关联到本项目。\n- false:未关联到本项目。","type":"boolean"},"created_time":{"description":"**参数解释**:\n项目的创建时间。\n**取值范围**:\n格式为yyyy-MM-dd HH:mm:ss。","type":"string"},"domain_id":{"description":"**参数解释**:\n租户ID。\n**取值范围**:\n不涉及。","type":"string"},"id":{"description":"**参数解释**: \n项目的序号。\n**取值范围**:\n不涉及。","type":"string"},"ids":{"description":"**参数解释**:\n项目的序号列表(该参数无返回值,请忽略)。\n**取值范围**:\n该参数无返回值,请忽略。","items":{"type":"string"},"type":"array"},"name":{"description":"**参数解释**:\n项目的名称。\n**取值范围**:\n不涉及。","type":"string"},"project_id":{"description":"**参数解释**:\n项目ID。\n**取值范围**:\n不涉及。","type":"string"},"project_info":{"description":"**参数解释**:\n项目的信息。\n**取值范围**:\n不涉及。","items":{"$ref":"#/definitions/PrivilegeProjectInfoV5"},"type":"array"},"region":{"description":"**参数解释**:\n项目所属的区域。\n**取值范围**:\n不涉及。","type":"string"},"repository_id":{"description":"**参数解释**:\n仓库ID。\n**取值范围**:\n不涉及。","type":"string"},"repository_num":{"description":"**参数解释**:\n仓库数量。\n**取值范围**:\n不涉及。","format":"int32","type":"integer"},"status":{"description":"**参数解释**:\n项目的状态(该参数无返回值,请忽略)。\n**取值范围**:\n该参数无返回值,请忽略。","type":"string"},"total":{"description":"**参数解释**:\n项目总数(该参数无返回值,请忽略)。\n**取值范围**:\n该参数无返回值,请忽略。","format":"int32","type":"integer"},"total_records":{"description":"**参数解释**:\n项目总数。\n**取值范围**:\n不涉及。","format":"int32","type":"integer"}},"type":"object"},"PrivilegeProjectInfoV5Res":{"properties":{"result":{"$ref":"#/definitions/PrivilegeProjectInfoV5","description":"**参数解释**:\n请求返回的结果,项目对象。\n**取值范围**:\n不涉及。"},"status":{"description":"**参数解释**:\n查询项目列表成功或失败的状态。\n**取值范围**:\n- success:查询项目列表成功。\n- error:查询项目列表失败。","enum":["success","error"],"example":"success","type":"string"},"trace_id":{"description":"**参数解释**:\n请求ID,当前请求的唯一标识。\n**取值范围**:\n数字及中划线(-)组成的字符串。","type":"string"}},"type":"object"}},"description":null,"group_id":"12022fbec3164dffbdbcd192875653a8","host":"cloudartifacts-ext.cn-north-4.myhuaweicloud.com","id":"c390a385512c441ab55ca7a5c80a567d","info_version":"v2","method":"get","name":"ShowProjectRelatedRepository","parameters":{},"paths":{"/v5/maven/project/repository":{"get":{"description":"调用该接口可以快速查询项目列表信息,包含仓库和项目的关联关系,以便于仓库的管理和协作。","operationId":"ShowProjectRelatedRepository","parameters":[{"description":"**参数解释**:\n项目名称,支持模糊查询。\n**约束限制**:\n不涉及。\n**取值范围**:\n最大200个字符。\n**默认取值**:\n不涉及。","in":"query","name":"search_name","required":false,"type":"string"},{"description":"**参数解释**:\n分页查询的起始位置。\n**约束限制**:\n不涉及。\n**取值范围**:\n0-2147483647\n**默认取值**:\n0","format":"int32","in":"query","name":"offset","required":false,"type":"integer"},{"description":"**参数解释**:\n分页查询每页的数据量。\n**约束限制**:\n不涉及。\n**取值范围**:\n1-2147483647\n**默认取值**:\n10","format":"int32","in":"query","name":"limit","required":false,"type":"integer"},{"description":"**参数解释**:\n仓库ID,格式为{region}\\_{domainId}\\_{format}_{sequence}。可以从“私有依赖库首页 > 仓库概览 > 仓库地址url”中获取,最后两个“/”中间的字符串即为仓库ID。如仓库地址:https://devrepo.devcloud.abcde.abc.xyz.com/artgalaxy/abcde_09d2ca2f5080d5b60f51c00ae5bad0a0_maven_2_50/,其中abcde_09d2ca2f5080d5b60f51c00ae5bad0a0_maven_2_50即为仓库ID。\n**约束限制**:\n不涉及。\n**取值范围**:\n仓库ID格式中的format支持以下值:\n- npm\n- go\n- pypi\n- rpm\n- composer\n- maven\n- debian\n- conan\n- nuget\n- docker2\n- cocoapods\n**默认取值**:\n不涉及。","in":"query","name":"repo_id","required":false,"type":"string"}],"responses":{"200":{"description":"查询项目管理对接列表成功。","schema":{"$ref":"#/definitions/PrivilegeProjectInfoV5Res"}}},"security":[{"apig-auth-iam":[]}],"summary":"查询项目列表","tags":["仓库管理"],"x-api-framework":"RestfulAPI","x-api-highrisk":"N","x-api-position":"Region_ZONE","x-api-type":"open-api","x-api-user":"IAM_User","x-is-registered":"Y","x-open-region-cloud":"hws,hws_hk","x-sec-auditlog":"N","x-sec-upload-download":0,"x-support-sdk":"Y"}}},"product_short":"CodeArtsArtifact","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":{"apig-auth-app":{"in":"header","name":"Authorization","type":"apiKey","x-apigateway-auth-type":"AppSigv1"},"apig-auth-app-optional":{"in":"header","name":"Authorization","type":"apiKey","x-apigateway-auth-opt":{"access-auth-type":"optional"},"x-apigateway-auth-type":"AppSigv1"},"apig-auth-iam":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-type":"IAM"},"apig-auth-iam-new":{"in":"header","name":"Authorization","type":"apiKey","x-apigateway-auth-type":"IAM_NEW"},"apig-auth-iam-none":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-type":"IAM_NONE"},"apig-auth-iam-none-used-authn5":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-opt":{"inner-auth-type":"iam_auth_n5"},"x-apigateway-auth-type":"IAM_NONE"},"apig-auth-iam-used-authn5":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-opt":{"inner-auth-type":"iam_auth_n5"},"x-apigateway-auth-type":"IAM"}},"summary":"查询项目列表","tags":"仓库管理","uri":null,"version":"2.0"}