Get all request-logging rules
GET/api/v1/services/:service_id/request-log-rules/
Returns the list of request-logging rules of a request-logging.
Request
Path Parameters
service_id stringrequired
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
Array [
origin-request
- Origin Request]
destination uuidrequired
destination_name stringrequired
id uuidrequired
log_body boolean
methods stringrequired
Possible values: <= 100 characters
name stringrequired
Possible values: <= 255 characters
, Value must match regular expression ^[a-zA-Z0-9_\-\s]*$
path_pattern stringrequired
Possible values: <= 1024 characters
sampling_rate integerrequired
Possible values: <= 100
service uuidrequired
stage StageEnum (string)
Possible values: [origin-request
]
[
{
"destination": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"destination_name": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"log_body": true,
"methods": "string",
"name": "string",
"path_pattern": "string",
"sampling_rate": 0,
"service": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"stage": "origin-request"
}
]
Loading...