Ana içeriğe geç

List API Proxies for Promotion

Endpoint

GET /apiops/projects/{projectName}/apiProxies/forpromotion

Promotion means carrying an API proxy definition from one project to another — typically from a development project to a test or production project on the same installation. This endpoint returns the source side of that operation: the proxies of the given project, each with enough detail to be sent back through Save API Proxy for Promotion.

Unlike List API Proxies, which returns a summary row per proxy, this endpoint includes the client route and routing configuration.

Authentication

Requires a Personal API Access Token.

Authorization: Bearer YOUR_TOKEN

Request

Headers

HeaderValueRequired
AuthorizationBearer {token}Yes

Path Parameters

ParameterTypeRequiredDescription
projectNamestringYesSource project name

Query Parameters

None.

Request Body

This endpoint does not require a request body.

Permissions

API_MANAGEMENT read access on the source project.

Response

Success (200 OK)

{
"status": "SUCCESS",
"resultCount": 2,
"resultList": [
{
"id": "68f3a1c95d4b2e7a91c04e11",
"name": "petstore-api",
"description": "Petstore reverse proxy",
"type": "REVERSE_PROXY",
"protocolTransformation": false,
"relativePath": "/petstore",
"clientRoute": {
"relativePathList": ["/petstore"]
},
"routing": {
"apiRoutingList": [
{
"url": "https://petstore.example.com/v2"
}
]
},
"categoryList": ["public"],
"apiProxyDeployList": [
{
"environmentSettingsId": "66a1f0d25d4b2e7a91c04a02",
"environmentName": "prod",
"accessUrl": "https://gw.example.com/apigateway/petstore",
"deploy": true,
"redeployRequired": false
}
]
}
]
}

Response Fields

FieldTypeDescription
idstringAPI Proxy identifier. Send it back in the promotion request only when updating an existing proxy in the target project
namestringAPI Proxy name
descriptionstringAPI Proxy description
typestringAPI type (REVERSE_PROXY, AI, MCP, A2A, …)
protocolTransformationbooleanWhether protocol transformation is enabled
relativePathstringGateway relative path
clientRouteobjectClient-side routing definition
routingobjectBackend routing configuration
categoryListarrayCategories assigned to the proxy
apiProxyDeployListarrayDeployment records of the source project — see the note below
not

apiProxyDeployList describes the deployment state in the source project. It is informational here: the promotion endpoint never carries these flags to the target project. See Save API Proxy for Promotion for how the target's own deployment state is handled.

Error Responses

CodeMeaning
400Validation error, or the license API count limit has been exceeded
401Token is missing, invalid, or expired
500Server error

Example

curl -X GET "https://apinizer.example.com/apiops/projects/dev-project/apiProxies/forpromotion" \
-H "Authorization: Bearer YOUR_TOKEN"