Web API: Operations/terminate: Difference between revisions

From QPR ProcessAnalyzer Wiki
Jump to navigation Jump to search
(Created page with "The '''operations/terminate''' terminates selected operations (i.e. end tasks). This only send the termination signal to the operations, and depending on the operation, they m...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
The '''operations/terminate''' terminates selected operations (i.e. end tasks). This only send the termination signal to the operations, and depending on the operation, they might not immediately end.
The '''operations/terminate''' initiates termination for selected operations that are running in the server (i.e. end tasks). This only send the termination signal to the operations, and depending on the operation, they might not end immediately.


HTTP request header '''Authorization''' with value '''Bearer <access token>''' needs to be in place to identify the session.  
HTTP request header '''Authorization''' with value '''Bearer <access token>''' needs to be in place to identify the session.  


<pre>
<pre>
Url: PUT /operations/terminate
Url: PUT qprpa/api/operations/terminate
</pre>
</pre>


The body contains an array of operation id's (numbers) to be terminated.
The request body contains an array of operation id's (numbers) to be terminated.


Returns HTTP code 204 (No content).
Returns HTTP code 204 (No content).


[[Category: QPR ProcessAnalyzer]]
[[Category: QPR ProcessAnalyzer]]

Latest revision as of 23:35, 17 February 2022

The operations/terminate initiates termination for selected operations that are running in the server (i.e. end tasks). This only send the termination signal to the operations, and depending on the operation, they might not end immediately.

HTTP request header Authorization with value Bearer <access token> needs to be in place to identify the session.

Url: PUT qprpa/api/operations/terminate

The request body contains an array of operation id's (numbers) to be terminated.

Returns HTTP code 204 (No content).