Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2016-06-16 12:12:42 +0300
committerRobert Schilling <rschilling@student.tugraz.at>2016-07-01 15:51:59 +0300
commitfd9cd5ae8cd2d2f5488635b264eb86d89d768d66 (patch)
treedb0e2cd67cad3dda6c1bb01fbd8e4cd5b0e386af /lib/api/todos.rb
parent40c685c510fff48e0dc6a49c61704e8244ec6034 (diff)
Add todos API documentation and changelog
Diffstat (limited to 'lib/api/todos.rb')
-rw-r--r--lib/api/todos.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/api/todos.rb b/lib/api/todos.rb
index 10fd2aac092..67714a796c7 100644
--- a/lib/api/todos.rb
+++ b/lib/api/todos.rb
@@ -21,13 +21,12 @@ module API
present paginate(todos), with: Entities::Todo
end
- # Mark todo as done
+ # Mark a todo as done
#
# Parameters:
# id: (required) - The ID of the todo being marked as done
#
# Example Request:
- #
# DELETE /todos/:id
#
delete ':id' do
@@ -40,7 +39,6 @@ module API
# Mark all todos as done
#
# Example Request:
- #
# DELETE /todos
#
delete do