调用getImage接口查询制品-docker镜像详情
接口URL:/v1/product/getImage
Content-Type:text/plain
请求方式:get
URI参数说明:
参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
---|---|---|---|---|
imageId | String | String | 是 | 镜像ID,数据来源于查询制品-docker镜像分页列表查询制品-docker镜像分页列表 |
请求体参数说明:
参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
---|---|---|---|---|
无请求参数KEY/VALUE类型 |
返回参数说明:
参数名 | 示例值 | 参数类型 | 参数描述 |
---|---|---|---|
code | Integer | Integer | 响应编码200 success |
data | Object | Object | 返回数据 |
msg | String | String | 消息内容 |
表data
参数名 | 示例值 | 参数类型 | 参数描述 |
---|---|---|---|
branchName | String | String | 分支名称 |
createStaff | String | String | 创建人 |
createTime | String | String | 创建时间 |
dockerfileContent | String | String | dockerfile内容 |
imageId | String | String | 镜像ID |
imageName | String | String | 镜像名称 |
imageUrl | String | String | 镜像url |
imageVer | String | String | 镜像版本 |
isOfficial | Boolean | Boolean | 是否正式版 |
packageName | String | String | 程序包名称 |
packageVer | String | String | 程序包版本 |
updateStaff | String | String | 修改人 |
updateTime | String | String | 修改时间 |
返回示例:成功
{"code":"200","data":{"branchName":"master","createStaff":"张三","createTime":"1956562000000","dockerfileContent":"","imageId":"07a1666a-2e0f-4a18-bf76-af602c741a58","imageName":"test","imageUrl":"http://xxx","imageVer":"1.0.0","isOfficial":"true","packageName":"test","packageVer":"1.0.0","updateStaff":"张三","updateTime":"16899000000"},"msg":""}
返回示例:失败
{"code":"500","data":"true","msg":"制品不存在"}