Skip to content

Commit

Permalink
Merge pull request #396 from wazuh/fix-docstrings-api
Browse files Browse the repository at this point in the history
Fix docstring in agent controller
  • Loading branch information
crd1985 authored May 28, 2019
2 parents a5cee5c + 4f9a0fd commit a3bd01f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions controllers/agents.js
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ router.post('/group/:group_id', function(req, res) {
* @apiName DeleteAgentsGroups
* @apiGroup Delete
*
* @apiParam {String} Name of groups separated by commas.
* @apiParam {String} ids Name of groups separated by commas.
*
* @apiDescription Removes a list of groups.
*
Expand Down Expand Up @@ -1048,7 +1048,7 @@ router.delete('/groups/:group_id', function(req, res) {
* @apiName DeleteAgents
* @apiGroup Delete
*
* @apiParam {String} Agent IDs separated by commas.
* @apiParam {String} ids Agent IDs separated by commas.
* @apiParam {Boolean} purge Delete an agent from the key store.
* @apiParam {String="active", "pending", "neverconnected", "disconnected"} [status] Filters by agent status. Use commas to enter multiple statuses.
* @apiParam {String} older_than Filters out disconnected agents for longer than specified. Time in seconds, '[n_days]d', '[n_hours]h', '[n_minutes]m' or '[n_seconds]s'. For never connected agents, uses the register date. Default value: 7d.
Expand Down Expand Up @@ -1221,7 +1221,7 @@ router.post('/insert', function(req, res) {

/**
* @api {get} /agents/stats/distinct Get distinct fields in agents
* @apiName GetdistinctAgentsagents
* @apiName GetdistinctAgents
* @apiGroup Stats
*
* @apiParam {Number} [offset] First element to return in the collection.
Expand Down

0 comments on commit a3bd01f

Please sign in to comment.