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

Querying API Quantities

Function

This API is used to query the number of APIs that have been published in the RELEASE environment and the number of APIs that have not been published.

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/resources/outline/apis

Request

N/A

Response

Table 2 Parameter description

Parameter

Type

Description

instance_num

Integer

Total number of APIs

nums_off_release

Integer

Number of APIs that have not been published in the RELEASE environment

nums_on_release

Integer

Number of APIs that have been published in the RELEASE environment

Example response:

{
	"instance_num": 3,"nums_off_release": 1,
	"nums_on_release": 2
}

Status Codes

Table 3 Status codes

Status Code

Description

200

OK

400

Bad Request

401

Unauthorized

403

Forbidden

500

Server Internal Error