mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
7837-Update API Docs (#7839)
* Updated API Docs for api-v3 * Updated API Docs for top-level * Updates relating to @crookedneighbor comments * Updated type and field of 'to' param.
This commit is contained in:
committed by
Blade Barringer
parent
795ea8ba80
commit
7c579bf850
@@ -13,11 +13,11 @@ let api = {};
|
||||
* @apiName UserAddPushDevice
|
||||
* @apiGroup User
|
||||
*
|
||||
* @apiParam {string} regId The id of the push device
|
||||
* @apiParam {string} type The type of push device
|
||||
* @apiParam {String} regId The id of the push device
|
||||
* @apiParam {String} type The type of push device
|
||||
*
|
||||
* @apiSuccess {Object} data List of push devices
|
||||
* @apiSuccess {string} message Success message
|
||||
* @apiSuccess {String} message Success message
|
||||
*/
|
||||
api.addPushDevice = {
|
||||
method: 'POST',
|
||||
@@ -58,10 +58,10 @@ api.addPushDevice = {
|
||||
* @apiName UserRemovePushDevice
|
||||
* @apiGroup User
|
||||
*
|
||||
* @apiParam {string} regId The id of the push device
|
||||
* @apiParam {String} regId The id of the push device
|
||||
*
|
||||
* @apiSuccess {Object} data List of push devices
|
||||
* @apiSuccess {string} message Success message
|
||||
* @apiSuccess {String} message Success message
|
||||
*/
|
||||
api.removePushDevice = {
|
||||
method: 'DELETE',
|
||||
|
||||
Reference in New Issue
Block a user