Querying App Details
Function
This API is used to query the details of a specified app.
URI
The following table lists the HTTP/HTTPS request method and URI of the API.
|
Request Method |
URI |
|---|---|
|
GET |
/v1.0/apigw/apps/{id} |
The following table lists the parameter in the URI.
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
id |
Yes |
String |
App ID |
Request
N/A
Response
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
String |
App ID |
|
name |
String |
App name |
|
status |
Integer |
App status |
|
app_key |
String |
AppKey |
|
app_secret |
String |
AppSecret |
|
creator |
String |
App creator, which can be:
|
|
register_time |
Timestamp |
Time when the app is registered |
|
remark |
String |
Description of the app |
|
update_time |
Timestamp |
Time when the app was last updated |
|
app_type |
String |
App type. The default value is apig. |
Example response:
{
"id": "14b399ac-967f-4115-bb62-c0346b4537e9",
"name": "app_001",
"status": 1,
"app_key": "d49b1cbf-cc81-4a5f-b2a0-61b568e376eb",
"app_secret": "******",
"creator": "USER",
"remark": "First app",
"register_time": "2017-12-28T12:26:54Z",
"update_time": "2017-12-28T12:28:07.2966182Z",
"app_type": "apig"
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
OK |
|
401 |
Unauthorized |
|
403 |
Forbidden |
|
404 |
Not Found |
|
500 |
Server Internal Error |
Last Article: Verifying an App
Next Article: Querying an App List
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.