Browse code

Merge pull request #8313 from duglin/Issue4877

Add missing "tag" parameter to tag API - Issue #4877

Fred Lifton authored on 2014/10/02 02:34:57
Showing 16 changed files
... ...
@@ -673,7 +673,7 @@ Tag the image `name` into a repository
673 673
 
674 674
 **Example request**:
675 675
 
676
-        POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
676
+        POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
677 677
 
678 678
 **Example response**:
679 679
 
... ...
@@ -683,6 +683,7 @@ Query Parameters:
683 683
 
684 684
 -   **repo** – The repository to tag in
685 685
 -   **force** – 1/True/true or 0/False/false, default false
686
+-   **tag** - The new tag name
686 687
 
687 688
 Status Codes:
688 689
 
... ...
@@ -683,7 +683,7 @@ Tag the image `name` into a repository
683 683
 
684 684
 **Example request**:
685 685
 
686
-        POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
686
+        POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
687 687
 
688 688
 **Example response**:
689 689
 
... ...
@@ -693,6 +693,7 @@ Query Parameters:
693 693
 
694 694
 -   **repo** – The repository to tag in
695 695
 -   **force** – 1/True/true or 0/False/false, default false
696
+-   **tag** - The new tag name
696 697
 
697 698
 Status Codes:
698 699
 
... ...
@@ -864,7 +864,7 @@ Tag the image `name` into a repository
864 864
 
865 865
 **Example request**:
866 866
 
867
-        POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
867
+        POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
868 868
 
869 869
 **Example response**:
870 870
 
... ...
@@ -874,6 +874,7 @@ Query Parameters:
874 874
 
875 875
 -   **repo** – The repository to tag in
876 876
 -   **force** – 1/True/true or 0/False/false, default false
877
+-   **tag** - The new tag name
877 878
 
878 879
 Status Codes:
879 880
 
... ...
@@ -870,7 +870,7 @@ Tag the image `name` into a repository
870 870
 
871 871
 **Example request**:
872 872
 
873
-        POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
873
+        POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
874 874
 
875 875
 **Example response**:
876 876
 
... ...
@@ -880,6 +880,7 @@ Query Parameters:
880 880
 
881 881
 -   **repo** – The repository to tag in
882 882
 -   **force** – 1/True/true or 0/False/false, default false
883
+-   **tag** - The new tag name
883 884
 
884 885
 Status Codes:
885 886
 
... ...
@@ -930,7 +930,7 @@ Tag the image `name` into a repository
930 930
 
931 931
 **Example request**:
932 932
 
933
-        POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
933
+        POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
934 934
 
935 935
 **Example response**:
936 936
 
... ...
@@ -940,6 +940,7 @@ Query Parameters:
940 940
 
941 941
 -   **repo** – The repository to tag in
942 942
 -   **force** – 1/True/true or 0/False/false, default false
943
+-   **tag** - The new tag name
943 944
 
944 945
 Status Codes:
945 946
 
... ...
@@ -919,7 +919,7 @@ Tag the image `name` into a repository
919 919
 
920 920
 **Example request**:
921 921
 
922
-        POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
922
+        POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
923 923
 
924 924
 **Example response**:
925 925
 
... ...
@@ -929,6 +929,7 @@ Query Parameters:
929 929
 
930 930
 -   **repo** – The repository to tag in
931 931
 -   **force** – 1/True/true or 0/False/false, default false
932
+-   **tag** - The new tag name
932 933
 
933 934
 Status Codes:
934 935
 
... ...
@@ -924,7 +924,7 @@ Tag the image `name` into a repository
924 924
 
925 925
 **Example request**:
926 926
 
927
-        POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
927
+        POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
928 928
 
929 929
 **Example response**:
930 930
 
... ...
@@ -934,6 +934,7 @@ Query Parameters:
934 934
 
935 935
 -   **repo** – The repository to tag in
936 936
 -   **force** – 1/True/true or 0/False/false, default false
937
+-   **tag** - The new tag name
937 938
 
938 939
 Status Codes:
939 940
 
... ...
@@ -959,7 +959,7 @@ Tag the image `name` into a repository
959 959
 
960 960
 **Example request**:
961 961
 
962
-        POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
962
+        POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
963 963
 
964 964
 **Example response**:
965 965
 
... ...
@@ -969,6 +969,7 @@ Query Parameters:
969 969
 
970 970
 -   **repo** – The repository to tag in
971 971
 -   **force** – 1/True/true or 0/False/false, default false
972
+-   **tag** - The new tag name
972 973
 
