Revision 414ebaf1 doc/rapi.rst

b/doc/rapi.rst
497 497
   :exclude: group_name, force, dry_run
498 498

  
499 499

  
500
``/2/groups/[group_name]/tags``
501
+++++++++++++++++++++++++++++++
502

  
503
Manages per-nodegroup tags.
504

  
505
Supports the following commands: ``GET``, ``PUT``, ``DELETE``.
506

  
507
``GET``
508
~~~~~~~
509

  
510
Returns a list of tags.
511

  
512
Example::
513

  
514
    ["tag1", "tag2", "tag3"]
515

  
516
``PUT``
517
~~~~~~~
518

  
519
Add a set of tags.
520

  
521
The request as a list of strings should be ``PUT`` to this URI. The
522
result will be a job id.
523

  
524
It supports the ``dry-run`` argument.
525

  
526

  
527
``DELETE``
528
~~~~~~~~~~
529

  
530
Delete a tag.
531

  
532
In order to delete a set of tags, the DELETE request should be addressed
533
to URI like::
534

  
535
    /tags?tag=[tag]&tag=[tag]
536

  
537
It supports the ``dry-run`` argument.
538

  
539

  
500 540
``/2/instances``
501 541
++++++++++++++++
502 542

  

Also available in: Unified diff