Bug 13895: Change renewal endpoint
authorJosef Moravec <josef.moravec@gmail.com>
Thu, 21 Feb 2019 00:26:17 +0000 (00:26 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 1 Apr 2019 14:01:59 +0000 (15:01 +0100)
commit1a4a1170eedc79723cf46f6b44f82198702330e2
treead10a2cf74494ade28008803454da66a52c39ee2
parent8192499d5b5e72a3d3ced773378dfa9f8df82dba
Bug 13895: Change renewal endpoint

Instead of PUT on /checkout/{checkout_id} endpoint, you should now call
POST on /checkouts/{checkout_id}/renewal

Test plan:
prove t/db_dependent/api/v1/checkouts.t

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 95d23bc3c38f3cd6a4e6be3aac451c3899cccc83)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
api/v1/swagger/paths.json
api/v1/swagger/paths/checkouts.json
t/db_dependent/api/v1/checkouts.t