volume attachment response codes

asked 2014-09-29 09:55:50 -0500

Chris Knight gravatar image

updated 2014-09-29 15:26:15 -0500

In section 1.43.2/3 "Volume attachments" of the compute API extensions, the GET operations are listed as returning a response code of 202, Should this be 200 rather than 202? (as these are immediate responses).

In section 1.43.4 "Volume attachments" of the compute API extensions, the DELETE operation is listed as returning a response code of 202, Should this be 204 rather than 202? (to be consistent with other compute operations that return no results).

See http://developer.openstack.org/api-re... : - GET /v2/​{tenant_id}​/servers/​{server_id}​/os-volume_attachments - GET/v2/​{tenant_id}​/servers/​{server_id}​/os-volume_attachments/​{attachment_id}​ - DELETE/v2/​{tenant_id}​/servers/​{server_id}​/os-volume_attachments/​{attachment_id}​

edit retag flag offensive close merge delete

Comments

It would be helpful to link to the specifications to which you are referring. Also, this almost might be better as a bug report against the documentation than as a question here.

larsks gravatar imagelarsks ( 2014-09-29 14:46:35 -0500 )edit