mirror of
https://github.com/sismics/docs.git
synced 2024-12-22 11:23:48 +01:00
fix api doc + fix translations
This commit is contained in:
parent
bd51e2ab55
commit
5d335049a2
@ -34,7 +34,7 @@ public class RouteModelResource extends BaseResource {
|
||||
*
|
||||
* @api {get} /routemodel Get route models
|
||||
* @apiName GetRouteModel
|
||||
* @apiRouteModel RouteModel
|
||||
* @apiGroup RouteModel
|
||||
* @apiParam {Number} sort_column Column index to sort on
|
||||
* @apiParam {Boolean} asc If true, sort in ascending order
|
||||
* @apiSuccess {Object[]} routemodels List of route models
|
||||
@ -77,7 +77,7 @@ public class RouteModelResource extends BaseResource {
|
||||
*
|
||||
* @api {put} /routemodel Add a route model
|
||||
* @apiName PutRouteModel
|
||||
* @apiRouteModel RouteModel
|
||||
* @apiGroup RouteModel
|
||||
* @apiParam {String} name Route model name
|
||||
* @apiParam {String} steps Steps data in JSON
|
||||
* @apiSuccess {String} id Route model ID
|
||||
@ -177,7 +177,7 @@ public class RouteModelResource extends BaseResource {
|
||||
*
|
||||
* @api {post} /routemodel/:id Update a route model
|
||||
* @apiName PostRouteModel
|
||||
* @apiRouteModel RouteModel
|
||||
* @apiGroup RouteModel
|
||||
* @apiParam {String} name Route model name
|
||||
* @apiParam {String} steps Steps data in JSON
|
||||
* @apiSuccess {String} status Status OK
|
||||
@ -226,7 +226,7 @@ public class RouteModelResource extends BaseResource {
|
||||
*
|
||||
* @api {delete} /routemodel/:id Delete a route model
|
||||
* @apiName DeleteRouteModel
|
||||
* @apiRouteModel RouteModel
|
||||
* @apiGroup RouteModel
|
||||
* @apiParam {String} id Route model ID
|
||||
* @apiSuccess {String} status Status OK
|
||||
* @apiError (client) ForbiddenError Access denied
|
||||
@ -265,7 +265,7 @@ public class RouteModelResource extends BaseResource {
|
||||
*
|
||||
* @api {get} /routemodel/:id Get a route model
|
||||
* @apiName GetRouteModel
|
||||
* @apiRouteModel RouteModel
|
||||
* @apiGroup RouteModel
|
||||
* @apiParam {String} id Route model ID
|
||||
* @apiSuccess {String} id Route model ID
|
||||
* @apiSuccess {String} name Route model name
|
||||
|
@ -38,7 +38,7 @@ public class RouteResource extends BaseResource {
|
||||
*
|
||||
* @api {post} /route/start Start a route on a document
|
||||
* @apiName PostRouteStart
|
||||
* @apiRouteModel Route
|
||||
* @apiGroup Route
|
||||
* @apiParam {String} routeModelId Route model ID
|
||||
* @apiParam {String} documentId Document ID
|
||||
* @apiSuccess {String} status Status OK
|
||||
@ -126,7 +126,7 @@ public class RouteResource extends BaseResource {
|
||||
*
|
||||
* @api {post} /route/validate Validate the current step of a route
|
||||
* @apiName PostRouteValidate
|
||||
* @apiRouteModel Route
|
||||
* @apiGroup Route
|
||||
* @apiParam {String} documentId Document ID
|
||||
* @apiParam {String} transition Route step transition
|
||||
* @apiParam {String} comment Route step comment
|
||||
@ -196,7 +196,7 @@ public class RouteResource extends BaseResource {
|
||||
* @api {get} /route Get the routes on a document
|
||||
* @apiName GetRoutes
|
||||
* @apiGroup Route
|
||||
* @apiParam {String} id Document ID
|
||||
* @apiParam {String} documentId Document ID
|
||||
* @apiSuccess {Object[]} routes List of routes
|
||||
* @apiSuccess {String} routes.name Name
|
||||
* @apiSuccess {Number} routes.create_date Create date (timestamp)
|
||||
@ -261,7 +261,7 @@ public class RouteResource extends BaseResource {
|
||||
*
|
||||
* @api {delete} /route Cancel a route
|
||||
* @apiName DeleteRoute
|
||||
* @apiRouteModel Route
|
||||
* @apiGroup Route
|
||||
* @apiParam {String} documentId Document ID
|
||||
* @apiSuccess {String} status Status OK
|
||||
* @apiError (client) ForbiddenError Access denied
|
||||
|
@ -415,7 +415,8 @@
|
||||
"Group": "Group",
|
||||
"Tag": "Tag",
|
||||
"User": "User",
|
||||
"RouteModel": "Workflow"
|
||||
"RouteModel": "Workflow model",
|
||||
"Route": "Workflow"
|
||||
},
|
||||
"selectrelation": {
|
||||
"typeahead": "Type a document title"
|
||||
|
@ -415,7 +415,8 @@
|
||||
"Group": "Groupe",
|
||||
"Tag": "Tag",
|
||||
"User": "Utilisateur",
|
||||
"RouteModel": "Workflow"
|
||||
"RouteModel": "Modèle de workflow",
|
||||
"Route": "Workflow"
|
||||
},
|
||||
"selectrelation": {
|
||||
"typeahead": "Entrez un titre de document"
|
||||
|
Loading…
Reference in New Issue
Block a user