rcos / observatory-server

A project tracking dashboard for Rensselaer Center for Open Source
https://rcos.io
MIT License
14 stars 51 forks source link

Commit Controller Documentation #693

Closed aeksco closed 6 years ago

aeksco commented 6 years ago

Document the following in /server/api/commit/commit.controller.js

Notes

We'll be using APIDoc.js to auto-generate documentation from our source code. Please replicate the following example for each method in the controller

/**
* @api {get} /api/achievements Index
* @apiName index
* @apiGroup Achievements
* @apiDescription Get list of Achievements
* @apiPermission public
* @apiSuccess {Collection} root Collection of all active Observatory Achievements.
* @apiError (500) UnknownException Could not retrieve Achievement collection
*/
module.exports.index = function (req, res) { }