查询服务模板存在的规范问题。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
computenestsupplier:GetServiceTemplateCriterionIssues |
get |
*Service
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| RegionId |
string |
否 |
地域 ID。 |
cn-hangzhou |
| ServiceId |
string |
是 |
服务 ID。 |
service-c2d118c9193e49xxxxxx |
| ServiceVersion |
string |
否 |
服务版本。 您可以通过调用ListServices - 查询服务信息获取服务版本。 |
1 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| TemplateCriterionIssueList |
array<object> |
模板规范问题列表。 |
|
|
object |
模板规范问题 |
||
| TotalCriterionIssueCount |
integer |
服务模板中的规范问题总数量。 |
3 |
| TemplateUrl |
integer |
模板的 URL 地址。 |
http://service-private-info/xxx/ros/template/tpl-xxxx.json |
| TemplateName |
string |
模板名称。 |
模板1 |
| TotalMandatoryCriterionIssueCount |
integer |
服务模板中存在的 Mandatory 规范数量。 |
1 |
| CriterionIssues |
array<object> |
规范问题列表。 |
|
|
object |
规范问题详情。 |
||
| Position |
string |
存在问题的位置。 |
$.Parameters.PayType |
| Level |
string |
问题级别,可能的值:
|
Mandatory |
| Type |
string |
规范问题类型。 |
ParameterNeedAssociationProperty |
| ExtendInfo |
object |
规范问题的补充信息。 |
|
| Property |
string |
资源属性。 |
null |
| PropertyValue |
string |
资源属性值。 |
null |
| AssociationProperty |
string |
Ros 参数的 AssociationProperty。 |
ChargeType |
| TotalCriterionIssueCount |
integer |
服务模板中一共存在的规范数量。 |
3 |
| TotalMandatoryCriterionIssueCount |
integer |
服务模板中存在的 Mandatory 规范数量。 |
1 |
| RiskyTemplateCount |
integer |
服务中存在规范问题的模板数量。 |
1 |
| RequestId |
string |
请求 ID。 |
A361BA9E-xxxx-xxxx-xxxx-C26E5180456E |
示例
正常返回示例
JSON格式
{
"TemplateCriterionIssueList": [
{
"TotalCriterionIssueCount": 3,
"TemplateUrl": 0,
"TemplateName": "模板1",
"TotalMandatoryCriterionIssueCount": 1,
"CriterionIssues": [
{
"Position": "$.Parameters.PayType",
"Level": "Mandatory",
"Type": "ParameterNeedAssociationProperty",
"ExtendInfo": {
"Property": "null ",
"PropertyValue": " null",
"AssociationProperty": "ChargeType"
}
}
]
}
],
"TotalCriterionIssueCount": 3,
"TotalMandatoryCriterionIssueCount": 1,
"RiskyTemplateCount": 1,
"RequestId": "A361BA9E-xxxx-xxxx-xxxx-C26E5180456E"
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。