Policy >
Monitoring
>
Livetrace
List livetrace status entities
Get a list of all livetrace status entities.
Request:
Method:
GET
URI Path(s):
/policy/api/v1/infra/livetraces/statuses
Request Headers:
n/a
Query Parameters:
LiveTraceStatusRequest
+
LiveTraceStatusRequest
(
schema
)
Name
Description
Type
Notes
enforcement_point_path
Enforcement point path
Policy path of enforcement point on which livetrace session was created.
string
Request Body:
n/a
Successful Response:
Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
LiveTraceListResult
+
LiveTraceListResult
(
schema
)
Name
Description
Type
Notes
_links
References related to this resource
The server will populate this field when returing the resource. Ignored on PUT and POST.
array of
ResourceLink
Readonly
_schema
Schema for this resource
string
Readonly
_self
Link to this resource
SelfResourceLink
Readonly
cursor
Opaque cursor to be used for getting next page of records (supplied by current result page)
string
Readonly
result_count
Count of results found (across all pages), set only on first page
integer
Readonly
results
Livetrace status list
array of
LiveTraceStatus
sort_ascending
If true, results are sorted in ascending order
boolean
Readonly
sort_by
Field by which records are sorted
string
Readonly
Example Response:
{ "results": [ { "source_lport": "/infra/segments/lta_test/ports/default:d9279792-b2d2-4161-97fe-b2b5717b4d16", "operation_state": "FINISHED", "timeout": 10, "actions": { "trace_config": { "action_argument": { "trace_type": "UNI_DIRECTIONAL" }, "sampling_argument": { "match_number": 10, "sampling_type": "FirstNSampling" } }, "pktcap_config": { "action_argument": { "pktcap_type": "UNI_DIRECTIONAL" }, "sampling_argument": { "match_number": 10, "sampling_type": "FirstNSampling" } } }, "request_status": "SUCCESS_DELIVERED", "filter_invalid_info": [ {} ], "id": "/infra/livetraces/x6", "_protection": "NOT_PROTECTED" } ], "result_count": 1, "sort_by": "source_lport", "sort_ascending": true }
Required Permissions:
read
Feature:
policy_livetrace
Additional Errors:
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
412 Precondition Failed
500 Internal Server Error
503 Service Unavailable