bump api to 1.27 (#2461)

* bump api to 1.27

Signed-off-by: Victor Vieux <victorvieux@gmail.com>
This commit is contained in:
Victor Vieux 2017-03-28 09:31:53 -07:00 committed by Misty Stanley-Jones
parent 38481b0132
commit ad065409d9
5 changed files with 89 additions and 5 deletions

View File

@ -38,7 +38,8 @@ RUN svn co https://github.com/docker/docker/branches/$ENGINE_BRANCH/docs/extend
&& rm -rf md_source/apidocs/cloud-api-source \
&& rm -rf md_source/tests \
&& wget -O md_source/engine/api/v1.25/swagger.yaml https://raw.githubusercontent.com/docker/docker/v1.13.0/api/swagger.yaml \
&& wget -O md_source/engine/api/v1.26/swagger.yaml https://raw.githubusercontent.com/docker/docker/$ENGINE_BRANCH/api/swagger.yaml \
&& wget -O md_source/engine/api/v1.26/swagger.yaml https://raw.githubusercontent.com/docker/docker/v17.03.0-ce/api/swagger.yaml \
&& wget -O md_source/engine/api/v1.27/swagger.yaml https://raw.githubusercontent.com/docker/docker/$ENGINE_BRANCH/api/swagger.yaml \
&& jekyll build -s md_source -d target \
&& rm -rf target/apidocs/layouts \
&& find target -type f -name '*.html' -print0 | xargs -0 sed -i 's#href="https://docs.docker.com/#href="/#g' \

View File

@ -478,11 +478,13 @@ reference:
- path: /engine/api/sdks/
title: SDKs
- path: /engine/api/v1.26/
title: v1.26 Reference
title: v1.27 Reference
- sectiontitle: Previous API versions
section:
- path: /engine/api/version-history/
title: Version history overview
- path: /engine/api/v1.26/
title: v1.26 reference
- path: /engine/api/v1.25/
title: v1.25 reference
- path: /engine/api/v1.24/

View File

@ -542,6 +542,6 @@ $ curl --unix-socket /var/run/docker.sock\
## Next steps
- [Full documentation for the Python SDK.](https://docker-py.readthedocs.io)
- [Full documentation for the Go SDK.](https://godoc.org/github.com/docker/docker/client)
- [Full documentation for the HTTP API.](/engine/api/v1.26/)
- [Full documentation for the Python SDK](https://docker-py.readthedocs.io)
- [Full documentation for the Go SDK](https://godoc.org/github.com/docker/docker/client)
- [Full documentation for the HTTP API](/engine/api/v1.27/)

View File

@ -0,0 +1,37 @@
---
layout: null
redirect_from:
- /engine/reference/api/docker_remote_api_v1.27/
---
<!DOCTYPE html>
<html>
<head>
<title>Docker Engine API v1.27 Reference</title>
<!-- needed for adaptive design -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Reference for the API served by Docker Engine.">
<meta charset="utf-8"/>
<!--
ReDoc doesn't change outer page styles
-->
<style>
body {
margin: 0;
padding: 0;
}
api-logo {
background-image: linear-gradient(0deg, #15A4D7 0%, #1488C6 100%);
height: 100px;
text-align: left !important;
}
api-logo img {
width: 136px !important;
margin: 32px 0 0 50px;
}
</style>
</head>
<body>
<redoc spec-url="swagger.yaml" hide-hostname="true" suppress-warnings="true" lazy-rendering></redoc>
<script src="redoc.1.11.0.min.js"> </script>
</body>
</html>

44
engine/api/v1.27/redoc.1.11.0.min.js vendored Executable file

File diff suppressed because one or more lines are too long