更新仓库信息

最近更新时间: 2026-10-11 00:12:05

1. 接口描述

接口请求域名: tsf.api3.fincloud.tencent.com。

更新仓库信息

默认接口请求频率限制:20次/秒。

接口更新时间:2026-02-09 13:14:32。

接口既验签名又鉴权。

2. 输入参数

以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见公共请求参数。

参数名称 必选 允许NULL 类型 描述
Action 是 否 String 公共参数,本接口取值:UpdateRepository
Version 是 否 String 公共参数,本接口取值:2018-03-26
Region 是 否 String 公共参数,地域信息可通过DescribeRegions接口查看产品支持的地域列表
RepositoryId 是 否 String 仓库ID,可通过调用仓库信息查询类接口时出参中的RepositoryId,或登录控制台进行查看
示例值: repo-6a79x94v
RepositoryDesc 否 否 String 仓库描述
示例值: this is a desc

3. 输出参数

参数名称 类型 描述
Result Bool 更新仓库是否成功
示例值: true
RequestId String 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。

4. 错误码

以下仅列出了接口业务逻辑相关的错误码,其他错误码详见公共错误码。

错误码 描述
InvalidParameter.ParamError 参数错误。
InternalError.RuntimeError 仓库内部错误。
UnsupportedOperation.UnsupportAction 不支持的ACTION。。

5. 示例

示例1 更新仓库信息

输入示例

https://tsf.api3.fincloud.tencent.com/?Action=UpdateRepository
&RepositoryId=application-xxxxxxxx
&RepositoryDesc="this is a new desc"
&<Common Parameters>

输出示例

{
  "Response": {
    "RequestId": "718bc8d5-ccd5-4735-b6b2-c864661e20bc",
    "Result": true
  }
}