mirror of https://github.com/containers/podman.git
update API doc version to 5.0.0
Also update the website to display the correct swagger doc for the right version, the 5.0 swagger file will not exist until we branch but I added it anyway so we do not forget it. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
parent
38e22d443c
commit
068ddfd19f
|
@ -7,6 +7,12 @@ Show the API documentation for version:
|
|||
|
||||
* `latest (main branch) <_static/api.html>`_
|
||||
|
||||
* `version 5.0 <_static/api.html?version=v5.0>`_
|
||||
|
||||
* `version 4.9 <_static/api.html?version=v4.9>`_
|
||||
|
||||
* `version 4.8 <_static/api.html?version=v4.8>`_
|
||||
|
||||
* `version 4.7 <_static/api.html?version=v4.7>`_
|
||||
|
||||
* `version 4.6 <_static/api.html?version=v4.6>`_
|
||||
|
|
|
@ -27,15 +27,15 @@
|
|||
//
|
||||
// 'podman info'
|
||||
//
|
||||
// curl --unix-socket /run/podman/podman.sock http://d/v4.0.0/libpod/info
|
||||
// curl --unix-socket /run/podman/podman.sock http://d/v5.0.0/libpod/info
|
||||
//
|
||||
// 'podman pull quay.io/containers/podman'
|
||||
//
|
||||
// curl -XPOST --unix-socket /run/podman/podman.sock -v 'http://d/v4.0.0/images/create?fromImage=quay.io%2Fcontainers%2Fpodman'
|
||||
// curl -XPOST --unix-socket /run/podman/podman.sock -v 'http://d/v5.0.0/images/create?fromImage=quay.io%2Fcontainers%2Fpodman'
|
||||
//
|
||||
// 'podman list images'
|
||||
//
|
||||
// curl --unix-socket /run/podman/podman.sock -v 'http://d/v4.0.0/libpod/images/json' | jq
|
||||
// curl --unix-socket /run/podman/podman.sock -v 'http://d/v5.0.0/libpod/images/json' | jq
|
||||
//
|
||||
// Terms Of Service:
|
||||
//
|
||||
|
@ -44,7 +44,7 @@
|
|||
// Schemes: http, https
|
||||
// Host: podman.io
|
||||
// BasePath: /
|
||||
// Version: 4.0.0
|
||||
// Version: 5.0.0
|
||||
// License: Apache-2.0 https://opensource.org/licenses/Apache-2.0
|
||||
// Contact: Podman <podman@lists.podman.io> https://podman.io/community/
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue