获取服务详情。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
pairec:GetService |
get |
*全部资源
|
无 | 无 |
请求语法
GET /api/v1/services/{ServiceId} HTTP/1.1
路径参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| ServiceId |
string |
否 |
|
1 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| InstanceId |
string |
否 |
|
pairec-test-xxx |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|
||
| CrInstanceId |
string |
|
cri-xxx |
| Description |
string |
|
this is a test rec engine |
| EngineConfigId |
string |
|
3 |
| GmtReleasedTime |
string |
|
2021-12-15T23:24:33.132+08:00 |
| ImageAuth |
string |
|
******** |
| ImageName |
string |
|
registry-vpc.cn-beijing.aliyuncs.com/***/*** |
| LatestProdReleaseOrder |
object |
|
|
| Content |
string |
|
update golang version to 1.22 |
| ImageVersion |
string |
|
2.0.0 |
| ReleaseInfo |
string |
|
{ "Pre": { "Status": "Released", "GmtReleasedTime" : "2021-12-15T23:24:33.132+08:00", }, "Prod": { "Status": "Released", "GmtReleasedTime" : "2021-12-15T23:24:33.132+08:00", } } |
| ReleaseOrderId |
string |
|
3 |
| Releaser |
string |
|
E-xxx.xxx-@xxx.onaliyun.com |
| Topic |
string |
|
update version |
| Name |
string |
|
test_rec |
| Region |
string |
|
cn-beijing |
| RepositoryId |
string |
|
crr-xxx |
| RequestId |
string |
|
D75C43DC-3D3A-5CC8-9AAC-8C77306C433B |
| SceneId |
string |
|
1 |
| ServiceConfig |
string |
|
{"Port":8080} |
| ServiceResourceUri |
string |
|
eas-resource-xxx |
示例
正常返回示例
JSON格式
{
"CrInstanceId": "cri-xxx",
"Description": "this is a test rec engine",
"EngineConfigId": "3",
"GmtReleasedTime": "2021-12-15T23:24:33.132+08:00",
"ImageAuth": "********",
"ImageName": "registry-vpc.cn-beijing.aliyuncs.com/***/***",
"LatestProdReleaseOrder": {
"Content": "update golang version to 1.22",
"ImageVersion": "2.0.0",
"ReleaseInfo": "{\n\t\"Pre\": {\n \"Status\": \"Released\",\n \"GmtReleasedTime\" : \"2021-12-15T23:24:33.132+08:00\",\n },\n \"Prod\": {\n \"Status\": \"Released\",\n \"GmtReleasedTime\" : \"2021-12-15T23:24:33.132+08:00\",\n }\n}",
"ReleaseOrderId": "3",
"Releaser": "E-xxx.xxx-@xxx.onaliyun.com",
"Topic": "update version"
},
"Name": "test_rec",
"Region": "cn-beijing",
"RepositoryId": "crr-xxx",
"RequestId": "D75C43DC-3D3A-5CC8-9AAC-8C77306C433B",
"SceneId": "1",
"ServiceConfig": "{\"Port\":8080}",
"ServiceResourceUri": "eas-resource-xxx"
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。