[openstack-dev] [api][neutron] question on putting an existing tag

Akihiro Motoki amotoki at gmail.com
Fri Feb 26 16:01:40 UTC 2016


Thanks Jay.
I will send an update to api-wg repo as well.

2016-02-27 0:36 GMT+09:00 Jay Pipes <jaypipes at gmail.com>:
> 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
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



More information about the OpenStack-dev mailing list