craton/craton/api/v1/resources/inventory
git-harry cbb246111b Add http_codes decorator where missing
This commit adds the decorator http_codes to a number of the API put
methods so that all now use it. This ensures any exceptions generated by
the methods return the expected status code and the response body is
JSON encoded.

Change-Id: Id24ef3687afe21e36adae225efdef7150b5d5318
Partial-bug: 1665015
2017-03-09 09:16:51 +00:00
..
__init__.py Adds project and user api endpoints 2016-08-24 09:34:05 +01:00
ansible_inventory.py Pass request data as an argument to API methods 2017-01-16 17:16:16 +00:00
cells.py Add http_codes decorator where missing 2017-03-09 09:16:51 +00:00
clouds.py Allow resolved vars in details list calls 2017-03-03 11:10:47 +00:00
devices.py Allow resolved vars in details list calls 2017-03-03 11:10:47 +00:00
hosts.py Add http_codes decorator where missing 2017-03-09 09:16:51 +00:00
networks.py Add http_codes decorator where missing 2017-03-09 09:16:51 +00:00
regions.py Add http_codes decorator where missing 2017-03-09 09:16:51 +00:00