query arguments * page: selects the page * results_per_page: sets the maximum number of entries displayed per page, default: 5000
example:
{
"disk_space":
{
"total":17056493568,
"used":15184343040
},
"cleanup_in_progress": false
}example
{
"page":1,
"page_count":1,
"total_count":4,
"data":
[
{
"key":"d83e3d630351e1ec752711e92fedcaf977e7dc1b1aa9698f71a4cb41675049ce",
"path":"/data/captures/1.pcap",
"file_size":1508,
"start_ts":1102274184312453000,
"pending_deletion": false
},
{
"key":"d83e3d630351e1ec752711e92fedcaf977e7dc1b1aa9698f71a4cb41675049cf",
"path":"/data/captures/2.pcap",
"file_size":3202,
"start_ts":1102274184317113000,
"pending_deletion": false
},
{
"key":"d83e3d630351e1ec752711e92fedcaf977e7dc1b1aa9698f71a4cb41675049cg",
"path":"/data/captures/3.pcap",
"file_size":4442,
"start_ts":1102274184227453000,
"pending_deletion": false
},
{
"key":null,
"path":"/data/captures/3.pcap",
"file_size":3339,
"start_ts":null,
"pending_deletion": false
}
]
}if the frontend is unable to send headers, token can be used instead (*):
GET /storage/data/captures/joined?token=fcfa8093cf491577d84fa8a37572cc3fstart_ts: epoch (nanoseconds): 64-bit unsignedend_ts: epoch (nanoseconds): 64-bit unsignedfrom: grafana timestamp formatto: grafana timestamp formatvar-esinterface: interface filters; there can be more than one field with this name (TODO: not implemented)var-Filters: filters to be applied onto the packets of the given interval; there can be more than one field with this namevar-BPF: BPF filter to be applied; zero or one fields of this name can be in the queryvar-BPF_op: operation, under which var-Filters and var-BPF filters are to be concatenated; two possible values for this field are OR and AND; by default, AND is usedtoken: string (*)html_errors: bool ("true" or "false"): returns errors as HTMLpaths in header or start_ts/end_ts/from/to in arguments must be specified, but not bothpaths is not present, either start_ts or end_ts or from/to must be specified, but not bothexample:
{"token": "fcfa8093cf491577d84fa8a37572cc3f"}