Revision 793a8f7c doc/rapi.rst

b/doc/rapi.rst
651 651

  
652 652
Cancel a not-yet-started job.
653 653

  
654

  
655
``/2/jobs/[job_id]/wait``
656
+++++++++++++++++++++++++
657

  
658
``GET``
659
~~~~~~~
660

  
661
Waits for changes on a job. Takes the following body parameters in a
662
dict:
663

  
664
``fields``
665
  The job fields on which to watch for changes.
666

  
667
``previous_job_info``
668
  Previously received field values or None if not yet available.
669

  
670
``previous_log_serial``
671
  Highest log serial number received so far or None if not yet
672
  available.
673

  
674
Returns None if no changes have been detected and a dict with two keys,
675
``job_info`` and ``log_entries`` otherwise.
676

  
677

  
654 678
``/2/nodes``
655 679
++++++++++++
656 680

  

Also available in: Unified diff