Web API: Cancel

From QPR ProcessAnalyzer Wiki
Revision as of 22:26, 15 May 2020 by Ollvihe (talk | contribs)
Jump to navigation Jump to search

The Cancel operation is used to cancels currently running queries in the server. HTTP method is POST. Does not return any data.

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

The payload is a JSON array of query identifiers to be cancelled.

Example:

url: http://SERVER/qprpa/api/cancel
Body:
[
  "query1", "query2"
]