Querying App Quantities

Function

This API is used to query the number of apps that have been authorized to access APIs and the number of apps that have not been authorized to access APIs.

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/{project_id}/apigw/instances/{instance_id}/resources/outline/apps

The following table lists the parameters in the URI.

Table 2 Parameter description

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.

Request

N/A

Response

Table 3 Parameter description

Parameter

Type

Description

authed_nums

Integer

Number of apps that have been authorized to access APIs

unauthed_nums

Integer

Number of apps that have not been authorized to access APIs

Example response:

{
	"authed_nums": 1,
	"unauthed_nums": 2
}

Status Codes

Table 4 Status codes

Status Code

Description

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

500

Server Internal Error