diff options
author | Jhon Honce <jhonce@redhat.com> | 2021-04-05 17:13:15 -0700 |
---|---|---|
committer | Jhon Honce <jhonce@redhat.com> | 2021-04-05 19:54:30 -0700 |
commit | fa47b4f572862e5ee8f89d73a1a48c83b9fe9f96 (patch) | |
tree | 853362d78cf607be07b18d0ef6958ecf243bbdc8 /pkg/api/server/docs.go | |
parent | 5cbda3b789a89cca1a884df97887c99b9eef192f (diff) | |
download | podman-fa47b4f572862e5ee8f89d73a1a48c83b9fe9f96.tar.gz podman-fa47b4f572862e5ee8f89d73a1a48c83b9fe9f96.tar.bz2 podman-fa47b4f572862e5ee8f89d73a1a48c83b9fe9f96.zip |
[CI:DOCS] Set all operation id to be compatibile
Libpod operation id's changed to better match compatibile id
Builds on https://github.com/containers/podman/pull/9123 and corrects
a duplicated ID.
Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'pkg/api/server/docs.go')
-rw-r--r-- | pkg/api/server/docs.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkg/api/server/docs.go b/pkg/api/server/docs.go index a99fefd7b..e72b78221 100644 --- a/pkg/api/server/docs.go +++ b/pkg/api/server/docs.go @@ -1,4 +1,4 @@ -// Package api Provides a container compatible interface. +// Package api Provides an API for the Libpod library // // This documentation describes the Podman v2.0 RESTful API. // It replaces the Podman v1.0 API and was initially delivered @@ -21,22 +21,22 @@ // // 'podman info' // -// curl --unix-socket /run/podman/podman.sock http://d/v1.0.0/libpod/info +// curl --unix-socket /run/podman/podman.sock http://d/v3.0.0/libpod/info // // 'podman pull quay.io/containers/podman' // -// curl -XPOST --unix-socket /run/podman/podman.sock -v 'http://d/v1.0.0/images/create?fromImage=quay.io%2Fcontainers%2Fpodman' +// curl -XPOST --unix-socket /run/podman/podman.sock -v 'http://d/v3.0.0/images/create?fromImage=quay.io%2Fcontainers%2Fpodman' // // 'podman list images' // -// curl --unix-socket /run/podman/podman.sock -v 'http://d/v1.0.0/libpod/images/json' | jq +// curl --unix-socket /run/podman/podman.sock -v 'http://d/v3.0.0/libpod/images/json' | jq // // Terms Of Service: // // Schemes: http, https // Host: podman.io // BasePath: / -// Version: 0.0.1 +// Version: 3.2.0 // License: Apache-2.0 https://opensource.org/licenses/Apache-2.0 // Contact: Podman <podman@lists.podman.io> https://podman.io/community/ // @@ -47,8 +47,8 @@ // // Produces: // - application/json +// - application/octet-stream // - text/plain -// - text/html // // Consumes: // - application/json |