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:
Paul Holzinger
2024-03-12 12:04:08 +01:00
parent 38e22d443c
commit 068ddfd19f
2 changed files with 10 additions and 4 deletions
docs/source
pkg/api/server

@ -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/
//