Trigger Consent Request Cleanup
Changed onTriggers the consent request cleanup that otherwise runs as a scheduled daily job, and waits for it to finish. Only accessible to administrators. The run is guarded by the same cluster-wide advisory lock as the scheduled job, so a conflict is reported if a cleanup is already running. By default, the same two-day window as the scheduled job is used; an explicit window can be passed to catch up on days that were missed, e.g. after an outage.
Request
- The document declares no server URL.
- AuthOpenID Connect (http://localhost:6999/realms/agate/.well-known/openid-configuration, scopes: agridata.ch.Agridata_Admin)
Query parameters
First day of the window to clean up (inclusive). Defaults to two days ago.
Last day of the window to clean up (inclusive). Defaults to yesterday.
Response
OK
Example response
{
"fromInclusive": "2022-03-10",
"toInclusive": "2022-03-10",
"terminatedConsentRequestCount": 8,
"durationMs": 1234
}Changes
- warning
added the new
EXPORT_CAPACITY_EXHAUSTEDenum value to theresponse property for the response status - warning
added the new
EXPORT_CAPACITY_EXHAUSTEDenum value to theresponse property for the response status - warning
added the new
EXPORT_LIMIT_EXCEEDEDenum value to theresponse property for the response status - warning
added the new
EXPORT_LIMIT_EXCEEDEDenum value to theresponse property for the response status
- warning
- warning
added the new
UID_CLAIM_MISSINGenum value to theresponse property for the response status - warning
added the new
UID_CLAIM_MISSINGenum value to theresponse property for the response status
- warning