mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-14 19:56:23 +00:00
change apidoc to explain that the equip route also unequips
This commit is contained in:
parent
4a55d36831
commit
ad191c2c5c
1 changed files with 3 additions and 3 deletions
|
|
@ -948,12 +948,12 @@ api.hatch = {
|
|||
};
|
||||
|
||||
/**
|
||||
* @api {post} /api/v3/user/equip/:type/:key Equip an item
|
||||
* @api {post} /api/v3/user/equip/:type/:key Equip or unequip an item
|
||||
* @apiName UserEquip
|
||||
* @apiGroup User
|
||||
*
|
||||
* @apiParam (Path) {String="mount","pet","costume","equipped"} type The type of item to equip
|
||||
* @apiParam (Path) {String} key The item to equip
|
||||
* @apiParam (Path) {String="mount","pet","costume","equipped"} type The type of item to equip or unequip
|
||||
* @apiParam (Path) {String} key The item to equip or unequip
|
||||
*
|
||||
* @apiParamExample {URL} Example-URL
|
||||
* https://habitica.com/api/v3/user/equip/equipped/weapon_warrior_2
|
||||
|
|
|
|||
Loading…
Reference in a new issue