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.
|
Request Method |
URI |
|---|---|
|
GET |
/v1/{project_id}/apigw/instances/{instance_id}/resources/outline/apis |
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. |
Request
N/A
Response
|
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
|
Status Code |
Description |
|---|---|
|
200 |
OK |
|
400 |
Bad Request |
|
401 |
Unauthorized |
|
403 |
Forbidden |
|
500 |
Server Internal Error |
Last Article: Querying API Group Quantities
Next Article: Querying App Quantities
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.