stop_job.asciidoc 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --
  2. :api: rollup-stop-job
  3. :request: StopRollupJobRequest
  4. :response: StopRollupJobResponse
  5. --
  6. [id="{upid}-{api}"]
  7. === Stop Rollup Job API
  8. [id="{upid}-{api}-request"]
  9. ==== Request
  10. The Stop Rollup Job API allows you to stop a job by ID.
  11. ["source","java",subs="attributes,callouts,macros"]
  12. --------------------------------------------------
  13. include-tagged::{doc-tests-file}[{api}-request]
  14. --------------------------------------------------
  15. <1> The ID of the job to stop.
  16. <2> Whether the request should wait that the stop operation has completed
  17. before returning (optional, defaults to `false`)
  18. <3> If `wait_for_completion=true`, this parameter controls how long to wait
  19. before giving up and throwing an error (optional, defaults to 30 seconds).
  20. [id="{upid}-{api}-response"]
  21. ==== Response
  22. The returned +{response}+ indicates if the stop command was received.
  23. ["source","java",subs="attributes,callouts,macros"]
  24. --------------------------------------------------
  25. include-tagged::{doc-tests-file}[{api}-response]
  26. --------------------------------------------------
  27. <1> Whether or not the stop job request was received.
  28. include::../execution.asciidoc[]