{ "opencollection": "1.0.0", "info": { "name": "Kong Enterprise Admin ACLs Event Gateway Listener Policies API", "version": "3.14.0" }, "request": { "auth": { "type": "apikey", "key": "Kong-Admin-Token", "value": "{{Kong-Admin-Token}}", "placement": "header" } }, "items": [ { "info": { "name": "Event Gateway Listener Policies", "type": "folder" }, "items": [ { "info": { "name": "List Policies for Listener", "type": "http" }, "http": { "method": "GET", "url": "{protocol}://{hostname}:{port}{path}/v1/event-gateways/:gatewayId/listeners/:eventGatewayListenerId/policies", "params": [ { "name": "gatewayId", "value": "", "type": "path", "description": "The UUID of your Gateway." }, { "name": "eventGatewayListenerId", "value": "", "type": "path", "description": "The ID of the Event Gateway Listener." }, { "name": "filter", "value": "", "type": "query", "description": "Filter documents returned in the response." } ] }, "docs": "Returns a list of policies associated with the specified Event Gateway listener." }, { "info": { "name": "Create Policy for Listener", "type": "http" }, "http": { "method": "POST", "url": "{protocol}://{hostname}:{port}{path}/v1/event-gateways/:gatewayId/listeners/:eventGatewayListenerId/policies", "params": [ { "name": "gatewayId", "value": "", "type": "path", "description": "The UUID of your Gateway." }, { "name": "eventGatewayListenerId", "value": "", "type": "path", "description": "The ID of the Event Gateway Listener." }, { "name": "before", "value": "", "type": "query", "description": "Determines the id of the existing policy the new policy should be inserted before. Either 'before' or 'after' can be provided, when both are omitted the new policy is added to the end of the chain. When both are provided, the request fails with a 400 Bad Request.\n" }, { "name": "after", "value": "", "type": "query", "description": "Determines the id of the existing policy the new policy should be inserted after. Either 'before' or 'after' can be provided, when both are omitted the new policy is added to the end of the chain. When both are provided, the request fails with a 400 Bad Request.\n" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new policy associated with the specified Event Gateway listener." }, { "info": { "name": "Get a Policy for Listener", "type": "http" }, "http": { "method": "GET", "url": "{protocol}://{hostname}:{port}{path}/v1/event-gateways/:gatewayId/listeners/:eventGatewayListenerId/policies/:policyId", "params": [ { "name": "gatewayId", "value": "", "type": "path", "description": "The UUID of your Gateway." }, { "name": "eventGatewayListenerId", "value": "", "type": "path", "description": "The ID of the Event Gateway Listener." }, { "name": "policyId", "value": "", "type": "path", "description": "The UUID of the policy." } ] }, "docs": "Returns information about a specific policy associated with the Event Gateway listener." }, { "info": { "name": "Update Policy for Listener", "type": "http" }, "http": { "method": "PUT", "url": "{protocol}://{hostname}:{port}{path}/v1/event-gateways/:gatewayId/listeners/:eventGatewayListenerId/policies/:policyId", "params": [ { "name": "gatewayId", "value": "", "type": "path", "description": "The UUID of your Gateway." }, { "name": "eventGatewayListenerId", "value": "", "type": "path", "description": "The ID of the Event Gateway Listener." }, { "name": "policyId", "value": "", "type": "path", "description": "The UUID of the policy." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates an existing policy associated with the specified Event Gateway listener." }, { "info": { "name": "Partially Update Policy for Listener", "type": "http" }, "http": { "method": "PATCH", "url": "{protocol}://{hostname}:{port}{path}/v1/event-gateways/:gatewayId/listeners/:eventGatewayListenerId/policies/:policyId", "params": [ { "name": "gatewayId", "value": "", "type": "path", "description": "The UUID of your Gateway." }, { "name": "eventGatewayListenerId", "value": "", "type": "path", "description": "The ID of the Event Gateway Listener." }, { "name": "policyId", "value": "", "type": "path", "description": "The UUID of the policy." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Partially updates an existing policy associated with the specified Event Gateway listener." }, { "info": { "name": "Delete Policy for Listener", "type": "http" }, "http": { "method": "DELETE", "url": "{protocol}://{hostname}:{port}{path}/v1/event-gateways/:gatewayId/listeners/:eventGatewayListenerId/policies/:policyId", "params": [ { "name": "gatewayId", "value": "", "type": "path", "description": "The UUID of your Gateway." }, { "name": "eventGatewayListenerId", "value": "", "type": "path", "description": "The ID of the Event Gateway Listener." }, { "name": "policyId", "value": "", "type": "path", "description": "The UUID of the policy." } ] }, "docs": "Deletes a specific policy associated with the Event Gateway listener." }, { "info": { "name": "Move Policy", "type": "http" }, "http": { "method": "POST", "url": "{protocol}://{hostname}:{port}{path}/v1/event-gateways/:gatewayId/listeners/:eventGatewayListenerId/policies/:policyId/move", "params": [ { "name": "gatewayId", "value": "", "type": "path", "description": "The UUID of your Gateway." }, { "name": "eventGatewayListenerId", "value": "", "type": "path", "description": "The ID of the Event Gateway Listener." }, { "name": "policyId", "value": "", "type": "path", "description": "The UUID of the policy." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Moves the position of a specific policy relative to the chain associated with the Event Gateway listener.\n" }, { "info": { "name": "Get Policy Chain for Listener", "type": "http" }, "http": { "method": "GET", "url": "{protocol}://{hostname}:{port}{path}/v1/event-gateways/:gatewayId/listeners/:eventGatewayListenerId/policy-chain", "params": [ { "name": "gatewayId", "value": "", "type": "path", "description": "The UUID of your Gateway." }, { "name": "eventGatewayListenerId", "value": "", "type": "path", "description": "The ID of the Event Gateway Listener." } ] }, "docs": "Get the policy chain for a listener composed of all the ids of the policies in order of execution.\n" }, { "info": { "name": "Update Policy Chain for Listener", "type": "http" }, "http": { "method": "PUT", "url": "{protocol}://{hostname}:{port}{path}/v1/event-gateways/:gatewayId/listeners/:eventGatewayListenerId/policy-chain", "params": [ { "name": "gatewayId", "value": "", "type": "path", "description": "The UUID of your Gateway." }, { "name": "eventGatewayListenerId", "value": "", "type": "path", "description": "The ID of the Event Gateway Listener." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update the policy chain for a listener by providing an ordered list of policy ids." } ] } ], "bundled": true }