Data Requests
Trigger Data Request Termination
Changed onTriggers the termination of data requests whose termination period has expired, which otherwise runs as a scheduled nightly 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 run is already in progress.
post/api/agreement/v1/data-requests/termination
Request
- The document declares no server URL.
- AuthOpenID Connect (http://localhost:6999/realms/agate/.well-known/openid-configuration, scopes: agridata.ch.Agridata_Admin)
Response
OK
Example response
{
"terminatedCount": 3,
"durationMs": 1234
}Changes
- info
endpoint added
- info