spiegel_podman/pkg/api/handlers/compat
Matthew Heon 3ac6501fdd API Handlers should not error on empty request bodies
This is a Docker compatibility change discovered while working on
cases it is practically speaking required because there are
mandatory parameters in the body, but in those cases you do not
get a JSON decode error back, you get an error about the field
that needs to be set. I see no reason for us not to match this
convention; it doesn't break our existing bindings, but makes
using the API via curl or similar somewhat easier.

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2026-05-13 16:33:40 -04:00
..
auth.go API Handlers should not error on empty request bodies 2026-05-13 16:33:40 -04:00
changes.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers.go API Handlers should not error on empty request bodies 2026-05-13 16:33:40 -04:00
containers_archive.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers_attach.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers_create.go API Handlers should not error on empty request bodies 2026-05-13 16:33:40 -04:00
containers_export.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers_logs.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers_pause.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers_prune.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers_restart.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers_start.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers_stats.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers_stats_freebsd.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers_stats_linux.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers_stop.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers_top.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
containers_unpause.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
events.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
exec.go API Handlers should not error on empty request bodies 2026-05-13 16:33:40 -04:00
images.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
images_build.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
images_history.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
images_prune.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
images_push.go api: emit aux trailer with manifest digest on image push 2026-05-13 13:23:16 +03:00
images_remove.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
images_save.go set !remote build tags where needed 2024-08-19 11:41:28 +02:00
images_search.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
images_tag.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
info.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
networks.go API Handlers should not error on empty request bodies 2026-05-13 16:33:40 -04:00
ping.go RUN-4538: Fix buildah vendoring 2026-04-21 14:27:58 -05:00
resize.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
secrets.go API Handlers should not error on empty request bodies 2026-05-13 16:33:40 -04:00
system.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types.go api/compat: switch to moby/moby 2026-03-09 11:09:23 +01:00
unsupported.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
version.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
volumes.go API Handlers should not error on empty request bodies 2026-05-13 16:33:40 -04:00