应用服务型转实例型。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
opensearch:UpdateApp |
none |
*AppGroup
|
无 | 无 |
请求语法
POST /v4/openapi/app-groups/{appGroupIdentity}/actions/to-instance-typed HTTP/1.1
路径参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| appGroupIdentity |
string |
是 |
应用名称 |
my_app |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
当前API无需请求参数
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
响应体 |
||
| requestId |
string |
请求 id |
AC5F78BA-66B9-545B-9CF1-8F542E682E1F |
| result |
object |
返回详情结果 |
{} |
| created |
integer |
创建时间戳 |
1588054131 |
| currentVersion |
string |
当前在线版本 |
100302903 |
| pendingSecondRankAlgoDeploymentId |
integer |
部署中的精排部署 ID |
0 |
| type |
string |
类型 |
- |
| chargingWay |
integer |
计费类型
|
1 |
| lockMode |
string |
锁定状态
|
Unlock |
| status |
string |
状态 |
normal |
| updated |
integer |
更新时间戳 |
1581065904 |
| chargeType |
string |
付费类型
|
POSTPAY |
| id |
string |
应用 ID |
- |
| hasPendingQuotaReviewTask |
integer |
是否配额审批中
|
0 |
| projectId |
string |
abtest project 名称 |
- |
| secondRankAlgoDeploymentId |
integer |
精排部署 ID |
0 |
| commodityCode |
string |
商品 CODE |
opensearch |
| switchedTime |
integer |
在线版本切换时间戳 |
1590486386 |
| expireOn |
string |
过期时间 |
- |
| description |
string |
描述 |
"" |
| firstRankAlgoDeploymentId |
integer |
粗排部署 id |
0 |
| lockedByExpiration |
integer |
实例是否过期自动锁定
|
0 |
| produced |
integer |
是否生产 |
0 |
| name |
string |
名称 |
- |
| processingOrderId |
string |
处理中的 |
- |
| instanceId |
string |
请求的实例 id |
- |
| versions |
array |
版本信息 |
|
|
string |
版本信息 |
- |
|
| quota |
object |
配置信息 |
|
| spec |
string |
配置型号 |
- |
| docSize |
integer |
适用于定制应用 |
1 |
| computeResource |
integer |
配置数量 |
20 |
示例
正常返回示例
JSON格式
{
"requestId": "AC5F78BA-66B9-545B-9CF1-8F542E682E1F",
"result": {
"created": 1588054131,
"currentVersion": "100302903",
"pendingSecondRankAlgoDeploymentId": 0,
"type": "-",
"chargingWay": 1,
"lockMode": "Unlock",
"status": "normal",
"updated": 1581065904,
"chargeType": "POSTPAY",
"id": "-",
"hasPendingQuotaReviewTask": 0,
"projectId": "-",
"secondRankAlgoDeploymentId": 0,
"commodityCode": "opensearch",
"switchedTime": 1590486386,
"expireOn": "-",
"description": "\"\"",
"firstRankAlgoDeploymentId": 0,
"lockedByExpiration": 0,
"produced": 0,
"name": "-",
"processingOrderId": "-",
"instanceId": "-",
"versions": [
"-"
],
"quota": {
"spec": "-",
"docSize": 1,
"computeResource": 20
}
}
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。