Browse code

Merge pull request #14494 from HuKeping/update-docs

docs: update docs for API history

James Turnbull authored on 2015/07/14 21:16:00
Showing 2 changed files
... ...
@@ -1324,17 +1324,37 @@ Return the history of the image `name`
1324 1324
     HTTP/1.1 200 OK
1325 1325
     Content-Type: application/json
1326 1326
 
1327
-    [
1328
-         {
1329
-                 "Id": "b750fe79269d",
1330
-                 "Created": 1364102658,
1331
-                 "CreatedBy": "/bin/bash"
1332
-         },
1333
-         {
1334
-                 "Id": "27cf78414709",
1335
-                 "Created": 1364068391,
1336
-                 "CreatedBy": ""
1337
-         }
1327
+    [    
1328
+        {    
1329
+            "Id": "3db9c44f45209632d6050b35958829c3a2aa256d81b9a7be45b362ff85c54710",
1330
+            "Created": 1398108230,
1331
+            "CreatedBy": "/bin/sh -c #(nop) ADD file:eb15dbd63394e063b805a3c32ca7bf0266ef64676d5a6fab4801f2e81e2a5148 in /",
1332
+            "Tags": [
1333
+                "ubuntu:lucid",
1334
+                "ubuntu:10.04"
1335
+            ],   
1336
+            "Size": 182964289,
1337
+            "Comment": ""
1338
+        },   
1339
+        {    
1340
+            "Id": "6cfa4d1f33fb861d4d114f43b25abd0ac737509268065cdfd69d544a59c85ab8",
1341
+            "Created": 1398108222,
1342
+            "CreatedBy": "/bin/sh -c #(nop) MAINTAINER Tianon Gravi <admwiggin@gmail.com> - mkimage-debootstrap.sh -i iproute,iputils-ping,ubuntu-minimal -t lucid.tar.xz lucid http://archive.ubuntu.com/ubuntu/",
1343
+            "Tags": null,
1344
+            "Size": 0,
1345
+            "Comment": ""
1346
+        },   
1347
+        {    
1348
+            "Id": "511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158",
1349
+            "Created": 1371157430,
1350
+            "CreatedBy": "",
1351
+            "Tags": [
1352
+                "scratch12:latest",
1353
+                "scratch:latest"
1354
+            ],   
1355
+            "Size": 0,
1356
+            "Comment": "Imported from -"
1357
+        }    
1338 1358
     ]
1339 1359
 
1340 1360
 Status Codes:
... ...
@@ -1321,16 +1321,36 @@ Return the history of the image `name`
1321 1321
     Content-Type: application/json
1322 1322
 
1323 1323
     [
1324
-         {
1325
-                 "Id": "b750fe79269d",
1326
-                 "Created": 1364102658,
1327
-                 "CreatedBy": "/bin/bash"
1328
-         },
1329
-         {
1330
-                 "Id": "27cf78414709",
1331
-                 "Created": 1364068391,
1332
-                 "CreatedBy": ""
1333
-         }
1324
+        {
1325
+            "Id": "3db9c44f45209632d6050b35958829c3a2aa256d81b9a7be45b362ff85c54710",
1326
+            "Created": 1398108230,
1327
+            "CreatedBy": "/bin/sh -c #(nop) ADD file:eb15dbd63394e063b805a3c32ca7bf0266ef64676d5a6fab4801f2e81e2a5148 in /",
1328
+            "Tags": [
1329
+                "ubuntu:lucid",
1330
+                "ubuntu:10.04"
1331
+            ],
1332
+            "Size": 182964289,
1333
+            "Comment": ""
1334
+        },
1335
+        {
1336
+            "Id": "6cfa4d1f33fb861d4d114f43b25abd0ac737509268065cdfd69d544a59c85ab8",
1337
+            "Created": 1398108222,
1338
+            "CreatedBy": "/bin/sh -c #(nop) MAINTAINER Tianon Gravi <admwiggin@gmail.com> - mkimage-debootstrap.sh -i iproute,iputils-ping,ubuntu-minimal -t lucid.tar.xz lucid http://archive.ubuntu.com/ubuntu/",
1339
+            "Tags": null,
1340
+            "Size": 0,
1341
+            "Comment": ""
1342
+        },
1343
+        {
1344
+            "Id": "511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158",
1345
+            "Created": 1371157430,
1346
+            "CreatedBy": "",
1347
+            "Tags": [
1348
+                "scratch12:latest",
1349
+                "scratch:latest"
1350
+            ],
1351
+            "Size": 0,
1352
+            "Comment": "Imported from -"
1353
+        }
1334 1354
     ]
1335 1355
 
1336 1356
 Status Codes: