Browse code

docs: move API changes to the correct API version

These changes were made as part of https://github.com/docker/docker/pull/17478
but inadvertently added to the v1.21 API version.

Also added a short description to the API changelog.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2015/11/25 22:10:18
Showing 3 changed files
... ...
@@ -95,6 +95,8 @@ This section lists each version from latest to oldest.  Each listing includes a
95 95
 [Docker Remote API v1.22](docker_remote_api_v1.22.md) documentation
96 96
 
97 97
 * `GET /containers/json` supports filter `isolation` on Windows.
98
+* `GET /info` Now returns `Architecture` and `OSType` fields, providing information
99
+  about the host architecture and operating system type that the daemon runs on.
98 100
 * `GET /networks/(name)` now returns a `Name` field for each container attached to the network.
99 101
 
100 102
 ### v1.21 API changes
... ...
@@ -1903,7 +1903,6 @@ Display system-wide information
1903 1903
     Content-Type: application/json
1904 1904
 
1905 1905
     {
1906
-        "Architecture": "x86_64",
1907 1906
         "Containers": 11,
1908 1907
         "CpuCfsPeriod": true,
1909 1908
         "CpuCfsQuota": true,
... ...
@@ -1935,7 +1934,6 @@ Display system-wide information
1935 1935
         "Name": "prod-server-42",
1936 1936
         "NoProxy": "9.81.1.160",
1937 1937
         "OomKillDisable": true,
1938
-        "OSType": "linux",
1939 1938
         "OperatingSystem": "Boot2Docker",
1940 1939
         "RegistryConfig": {
1941 1940
             "IndexConfigs": {
... ...
@@ -1907,6 +1907,7 @@ Display system-wide information
1907 1907
     Content-Type: application/json
1908 1908
 
1909 1909
     {
1910
+        "Architecture": "x86_64",
1910 1911
         "Containers": 11,
1911 1912
         "CpuCfsPeriod": true,
1912 1913
         "CpuCfsQuota": true,
... ...
@@ -1948,6 +1949,7 @@ Display system-wide information
1948 1948
         "Name": "prod-server-42",
1949 1949
         "NoProxy": "9.81.1.160",
1950 1950
         "OomKillDisable": true,
1951
+        "OSType": "linux",
1951 1952
         "OperatingSystem": "Boot2Docker",
1952 1953
         "RegistryConfig": {
1953 1954
             "IndexConfigs": {