973 974
 Status Codes:
974 975
 
... ...
@@ -702,7 +702,7 @@ Tag the image `name` into a repository
702 702
 
703 703
 **Example request**:
704 704
 
705
-        POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
705
+        POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
706 706
 
707 707
 **Example response**:
708 708
 
... ...
@@ -712,6 +712,7 @@ Query Parameters:
712 712
 
713 713
 -   **repo** – The repository to tag in
714 714
 -   **force** – 1/True/true or 0/False/false, default false
715
+-   **tag** - The new tag name
715 716
 
716 717
 Status Codes:
717 718
 
... ...
@@ -749,7 +749,7 @@ Tag the image `name` into a repository
749 749
 
750 750
 **Example request**:
751 751
 
752
-        POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
752
+        POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
753 753
 
754 754
 **Example response**:
755 755
 
... ...
@@ -759,6 +759,7 @@ Query Parameters:
759 759
 
760 760
 -   **repo** – The repository to tag in
761 761
 -   **force** – 1/True/true or 0/False/false, default false
762
+-   **tag** - The new tag name
762 763
 
763 764
 Status Codes:
764 765
 
... ...
@@ -792,7 +792,7 @@ Tag the image `name` into a repository
792 792
 
793 793
 **Example request**:
794 794
 
795
-        POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
795
+        POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
796 796
 
797 797
 **Example response**:
798 798
 
... ...
@@ -802,6 +802,7 @@ Query Parameters:
802 802
 
803 803
 -   **repo** – The repository to tag in
804 804
 -   **force** – 1/True/true or 0/False/false, default false
805
+-   **tag** - The new tag name
805 806
 
806 807
 Status Codes:
807 808
 
... ...
@@ -797,7 +797,7 @@ Tag the image `name` into a repository
797 797
 
798 798
 **Example request**:
799 799
 
800
-        POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
800
+        POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
801 801
 
802 802
 **Example response**:
803 803
 
... ...
@@ -807,6 +807,7 @@ Query Parameters:
807 807
 
808 808
 -   **repo** – The repository to tag in
809 809
 -   **force** – 1/True/true or 0/False/false, default false
810
+-   **tag** - The new tag name
810 811
 
811 812
 Status Codes:
812 813
 
... ...
@@ -901,7 +901,7 @@ Tag the image `name` into a repository
901 901
 
902 902
 **Example request**:
903 903
 
904
-        POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
904
+        POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
905 905
 
906 906
 **Example response**:
907 907
 
... ...
@@ -911,6 +911,7 @@ Query Parameters:
911 911
 
912 912
 -   **repo** – The repository to tag in
913 913
 -   **force** – 1/True/true or 0/False/false, default false
914
+-   **tag** - The new tag name
914 915
 
915 916
 Status Codes:
916 917
 
... ...
@@ -823,7 +823,7 @@ Tag the image `name` into a repository
823 823
 
824 824
 **Example request**:
825 825
 
826
-        POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
826
+        POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
827 827
 
828 828
 **Example response**:
829 829
 
... ...
@@ -833,6 +833,7 @@ Query Parameters:
833 833
 
834 834
 -   **repo** – The repository to tag in
835 835
 -   **force** – 1/True/true or 0/False/false, default false
836
+-   **tag** - The new tag name
836 837
 
837 838
 Status Codes:
838 839
 
... ...
@@ -871,7 +871,7 @@ Tag the image `name` into a repository
871 871
 
872 872
 **Example request**:
873 873
 
874
-        POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
874
+        POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
875 875
 
876 876
 **Example response**:
877 877
 
... ...
@@ -881,6 +881,7 @@ Query Parameters:
881 881
 
882 882
 -   **repo** – The repository to tag in
883 883
 -   **force** – 1/True/true or 0/False/false, default false
884
+-   **tag** - The new tag name
884 885
 
885 886
 Status Codes:
886 887
 
... ...
@@ -897,7 +897,7 @@ Tag the image `name` into a repository
897 897
 
898 898
 **Example request**:
899 899
 
900
-        POST /images/test/tag?repo=myrepo&force=0 HTTP/1.1
900
+        POST /images/test/tag?repo=myrepo&force=0&tag=v42 HTTP/1.1
901 901
 
902 902
 **Example response**:
903 903
 
... ...
@@ -907,6 +907,7 @@ Query Parameters:
907 907
 
908 908
 -   **repo** – The repository to tag in
909 909
 -   **force** – 1/True/true or 0/False/false, default false
910
+-   **tag** - The new tag name
910 911
 
911 912
 Status Codes:
912 913