阿里云控制台/获取应用访问识别码(appkey)信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
aicontent:QueryApplicationAccessId |
get |
*全部资源
|
无 | 无 |
请求语法
GET /api/v1/aliyunConsole/queryApplicationAccessId HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| applicationAccessId |
string |
否 |
应用访问识别码(appkey) |
1234567890 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
SingleResponse |
{ "success": true, "requestId": "592A27EF-26D3-1434-98C1-97AD63337852" } |
|
| requestId |
string |
请求编号 |
xxxx-xxxx-xxxx-xxxxxxxx |
| success |
boolean |
是否成功 |
true |
| errCode |
string |
错误信息编码 |
UNKNOWN_ERROR |
| errMessage |
string |
错误信息 |
未知错误 |
| httpStatusCode |
integer |
http 状态码 |
200 |
| data |
object |
数据对象 |
[] |
| applicationAccessId |
string |
应用识别码、appkey |
1234567890 |
| applicationAccessSecret |
string |
应用秘钥,只有控制台请求才会返回 |
MyAppSecret |
示例
正常返回示例
JSON格式
{
"requestId": "xxxx-xxxx-xxxx-xxxxxxxx",
"success": true,
"errCode": "UNKNOWN_ERROR",
"errMessage": "未知错误",
"httpStatusCode": 200,
"data": {
"applicationAccessId": "1234567890",
"applicationAccessSecret": "MyAppSecret"
}
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 500 | UNKNOWN_ERROR | The request processing has failed due to some unknown error. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?