{ "opencollection": "1.0.0", "info": { "name": "Kong Enterprise Admin ACLs Targets API", "version": "3.14.0" }, "request": { "auth": { "type": "apikey", "key": "Kong-Admin-Token", "value": "{{Kong-Admin-Token}}", "placement": "header" } }, "items": [ { "info": { "name": "Targets", "type": "folder" }, "items": [ { "info": { "name": "Create a new Target associated with an Upstream", "type": "http" }, "http": { "method": "POST", "url": "{protocol}://{hostname}:{port}{path}/:workspace/upstreams/:UpstreamIdForTarget/targets", "params": [ { "name": "UpstreamIdForTarget", "value": "5a078780-5d4c-4aae-984a-bdc6f52113d8", "type": "path", "description": "ID or target of the Target to lookup" }, { "name": "workspace", "value": "", "type": "path", "description": "The name of the workspace" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new Target associated with an Upstream" }, { "info": { "name": "List all targets for a control plane", "type": "http" }, "http": { "method": "GET", "url": "{protocol}://{hostname}:{port}{path}/v2/control-planes/:controlPlaneId/core-entities/targets", "params": [ { "name": "controlPlaneId", "value": "", "type": "path", "description": "The UUID of your control plane. This variable is available in the Konnect manager." }, { "name": "size", "value": "", "type": "query", "description": "Number of resources to be returned." }, { "name": "offset", "value": "", "type": "query", "description": "Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources" }, { "name": "tags", "value": "tag1,tag2", "type": "query", "description": "A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR." } ] }, "docs": "Returns a collection of all targets for a control plane." }, { "info": { "name": "List all Targets associated with an Upstream", "type": "http" }, "http": { "method": "GET", "url": "{protocol}://{hostname}:{port}{path}/v2/control-planes/:controlPlaneId/core-entities/upstreams/:UpstreamIdForTarget/targets", "params": [ { "name": "controlPlaneId", "value": "", "type": "path", "description": "The UUID of your control plane. This variable is available in the Konnect manager." }, { "name": "UpstreamIdForTarget", "value": "5a078780-5d4c-4aae-984a-bdc6f52113d8", "type": "path", "description": "ID or target of the Target to lookup" }, { "name": "size", "value": "", "type": "query", "description": "Number of resources to be returned." }, { "name": "offset", "value": "", "type": "query", "description": "Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources" }, { "name": "tags", "value": "tag1,tag2", "type": "query", "description": "A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR." } ] }, "docs": "List all Targets associated with an Upstream" }, { "info": { "name": "Create a new Target associated with an Upstream", "type": "http" }, "http": { "method": "POST", "url": "{protocol}://{hostname}:{port}{path}/v2/control-planes/:controlPlaneId/core-entities/upstreams/:UpstreamIdForTarget/targets", "params": [ { "name": "controlPlaneId", "value": "", "type": "path", "description": "The UUID of your control plane. This variable is available in the Konnect manager." }, { "name": "UpstreamIdForTarget", "value": "5a078780-5d4c-4aae-984a-bdc6f52113d8", "type": "path", "description": "ID or target of the Target to lookup" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new Target associated with an Upstream" }, { "info": { "name": "Get a Target associated with an Upstream", "type": "http" }, "http": { "method": "GET", "url": "{protocol}://{hostname}:{port}{path}/v2/control-planes/:controlPlaneId/core-entities/upstreams/:UpstreamIdForTarget/targets/:TargetId", "params": [ { "name": "controlPlaneId", "value": "", "type": "path", "description": "The UUID of your control plane. This variable is available in the Konnect manager." }, { "name": "UpstreamIdForTarget", "value": "5a078780-5d4c-4aae-984a-bdc6f52113d8", "type": "path", "description": "ID or target of the Target to lookup" }, { "name": "TargetId", "value": "5a078780-5d4c-4aae-984a-bdc6f52113d8", "type": "path", "description": "ID of the Target to lookup" } ] }, "docs": "Get a Target associated with an Upstream using ID or target." }, { "info": { "name": "Upsert a Target associated with an Upstream", "type": "http" }, "http": { "method": "PUT", "url": "{protocol}://{hostname}:{port}{path}/v2/control-planes/:controlPlaneId/core-entities/upstreams/:UpstreamIdForTarget/targets/:TargetId", "params": [ { "name": "controlPlaneId", "value": "", "type": "path", "description": "The UUID of your control plane. This variable is available in the Konnect manager." }, { "name": "UpstreamIdForTarget", "value": "5a078780-5d4c-4aae-984a-bdc6f52113d8", "type": "path", "description": "ID or target of the Target to lookup" }, { "name": "TargetId", "value": "5a078780-5d4c-4aae-984a-bdc6f52113d8", "type": "path", "description": "ID of the Target to lookup" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create or Update a Target associated with an Upstream using ID or target." }, { "info": { "name": "Delete a a Target associated with an Upstream", "type": "http" }, "http": { "method": "DELETE", "url": "{protocol}://{hostname}:{port}{path}/v2/control-planes/:controlPlaneId/core-entities/upstreams/:UpstreamIdForTarget/targets/:TargetId", "params": [ { "name": "controlPlaneId", "value": "", "type": "path", "description": "The UUID of your control plane. This variable is available in the Konnect manager." }, { "name": "UpstreamIdForTarget", "value": "5a078780-5d4c-4aae-984a-bdc6f52113d8", "type": "path", "description": "ID or target of the Target to lookup" }, { "name": "TargetId", "value": "5a078780-5d4c-4aae-984a-bdc6f52113d8", "type": "path", "description": "ID of the Target to lookup" } ] }, "docs": "Delete a a Target associated with an Upstream using ID or target." } ] } ], "bundled": true }