You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a process that logs/audits the API calls and I'm using the latest swagger file to obtain a list of the different APIs. My code is a simple socket proxy that simply looks at the request, and reports the operationsID and description of the api obtained from swagger file. The code reads the swagger file to obtain information about the APIs.
Performing a simple:
podman -r -ti --rm debian ls -al
My code shows the following:
POST HTTP/1.1 /v5.2.5/libpod/containers/{containerid}/shouldrestart
*** Was unable to find the api information for POST /v5.2.5/libpod/containers/{containerid}/shouldrestart
(with {containerid} replaced with actual container id).
A 'grep -i shouldrestart swagger-latest.yaml' doesn't find the string
Just to note that earlier versions of the podman command also use the shouldrestart api call
Steps to reproduce the issue
Steps to reproduce the issue
grep -i shouldrestart swagger-latest.yaml
Describe the results you received
No string was found
Describe the results you expected
The swagger file should contain the information for the shouldrestart API call.
podman info output
N/A
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
N/A
Additional information
No response
The text was updated successfully, but these errors were encountered:
Issue Description
Using the latest swagger yaml from https://docs.podman.io/en/latest/_static/api.html == > 'supports a RESTful API for the Libpod library (5.0.0)'
I'm working on a process that logs/audits the API calls and I'm using the latest swagger file to obtain a list of the different APIs. My code is a simple socket proxy that simply looks at the request, and reports the operationsID and description of the api obtained from swagger file. The code reads the swagger file to obtain information about the APIs.
Performing a simple:
My code shows the following:
POST HTTP/1.1 /v5.2.5/libpod/containers/{containerid}/shouldrestart
*** Was unable to find the api information for POST /v5.2.5/libpod/containers/{containerid}/shouldrestart
(with {containerid} replaced with actual container id).
A 'grep -i shouldrestart swagger-latest.yaml' doesn't find the string
Just to note that earlier versions of the podman command also use the shouldrestart api call
Steps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
No string was found
Describe the results you expected
The swagger file should contain the information for the shouldrestart API call.
podman info output
N/A
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
N/A
Additional information
No response
The text was updated successfully, but these errors were encountered: