获取流水线模板的实例列表
Request method/request path
GET /ms/openapi/api/apigw/v3/projects/{projectId}/templates/{templateId}/templateInstances
Resource description
Gets a list of instances of the pipeline template
Input parameter description
Query parameter
Parameter name | Parameter type | must | Parameter description | Default value |
---|---|---|---|---|
page | integer | no | What page | 1 |
pageSize | integer | no | How many pieces per page | 30 |
searchKey | string | no | Name Search keyword |
Path parameter
Parameter name | Parameter type | must | Parameter description | Default value |
---|---|---|---|---|
projectId | string | is | Item ID | |
templateId | string | is | Template ID |
response
HTTP code | description | Parameter type |
---|---|---|
200 | successful operation |
Request sample
HEADER example
Return example -200
Data is returned to the packaging model TemplateInstancePage
Parameter name | Parameter type | must | Parameter description |
---|---|---|---|
data | no | data | |
message | string | no | Error message |
status | integer | is | Status code |
TemplateInstancePage
Parameter name | Parameter type | must | Parameter description |
---|---|---|---|
instances | List<TemplatePipeline> | no | instances |
latestVersion | no | latestVersion | |
count | integer | no | count |
pageSize | integer | no | pageSize |
page | integer | no | page |
templateId | string | no | templateId |
projectId | string | no | projectId |
TemplatePipeline
Parameter name | Parameter type | must | Parameter description |
---|---|---|---|
pipelineName | string | no | pipelineName |
hasPermission | boolean | no | hasPermission |
updateTime | integer | no | updateTime |
templateId | string | no | templateId |
versionName | string | no | versionName |
version | integer | no | version |
pipelineId | string | no | pipelineId |
status | ENUM(PENDING_UPDATE, UPDATING, UPDATED, ) | no | status |
TemplateVersion
Parameter name | Parameter type | must | Parameter description |
---|---|---|---|
creator | string | no | creator |
updateTime | integer | no | updateTime |
versionName | string | no | versionName |
version | integer | no | version |
Last updated