mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-14 19:56:23 +00:00
add qty param for gem/gem-purchasable item apidoc (#14219)
* add qty param for gem/gem-purchasable item * fix(lint): remove extra whitespace Co-authored-by: SabreCat <sabe@habitica.com>
This commit is contained in:
parent
3f9d55254e
commit
137f7d53dc
1 changed files with 4 additions and 0 deletions
|
|
@ -978,6 +978,10 @@ api.disableClasses = {
|
|||
,"food","quests","gear"} type Type of item to purchase.
|
||||
* @apiParam (Path) {String} key Item's key (use "gem" for purchasing gems)
|
||||
*
|
||||
* @apiParam (Body) {Integer} [quantity=1] Count of items to buy.
|
||||
* Defaults to 1 and is ignored
|
||||
* for items where quantity is irrelevant.
|
||||
*
|
||||
* @apiSuccess {Object} data.items user.items
|
||||
* @apiSuccess {Number} data.balance user.balance
|
||||
* @apiSuccess {String} message Success message
|
||||
|
|
|
|||
Loading…
Reference in a new issue