You need to enable JavaScript to run this app.
文档中心
基础设施管理

基础设施管理

复制全文
下载 pdf
模板管理
GetModule - 查询 Module 详情
复制全文
下载 pdf
GetModule - 查询 Module 详情
查询公共 Module 元数据及指定版本。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action string 必选 示例值:GetModule​
要执行的操作,取值:GetModule。​
​
Version string 必选 示例值:2026-05-01​
API的版本,取值:2026-05-01。​
​
ModuleID string 必选 示例值:mod-01arz3ndektsv4rrffq69g5fav​
Module ID。​
​
ModuleVersion long 可选 示例值:1​
Module 业务版本号;不传时返回最新版本。​
​
​
​
返回参数​
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。​
ModuleID string 示例值:mod-01arz3ndektsv4rrffq69g5fav​
Module ID。​
​
ModuleName string 示例值:模块​
Module 名称。​
​
Description string 示例值:描述​
Module 描述。​
​
RepositoryURL string 示例值:https://example.com/repo​
Module 源代码仓库地址。​
​
CreatedTime string 示例值:2026-09-10T08:00:00Z​
创建时间。​
​
UpdatedTime string 示例值:2026-09-10T08:00:00Z​
更新时间。​
​
Version object 示例值:{"ModuleVersion":1,"CreatedTime":"2026-09-10T08:00:00Z","TemplateURL":"https://download.example/template.zip?signed"}​
选中的 Module 版本。​
ModuleVersion long 示例值:1​
Module 业务版本号。​
​
CreatedTime string 示例值:2026-09-10T08:00:00Z​
创建时间。​
​
TemplateURL string 示例值:https://download.example/template.zip?signed​
Module 版本 ZIP 的临时下载地址。​
​
​
​
​
请求示例​
​
POST /?Action=GetModule&Version=2026-05-01 HTTP/1.1​
Host: inframanager.cn-beijing.volcengineapi.com​
Content-Type: application/json; charset=UTF-8​
X-Date: 20260910T080000Z​
X-Content-Sha256: 287e874e******d653b44d21e​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20260910/cn-beijing/inframanager/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
{​
"ModuleID": "mod-01arz3ndektsv4rrffq69g5fav",​
"ModuleVersion": 1​
}​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "20260910080000000000000000CREATE",​
"Action": "GetModule",​
"Version": "2026-05-01",​
"Service": "inframanager",​
"Region": "cn-beijing"​
},​
"Result": {​
"ModuleID": "mod-01arz3ndektsv4rrffq69g5fav",​
"ModuleName": "模块",​
"Description": "描述",​
"RepositoryURL": "https://example.com/repo",​
"CreatedTime": "2026-09-10T08:00:00Z",​
"UpdatedTime": "2026-09-10T08:00:00Z",​
"Version": {​
"ModuleVersion": 1,​
"CreatedTime": "2026-09-10T08:00:00Z",​
"TemplateURL": "https://download.example/template.zip?signed"​
}​
}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
InvalidParameter​
The specified parameter %q is invalid.​
请求参数不合法。​
400​
MissingParameter​
The parameter %q is required.​
缺少必填参数。​
403​
AccessDenied​
Access to the requested template operation is denied.​
无权访问指定模板或 Module。​
403​
NoPermittedOperation.TemplateNotPublished​
The template is not published.​
公共模板或 Module 未发布。​
404​
EntityNotFound.Module​
The module %q does not exist.​
Module 不存在。​
404​
EntityNotFound.TemplateVersion​
The template version does not exist.​
模板或 Module 版本不存在。​
500​
InternalError​
The request has failed due to an unknown error.​
内部服务错误,请稍后重试。​
​
​
最近更新时间:2026.10.19 21:23:17
这个页面对您有帮助吗?
有用
有用
无用
无用