[openstack-dev] [api][neutron] question on putting an existing tag
Jay Pipes
jaypipes at gmail.com
Fri Feb 26 15:36:28 UTC 2016
On 02/26/2016 09:02 AM, Akihiro Motoki wrote:
> Hi API-WG,
>
> Neutron is implementing tag support for network resource [0].
> The implementation follows 'Tags' guideline defined by API-WG [1].
> I have a questions on the guideline.
>
> ----
>
> We can create a tag by PUT'ing an individual tag:
> What status code should be returned if a requested tag already exists?
>
> PUT /servers/1234567890/tags/qux
>
> The guideline defines 201 (+ Location header) on success.
> In the current neutron implementation proposed, 409 is returned
> when a requested tag already exists.
409 Conflict.
Best,
-jay
More information about the OpenStack-dev
mailing list