mirror of
https://github.com/sismics/docs.git
synced 2025-12-15 10:46:26 +00:00
update api doc
This commit is contained in:
@@ -179,6 +179,7 @@ public class GroupResource extends BaseResource {
|
|||||||
* @apiSuccess {String} status Status OK
|
* @apiSuccess {String} status Status OK
|
||||||
* @apiError (client) ForbiddenError Access denied
|
* @apiError (client) ForbiddenError Access denied
|
||||||
* @apiError (client) NotFound Group not found
|
* @apiError (client) NotFound Group not found
|
||||||
|
* @apiError (client) GroupUsedInRouteModel The group is used in a route model
|
||||||
* @apiPermission admin
|
* @apiPermission admin
|
||||||
* @apiVersion 1.5.0
|
* @apiVersion 1.5.0
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -436,6 +436,7 @@ public class UserResource extends BaseResource {
|
|||||||
* @apiGroup User
|
* @apiGroup User
|
||||||
* @apiSuccess {String} status Status OK
|
* @apiSuccess {String} status Status OK
|
||||||
* @apiError (client) ForbiddenError Access denied or the user cannot be deleted
|
* @apiError (client) ForbiddenError Access denied or the user cannot be deleted
|
||||||
|
* @apiError (client) UserUsedInRouteModel The user is used in a route model
|
||||||
* @apiPermission user
|
* @apiPermission user
|
||||||
* @apiVersion 1.5.0
|
* @apiVersion 1.5.0
|
||||||
*
|
*
|
||||||
@@ -501,6 +502,7 @@ public class UserResource extends BaseResource {
|
|||||||
* @apiSuccess {String} status Status OK
|
* @apiSuccess {String} status Status OK
|
||||||
* @apiError (client) ForbiddenError Access denied or the user cannot be deleted
|
* @apiError (client) ForbiddenError Access denied or the user cannot be deleted
|
||||||
* @apiError (client) UserNotFound The user does not exist
|
* @apiError (client) UserNotFound The user does not exist
|
||||||
|
* @apiError (client) UserUsedInRouteModel The user is used in a route model
|
||||||
* @apiPermission admin
|
* @apiPermission admin
|
||||||
* @apiVersion 1.5.0
|
* @apiVersion 1.5.0
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user