Ana içeriğe geç

API Report

Endpoint

GET /apiops/reports/api-proxies

Authentication

Requires a Personal API Access Token. Caller must have system admin (sysAdmin) or system analyzer (sysAnalyzer).

Authorization: Bearer YOUR_TOKEN

Request

Headers

HeaderValueRequired
AuthorizationBearer {token}Yes

Path Parameters

None.

Query Parameters

ParameterTypeRequiredDescription
includeEndpointsbooleanNoWhen true, includes endpointList per API Proxy. When omitted or false, endpoint details are excluded

Notes

  • includeEndpoints=true adds method-level details (endpointList)
  • Omitting the parameter or includeEndpoints=false returns a lighter response
  • Includes both standalone API Proxies and API Proxy Groups (apiGroup: true)
  • Response is not paginated

Response

Success Response (200 OK)

{
"status": "SUCCESS",
"resultList": [
{
"apiName": "MyAPI",
"description": "My API description",
"apiType": "REST",
"projectName": "MyProject",
"apiGroup": false,
"deployed": true,
"apiUrlList": ["https://api.example.com/my-api"],
"authenticationExist": true,
"authenticationTypeList": ["API_AUTHENTICATION"],
"rateLimitExist": false,
"endpointList": [
{
"endpoint": "GET /users",
"description": "List users",
"active": true,
"httpMethod": "GET",
"backendResourceUrl": "/users",
"backendHttpMethod": "GET"
}
]
}
],
"resultCount": 1
}

Response Fields

FieldTypeDescription
statusstring"SUCCESS" when the request completes successfully
resultListarray[object]List of API Proxy / API Proxy Group report objects
resultCountintegerNumber of items in resultList

Report Object (resultList item)

FieldTypeDescription
apiNamestringAPI Proxy or API Proxy Group name
descriptionstringDescription
apiTypestringAPI type (REST, SOAP, …)
projectNamestringOwning project name
apiGroupbooleantrue for API Proxy Group entries
apiIdListOfApiGrouparray[string]Member API Proxy IDs (when apiGroup=true)
deployedbooleanWhether deployed to at least one environment
environmentListarray[object]Per-environment deployment info (environmentName, accessUrl, deployed, redeployRequired)
apiUrlListarray[string]Gateway access URLs
apiSpecUrlListarray[string]Spec URLs (?openapi / ?wsdl) when spec is not hidden
specFileHiddenbooleanWhether the spec file is hidden
clientRouteobjectClient route configuration
protocolTransformationbooleanProtocol transformation enabled
apiCategoriesarray[string]Category labels
routingAddressListarray[string]Upstream routing addresses
routingConnectionTimeoutintegerRouting connect timeout (ms)
routingReadTimeoutintegerRouting read timeout (ms)
backendSpecUrlstringImported backend spec URL
backendSpecFileNamestringImported backend spec file name
authenticationExistbooleanRequest authentication policy present
authenticationTypeListarray[string]Authentication policy type names
rateLimitExistbooleanRate limit policy present
endpointListarray[object]Method list (only when includeEndpoints=true)

Endpoint Object (endpointList item)

FieldTypeDescription
endpointstringMethod identifier / path label
descriptionstringMethod description
activebooleanWhether the method is active
httpMethodstringClient HTTP method
backendResourceUrlstringBackend resource path
backendHttpMethodstringBackend HTTP method

Notes

  • endpointList is populated only when includeEndpoints=true
  • Empty resultList ([]) is returned when no API Proxies exist
  • resultCount may be 0 for empty results

Error Response (401 Unauthorized)

Missing/invalid token or caller without sysAdmin / sysAnalyzer:

{
"status": "FAILURE",
"resultMessage": "Unauthorized API Access!"
}

cURL Example

Example 1: Get API Report without Endpoints

curl -X GET \
"https://demo.apinizer.com/apiops/reports/api-proxies" \
-H "Authorization: Bearer YOUR_TOKEN"

Example 2: Get API Report with Endpoints

curl -X GET \
"https://demo.apinizer.com/apiops/reports/api-proxies?includeEndpoints=true" \
-H "Authorization: Bearer YOUR_TOKEN"

Permissions

User must have system admin (sysAdmin) or system analyzer (sysAnalyzer). See Reports API.

Notes and Warnings

  • Admin/Analyzer only:

    • Regular project users receive HTTP 401 with Unauthorized API Access!
  • Performance:

    • includeEndpoints=true increases payload size and processing time
  • No pagination:

    • The endpoint returns the full inventory in a single response