Queries the algorithm instance that an application uses by default.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
GET /v4/openapi/app-groups/{appGroupIdentity}/functions/{functionName}/default-instance
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
appGroupIdentity | string | Yes | The name of the application. | my_app_group_name |
functionName | string | Yes | The name of the feature. | ctr |
Response parameters
Examples
Sample success responses
JSON
format
{
"Status": "OK",
"HttpCode": 200,
"RequestId": "062BA91F-A568-5779-8A5B-9E62C9BB3DC1",
"Message": "default instance not set.",
"Code": "DefaultInstance.NotExist",
"Result": {
"InstanceName": "model1"
},
"Latency": 123,
"InstanceName": "sh-bp1oi31w1jn4ctdyv",
"FunctionName": "cdn_waf"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history