summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2016-06-16 11:12:42 +0200
committerRobert Schilling <rschilling@student.tugraz.at>2016-07-01 14:51:59 +0200
commitfd9cd5ae8cd2d2f5488635b264eb86d89d768d66 (patch)
treedb0e2cd67cad3dda6c1bb01fbd8e4cd5b0e386af /lib/api
parent40c685c510fff48e0dc6a49c61704e8244ec6034 (diff)
downloadgitlab-ce-fd9cd5ae8cd2d2f5488635b264eb86d89d768d66.tar.gz
Add todos API documentation and changelog
Diffstat (limited to 'lib/api')
-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