podman/pkg/api/handlers
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
..
generic swagger: v2: libpod/images/{import,load,pull} 2020-02-04 10:45:54 +01:00
libpod API v2: pods: fix two incorrect return codes 2020-02-11 10:50:23 -07:00
utils API v2: pods: fix two incorrect return codes 2020-02-11 10:50:23 -07:00
containers.go fix longname handling for bindings 2020-01-31 08:38:25 -06:00
containers_attach.go fix longname handling for bindings 2020-01-31 08:38:25 -06:00
containers_create.go APIv2 review corrections #3 2020-01-25 15:09:09 -06:00
containers_top.go fix longname handling for bindings 2020-01-31 08:38:25 -06:00
decoder.go Refactor time parsing to be more liberal in accepted values 2020-01-24 10:11:05 -07:00
events.go Add query parameter converters for complex types 2020-01-23 16:32:00 -07:00
exec.go [CI:DOCS]add apiv2 endpoints for exec 2020-02-03 12:40:01 -06:00
handler.go fix longname handling for bindings 2020-01-31 08:38:25 -06:00
images.go fix longname handling for bindings 2020-01-31 08:38:25 -06:00
images_build.go Update build images 2020-01-21 14:19:42 -07:00
ping.go Update /_ping support 2020-02-03 11:57:54 -07:00
swagger.go Rewire ListContainers for APIv2 libpod 2020-02-11 08:14:28 -06:00
types.go swagger: v2: libpod/images/{import,load,pull} 2020-02-04 10:45:54 +01:00
unsupported.go Initial commit on compatible API 2020-01-10 09:41:39 -06:00
version.go [CI:DOCS]Binding overhauls 2020-01-28 08:42:18 -06:00