Skip to main content
admin

Reduce Diagnostics All Companies

Returns a response object of function parameters used, calculated variables and a list of DiagnosticsIds to be deleted.

DELETE
/api/admin/reduce_diagnostics

Parameters: forward_shift_timespan (timedelta): Maximum timespan to reduce, starting from the reduced_upto value. reduce_timespan (timedelta): Maximum timespan between two changes by the same author, to be considered one continuous session. min_distance_till_reduce (timedelta): How far in the past changes need to lie to be reduced.

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

forward_shift_timespanstringqueryrequired
reduce_timespanstringqueryrequired
min_distance_till_reducestringqueryrequired
test_runbooleanquerydefault:true

Response

application/json

Successful Response

calculated_forward_shift_timespanstringrequired
diagnostics_to_deletestring[]required
min_distance_till_reducestringrequired
new_reduced_uptostringrequired
reduce_timespanstringrequired