podman/pkg/api/server
Ed Santiago bdccdd2265 API v2: pods: fix two incorrect return codes
1) /pods/<X>/exists - is documented to return 204, and that's
    the correct value, but until now it has been returning 200.

 2) /pods/create - return 409 (conflict), not 500, when pod
    already exists

Also: in WriteResponse(), if code is 204 (No Content) or 304
(Not Modified), emit the status code only but no content-type
headers nor content.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2020-02-11 10:50:23 -07:00
..
docs.go APIv2 review corrections #3 2020-01-25 15:09:09 -06:00
handler_api.go Initial commit on compatible API 2020-01-10 09:41:39 -06:00
listener_api.go Add service endpoint 2020-01-21 16:35:45 -06:00
register_auth.go Initial commit on compatible API 2020-01-10 09:41:39 -06:00
register_containers.go Rewire ListContainers for APIv2 libpod 2020-02-11 08:14:28 -06:00
register_distribution.go Enable swagger validation for each PR 2020-01-22 15:17:14 -07:00
register_events.go Enable swagger validation for each PR 2020-01-22 15:17:14 -07:00
register_exec.go [CI:DOCS]add apiv2 endpoints for exec 2020-02-03 12:40:01 -06:00
register_healthcheck.go Enable swagger validation for each PR 2020-01-22 15:17:14 -07:00
register_images.go fix swagger docs and make sure docs validation runs 2020-02-05 14:16:25 -06:00
register_info.go Enable swagger validation for each PR 2020-01-22 15:17:14 -07:00
register_monitor.go Initial commit on compatible API 2020-01-10 09:41:39 -06:00
register_ping.go Update /_ping support 2020-02-03 11:57:54 -07:00
register_plugins.go Initial commit on compatible API 2020-01-10 09:41:39 -06:00
register_pods.go API v2: pods: fix two incorrect return codes 2020-02-11 10:50:23 -07:00
register_swarm.go address review comments before merge 2020-01-10 09:47:19 -06:00
register_system.go Initial commit on compatible API 2020-01-10 09:41:39 -06:00
register_version.go [CI:DOCS]Binding overhauls 2020-01-28 08:42:18 -06:00
register_volumes.go Enable swagger validation for each PR 2020-01-22 15:17:14 -07:00
server.go [CI:DOCS]add apiv2 endpoints for exec 2020-02-03 12:40:01 -06:00
swagger.go [CI:DOCS]add apiv2 endpoints for exec 2020-02-03 12:40:01 -06:00