FlowControlServiceHTTP_CheckHTTP
FlowControlServiceHTTP_CheckHTTP
- application/json
Request Body required
- control_point string
For an SDK based insertion, a Control Point can represent a particular feature or execution block within a Service. In case of Service Mesh or Middleware insertion, a Control Point can identify ingress vs egress calls or distinct listeners or filter chains.
destination object
request object
source object
- 200
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
denied_response object
- dynamic_metadata object
Optional response metadata that will be emitted as dynamic metadata to be consumed by the next filter.
ok_response object
status object
{
"denied_response": {
"body": "string",
"headers": {},
"status": 0
},
"dynamic_metadata": {},
"ok_response": {
"dynamic_metadata": {},
"headers": {}
},
"status": {
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
}
An unexpected error response.
- application/json
- Schema
- Example (from schema)
Schema
- code int32
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
details object[]
- message string
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
POST /v1/flowcontrol/checkhttp
Request
Request
curl -L -X POST 'https://aperture-agent/v1/flowcontrol/checkhttp' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"control_point": "string",
"destination": {
"address": "string",
"port": 0,
"protocol": "TCP"
},
"request": {
"body": "string",
"headers": {},
"host": "string",
"method": "string",
"path": "string",
"protocol": "string",
"scheme": "string",
"size": "string"
},
"source": {
"address": "string",
"port": 0,
"protocol": "TCP"
}
}'
curl -L -X POST 'https://aperture-agent/v1/flowcontrol/checkhttp' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"control_point": "string",
"destination": {
"address": "string",
"port": 0,
"protocol": "TCP"
},
"request": {
"body": "string",
"headers": {},
"host": "string",
"method": "string",
"path": "string",
"protocol": "string",
"scheme": "string",
"size": "string"
},
"source": {
"address": "string",
"port": 0,
"protocol": "TCP"
}
}'
curl -L -X POST 'https://aperture-agent/v1/flowcontrol/checkhttp' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"control_point": "string",
"destination": {
"address": "string",
"port": 0,
"protocol": "TCP"
},
"request": {
"body": "string",
"headers": {},
"host": "string",
"method": "string",
"path": "string",
"protocol": "string",
"scheme": "string",
"size": "string"
},
"source": {
"address": "string",
"port": 0,
"protocol": "TCP"
}
}'