Browse code

Merge pull request #25527 from thaJeztah/fix-image-load-api-docs

docs: add missing content-type header for image load
(cherry picked from commit 5fd483695f8d5ffa297f40730f21031f629333e7)

Conflicts:
docs/reference/api/docker_remote_api_v1.25.md

Sebastiaan van Stijn authored on 2016/08/09 18:31:55
Showing 7 changed files
... ...
@@ -1843,6 +1843,7 @@ See the [image tarball format](#image-tarball-format) for more details.
1843 1843
 **Example request**
1844 1844
 
1845 1845
     POST /images/load
1846
+    Content-Type: application/x-tar
1846 1847
 
1847 1848
     Tarball in body
1848 1849
 
... ...
@@ -1924,6 +1924,7 @@ See the [image tarball format](#image-tarball-format) for more details.
1924 1924
 **Example request**
1925 1925
 
1926 1926
     POST /images/load
1927
+    Content-Type: application/x-tar
1927 1928
 
1928 1929
     Tarball in body
1929 1930
 
... ...
@@ -2068,6 +2068,7 @@ See the [image tarball format](#image-tarball-format) for more details.
2068 2068
 **Example request**
2069 2069
 
2070 2070
     POST /images/load
2071
+    Content-Type: application/x-tar
2071 2072
 
2072 2073
     Tarball in body
2073 2074
 
... ...
@@ -2219,6 +2219,7 @@ See the [image tarball format](#image-tarball-format) for more details.
2219 2219
 **Example request**
2220 2220
 
2221 2221
     POST /images/load
2222
+    Content-Type: application/x-tar
2222 2223
 
2223 2224
     Tarball in body
2224 2225
 
... ...
@@ -2608,6 +2608,7 @@ See the [image tarball format](#image-tarball-format) for more details.
2608 2608
 **Example request**
2609 2609
 
2610 2610
     POST /images/load
2611
+    Content-Type: application/x-tar
2611 2612
 
2612 2613
     Tarball in body
2613 2614
 
... ...
@@ -2653,6 +2653,7 @@ See the [image tarball format](#image-tarball-format) for more details.
2653 2653
 **Example request**
2654 2654
 
2655 2655
     POST /images/load
2656
+    Content-Type: application/x-tar
2656 2657
 
2657 2658
     Tarball in body
2658 2659
 
... ...
@@ -2666,6 +2666,7 @@ See the [image tarball format](#image-tarball-format) for more details.
2666 2666
 **Example request**
2667 2667
 
2668 2668
     POST /images/load
2669
+    Content-Type: application/x-tar
2669 2670
 
2670 2671
     Tarball in body
2671 2672