cloudkitty/releasenotes/notes/fix-quote-v1-api-7282f01b596f0f3b.yaml
Rafael Weingärtner 21a873041c Fix quote API
The quote API method has been broken for a while now. This patch fixes
the API and makes it work again. To use it, one can issue the following
command.

    curl -s -X POST "http://cloudkitty_server_and_port/v1/rating/quote" -H "Accept: application/json" -H "User-Agent: python-keystoneclient" -H "Content-Type: application/json" -H "X-Auth-Token: ${ACCESS_TOKEN_KEYSTONE}" -d '{"resources": [{"service": "<cloudkitty_service_name>", "volume": "<quantity_to_quote>", "desc": {"metadata": {"<field_name_used_to_define_price>": "<value_to_activate_a_price>"}}}]}'

Change-Id: Ia6ef6543a5100445b203196d39b404bc74b75ba0
Story: 2009022
Task: 42744
2021-12-13 15:08:05 +01:00

6 lines
143 B
YAML

---
fixes:
- |
Fixes the quote API method. See story 2009022
<https://storyboard.openstack.org/#!/story/2009022>`_ for more details.