spiegel_podman/pkg/api
Paul Holzinger 3bcfd256b3
manifest endpoints fix ordering
OK this is a pretty bad design IMO. We have to endpoints:
manifest create: `POST /{name}`
manifest push: `POST /{name}/registry/{destination}`

So basically all push requests are valid create requests.
Fortunately we can change the order in which the endpoints are matched.
If the logic matches push first it will fall back to create if the
request does not have the `/registry/{}` part.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2022-04-27 14:57:25 +02:00
..
handlers fix manifest modify endpoint to respect tlsverify param 2022-04-27 14:32:36 +02:00
server manifest endpoints fix ordering 2022-04-27 14:57:25 +02:00
types Refacter API server emphasis on logging 2021-09-10 15:07:25 -07:00
Makefile [CI:DOCS] Update swagger definition of inspect manifest 2021-04-07 09:18:23 -07:00
tags.yaml [CI:DOCS] Set all operation id to be compatibile 2021-04-05 19:54:30 -07:00