Updated on 2022-09-01 GMT+08:00

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.

Table 1 HTTP/HTTPS request method and URI

Request Method

URI

GET

/v1.0/apigw/apps/validation/{id}

The following table lists the parameter in the URI.

Table 2 Parameter description

Parameter

Mandatory

Type

Description

id

Yes

String

App ID

Request

N/A

Response

Table 3 Parameter description

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

Table 4 Status codes

Status Code

Description

200

OK

401

Unauthorized

404

Not Found

500

Server Internal Error