Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 1 KB

clause_14_dismiss.adoc

File metadata and controls

35 lines (20 loc) · 1 KB

Requirements Class "Dismiss"

The Dismiss requirement class specifies how to dismiss a job. Dismiss can be seen as cancelling a running job or removing artifacts of a finished job.

Response

Example 1. A dismissed job encoded as JSON.
link:../examples/json/StatusInfo-dismissed.json[role=include]

Error situations

See [http_status_codes] for general guidance.

If the process with the specified identifier does not exist on the server, the status code of the response SHALL be 404 (see /req/core/process-exception/no-such-process).

If the job with the specified identifier does not exist, the status code of the response SHALL be 404 (see /req/core/job-results-exception/no-such-job).