[openstack-dev] [nova][api] GET or HEAD for checking trait existence

Ken'ichi Ohmichi ken1ohmichi at gmail.com
Wed Mar 29 18:04:28 UTC 2017


Hi

I have some questions about plancement API design from
https://review.openstack.org/#/c/376200
Current implementation of the above patch (PS26) adds GET method for
checking trait existence, and tags.rst of api-wg guideline[1] requires
GET for checking trait existence.
On the other hand, http.rst of api-wg guideline[2] requires HEAD instead.

So there are two questions.
1. Why the part of tags.rst is different from http.rst?
    I checked the review history of
https://review.openstack.org/#/c/155620/ which have added the part,
but I could not find the reason.
2. trait should follow tags.rst? or http.rst?

Any comments are welcome.

Thanks

---
[1]: https://github.com/openstack/api-wg/blob/master/guidelines/tags.rst#addressing-individual-tags
[2]: https://github.com/openstack/api-wg/blob/master/guidelines/http.rst#http-methods



More information about the OpenStack-dev mailing list