Verifying an App
Function
This API is used to check whether an app exists. This API can be used by people except the app owner to verify an app. Only the basic information, such as ID, name, and remark, of the app is displayed.
URI
The following table lists the HTTP/HTTPS request method and URI of the API.
|
Request Method |
URI |
|---|---|
|
GET |
/v1/{project_id}/apigw/instances/{instance_id}/apps/validation/{id} |
The following table lists the parameters in the URI.
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Project ID, which can be obtained by the administrator on the My Credentials page. |
|
instance_id |
Yes |
String |
Instance ID, which can be obtained from the dedicated gateway information on the API Gateway console. |
|
id |
Yes |
String |
App ID |
Request
N/A
Response
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
String |
App ID |
|
name |
String |
App name |
|
remark |
String |
Description of the app |
Example response:
{
"id": "14b399ac-967f-4115-bb62-c0346b4537e9",
"name": "app_001",
"remark": "First app"
}
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
OK |
|
401 |
Unauthorized |
|
404 |
Not Found |
|
500 |
Server Internal Error |
Last Article: Deleting an App
Next Article: Querying App Details
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.