@@ -469,6 +469,11 @@ <h3 id="tags">Tags</h3>
469
469
to hosts by name (< code > yourhost.example.com</ code > ) or id
470
470
(< code > 12345</ code > ).
471
471
</ p >
472
+ < p >
473
+ The component of your infrastructure responsible for a tag is identified by
474
+ a < code > source</ code > . Valid sources are: nagios, hudson, jenkins, users,
475
+ feed, chef, puppet, git, bitbucket, fabric, capistrano.
476
+ </ p >
472
477
</ div >
473
478
</ div>
474
479
@@ -479,7 +484,9 @@ <h4 id="tags-get">Get Tags</h4>
479
484
Return a mapping of tags to hosts for your whole infrastructure.
480
485
</ p >
481
486
< h5 > Arguments</ h5 >
482
- < %= no_args %>
487
+ < ul class ="arguments ">
488
+ < %= argument("source", "Only show tags from a particular source. Otherwise shows all tags.", :default => "None") %>
489
+ </ ul >
483
490
</ div >
484
491
< %= right_side_div %>
485
492
< h5 > Signature</ h5 >
@@ -502,7 +509,10 @@ <h4 id="tags-get-host">Get Host Tags</h4>
502
509
Return the list of tags that apply to a given host.
503
510
</ p >
504
511
< h5 > Arguments</ h5 >
505
- < %= no_args %>
512
+ < ul class ="arguments ">
513
+ < %= argument("source", "Only show tags from a particular source. Otherwise shows all tags.", :default => "None") %>
514
+ < %= argument("by_source", "Return tags grouped by source.", :default => "False") %>
515
+ </ ul >
506
516
</ div >
507
517
< %= right_side_div %>
508
518
< h5 > Signature</ h5 >
@@ -527,6 +537,7 @@ <h4 id="tags-add">Add Tags to a Host</h4>
527
537
< h5 > Arguments</ h5 >
528
538
< ul class ="arguments ">
529
539
< %= argument("tags", "A list of tags to apply to the host") %>
540
+ < %= argument("source", "The source of the tags (e.g. chef, puppet).", :default => "users") %>
530
541
</ ul >
531
542
</ div >
532
543
< %= right_side_div %>
@@ -552,6 +563,7 @@ <h4 id="tags-update">Update Host Tags</h4>
552
563
< h5 > Arguments</ h5 >
553
564
< ul class ="arguments ">
554
565
< %= argument("tags", "A list of tags") %>
566
+ < %= argument("source", "The source of the tags (e.g. chef, puppet).", :default => "users") %>
555
567
</ ul >
556
568
</ div >
557
569
< %= right_side_div %>
@@ -575,7 +587,9 @@ <h4 id="tags-remove">Remove Host Tags</h4>
575
587
This end point allows you to update all tags for a given host.
576
588
</ p >
577
589
< h5 > Arguments</ h5 >
578
- < %= no_args %>
590
+ < ul class ="arguments ">
591
+ < %= argument("source", "The source of the tags (e.g. chef, puppet).", :default => "users") %>
592
+ </ ul >
579
593
</ div >
580
594
< %= right_side_div %>
581
595
< h5 > Signature</ h5 >
0 commit comments