获取app默认使用的算法实例。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
opensearch:DescribeFunction |
get |
*FunctionDefaultInstance
|
无 | 无 |
请求语法
GET /v4/openapi/app-groups/{appGroupIdentity}/functions/{functionName}/default-instance HTTP/1.1
路径参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| appGroupIdentity |
string |
是 |
应用名称 |
my_app_group_name |
| functionName |
string |
是 |
功能名称 |
ctr |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
当前API无需请求参数
示例
GET /v4/openapi/app-groups/my-app/functions/pop/default-instances
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
响应体 |
||
| status |
string |
||
| httpCode |
integer |
||
| requestId |
string |
||
| message |
string |
||
| code |
string |
||
| result |
object |
||
| instanceName |
string |
||
| latency |
integer |
正常返回示例
{
"status": "OK",
"requestId": "",
"httpCode": 200,
"code": "",
"message": "",
"latency": 123,
"result": {
"instanceName": "pop_test"
}
}
示例
正常返回示例
JSON格式
{
"status": "",
"httpCode": 0,
"requestId": "",
"message": "",
"code": "",
"result": {
"instanceName": ""
},
"latency": 0
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?