summaryrefslogtreecommitdiff
path: root/lib/api/milestones.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix the test and add documentation for the "per-milestone issues API call"Hannes Rosenögger2015-01-221-1/+1
|
* Add per-milestone issues API callJustin Whear2015-01-221-0/+15
|
* Add a message when unable to save an object through api.Marin Jankovski2015-01-071-2/+2
|
* Forward the messages in api response.Marin Jankovski2014-12-301-2/+2
|
* Replace milestone observer with servicesDmitriy Zaporozhets2014-06-101-19/+16
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fixing unsafe use of Thread.current variable :current_userAngus MacArthur2013-10-161-15/+19
|
* Fix milestone api docs: invalid param for closeDmitriy Zaporozhets2013-06-061-1/+1
|
* Refactor API classes. So api classes like Gitlab::Issues become API::IssuesDmitriy Zaporozhets2013-05-141-1/+1
|
* API: extracted helper method to validate required parameters, code clean upSebastian Ziebell2013-02-271-2/+1
| | | | | | Added a helper method to check if required parameters are given in an API call. Can be used to return a `400 Bad Request` return code if a required attribute is missing. Code clean up and fixed tests.
* API documentation update for milestonesSebastian Ziebell2013-02-201-16/+2
| | | | Updated the milestones API documentation and added return codes descriptions.
* Merge branch 'master' into fixes/apiSebastian Ziebell2013-02-201-2/+2
|\ | | | | | | | | Conflicts: spec/requests/api/projects_spec.rb
| * Milestone uses StateMachine nowAndrew8xx82013-02-181-2/+2
| |
* | API: extracted helper method to provide 400 bad request error with descriptionSebastian Ziebell2013-02-131-1/+1
| | | | | | | | | | | | Extracted a method for 400 error (Bad request) and adjusted code accordingly. The name of the missing attribute is used to show which one was missing from the request. It is used to give an appropriate message in the json response.
* | Status code 400 returned if title not given in a milestone (via API)Sebastian Ziebell2013-02-061-0/+16
|/ | | | | | If a milestone is created via API but no title given then status code 400 (Bad request) is returned instead of 404. A small helper method handles the errors collection of a milestone.
* Remove all references tp the project code parameter from the APIRiyad Preukschas2012-12-211-4/+4
|
* APi for commits. Better api docsDmitriy Zaporozhets2012-09-211-0/+6
|
* Method name changedAlex Denisov2012-09-161-2/+2
|
* API attributes refactoredAlex Denisov2012-09-161-14/+4
|
* Error throwing moved to api_helperAlex Denisov2012-09-101-2/+2
|
* Auth for APIrandx2012-09-101-0/+2
|
* add pagination to APINihad Abbasov2012-09-031-1/+1
|
* Add milestone API docs to doc/README and views/help/apiRobert Speicher2012-08-291-3/+2
| | | | Also removes `closed` attribute option from create action.
* Remove DELETE API for MilestonesRobert Speicher2012-08-221-12/+0
|
* Add API for MilestonesRobert Speicher2012-08-161-0/+93