获取流水线模板的实例列表
请求方法/请求路径
GET /ms/openapi/api/apigw/v3/projects/{projectId}/templates/{templateId}/templateInstances
资源描述
获取流水线模板的实例列表
输入参数说明
Query参数
参数名称 | 参数类型 | 必须 | 参数说明 | 默认值 |
---|---|---|---|---|
page | integer | 否 | 第几页 | 1 |
pageSize | integer | 否 | 每页多少条 | 30 |
searchKey | string | 否 | 名字搜索的关键字 |
Path参数
参数名称 | 参数类型 | 必须 | 参数说明 | 默认值 |
---|---|---|---|---|
projectId | string | 是 | 项目ID | |
templateId | string | 是 | 模板ID |
响应
HTTP代码 | 说明 | 参数类型 |
---|---|---|
200 | successful operation |
请求样例
HEADER样例
返回样例-200
数据返回包装模型TemplateInstancePage
参数名称 | 参数类型 | 必须 | 参数说明 |
---|---|---|---|
data | 否 | 数据 | |
message | string | 否 | 错误信息 |
status | integer | 是 | 状态码 |
TemplateInstancePage
参数名称 | 参数类型 | 必须 | 参数说明 |
---|---|---|---|
instances | List<TemplatePipeline> | 否 | instances |
latestVersion | 否 | latestVersion | |
count | integer | 否 | count |
pageSize | integer | 否 | pageSize |
page | integer | 否 | page |
templateId | string | 否 | templateId |
projectId | string | 否 | projectId |
TemplatePipeline
参数名称 | 参数类型 | 必须 | 参数说明 |
---|---|---|---|
pipelineName | string | 否 | pipelineName |
hasPermission | boolean | 否 | hasPermission |
updateTime | integer | 否 | updateTime |
templateId | string | 否 | templateId |
versionName | string | 否 | versionName |
version | integer | 否 | version |
pipelineId | string | 否 | pipelineId |
status | ENUM(PENDING_UPDATE, UPDATING, UPDATED, ) | 否 | status |
TemplateVersion
参数名称 | 参数类型 | 必须 | 参数说明 |
---|---|---|---|
creator | string | 否 | creator |
updateTime | integer | 否 | updateTime |
versionName | string | 否 | versionName |
version | integer | 否 | version |
最后更新于