Merge pull request #18309 from WeiZhang555/time

Consolidate time format for API
Upstream-commit: 6deec021e5bbfd1942cfacb34c6593379e8b8c30
Component: engine
This commit is contained in:
Sebastiaan van Stijn
2015-12-02 22:28:28 +01:00
4 changed files with 21 additions and 7 deletions

View File

@ -99,6 +99,8 @@ This section lists each version from latest to oldest. Each listing includes a
* `GET /info` Now returns `Architecture` and `OSType` fields, providing information
about the host architecture and operating system type that the daemon runs on.
* `GET /networks/(name)` now returns a `Name` field for each container attached to the network.
* `GET /version` now returns the `BuildTime` field in RFC3339Nano format to make it
consistent with other date/time values returned by the API.
### v1.21 API changes

View File

@ -1994,14 +1994,15 @@ Show the docker version information
Content-Type: application/json
{
"Version": "1.5.0",
"Version": "1.10.0-dev",
"Os": "linux",
"KernelVersion": "3.18.5-tinycore64",
"GoVersion": "go1.4.1",
"GitCommit": "a8a31ef",
"KernelVersion": "3.19.0-23-generic",
"GoVersion": "go1.4.2",
"GitCommit": "e75da4b",
"Arch": "amd64",
"ApiVersion": "1.20",
"Experimental": false
"ApiVersion": "1.22",
"BuildTime": "2015-12-01T07:09:13.444803460+00:00",
"Experimental": true
}
Status Codes: