mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
docs: update docs for API history
The response of hitory API includes more information now. Signed-off-by: Hu Keping <hukeping@huawei.com>
This commit is contained in:
parent
f5ebcfe1dc
commit
29660f263e
2 changed files with 61 additions and 21 deletions
|
@ -1324,17 +1324,37 @@ Return the history of the image `name`
|
|||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json
|
||||
|
||||
[
|
||||
{
|
||||
"Id": "b750fe79269d",
|
||||
"Created": 1364102658,
|
||||
"CreatedBy": "/bin/bash"
|
||||
},
|
||||
{
|
||||
"Id": "27cf78414709",
|
||||
"Created": 1364068391,
|
||||
"CreatedBy": ""
|
||||
}
|
||||
[
|
||||
{
|
||||
"Id": "3db9c44f45209632d6050b35958829c3a2aa256d81b9a7be45b362ff85c54710",
|
||||
"Created": 1398108230,
|
||||
"CreatedBy": "/bin/sh -c #(nop) ADD file:eb15dbd63394e063b805a3c32ca7bf0266ef64676d5a6fab4801f2e81e2a5148 in /",
|
||||
"Tags": [
|
||||
"ubuntu:lucid",
|
||||
"ubuntu:10.04"
|
||||
],
|
||||
"Size": 182964289,
|
||||
"Comment": ""
|
||||
},
|
||||
{
|
||||
"Id": "6cfa4d1f33fb861d4d114f43b25abd0ac737509268065cdfd69d544a59c85ab8",
|
||||
"Created": 1398108222,
|
||||
"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/",
|
||||
"Tags": null,
|
||||
"Size": 0,
|
||||
"Comment": ""
|
||||
},
|
||||
{
|
||||
"Id": "511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158",
|
||||
"Created": 1371157430,
|
||||
"CreatedBy": "",
|
||||
"Tags": [
|
||||
"scratch12:latest",
|
||||
"scratch:latest"
|
||||
],
|
||||
"Size": 0,
|
||||
"Comment": "Imported from -"
|
||||
}
|
||||
]
|
||||
|
||||
Status Codes:
|
||||
|
|
|
@ -1319,16 +1319,36 @@ Return the history of the image `name`
|
|||
Content-Type: application/json
|
||||
|
||||
[
|
||||
{
|
||||
"Id": "b750fe79269d",
|
||||
"Created": 1364102658,
|
||||
"CreatedBy": "/bin/bash"
|
||||
},
|
||||
{
|
||||
"Id": "27cf78414709",
|
||||
"Created": 1364068391,
|
||||
"CreatedBy": ""
|
||||
}
|
||||
{
|
||||
"Id": "3db9c44f45209632d6050b35958829c3a2aa256d81b9a7be45b362ff85c54710",
|
||||
"Created": 1398108230,
|
||||
"CreatedBy": "/bin/sh -c #(nop) ADD file:eb15dbd63394e063b805a3c32ca7bf0266ef64676d5a6fab4801f2e81e2a5148 in /",
|
||||
"Tags": [
|
||||
"ubuntu:lucid",
|
||||
"ubuntu:10.04"
|
||||
],
|
||||
"Size": 182964289,
|
||||
"Comment": ""
|
||||
},
|
||||
{
|
||||
"Id": "6cfa4d1f33fb861d4d114f43b25abd0ac737509268065cdfd69d544a59c85ab8",
|
||||
"Created": 1398108222,
|
||||
"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/",
|
||||
"Tags": null,
|
||||
"Size": 0,
|
||||
"Comment": ""
|
||||
},
|
||||
{
|
||||
"Id": "511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158",
|
||||
"Created": 1371157430,
|
||||
"CreatedBy": "",
|
||||
"Tags": [
|
||||
"scratch12:latest",
|
||||
"scratch:latest"
|
||||
],
|
||||
"Size": 0,
|
||||
"Comment": "Imported from -"
|
||||
}
|
||||
]
|
||||
|
||||
Status Codes:
|
||||
|
|
Loading…
Reference in a new issue