Fix documentation of the REST endpoint for deleting watched projects

The REST endpoint returns '204 No Content' and not the list of watched
projects.

Change-Id: I013ff0ed15ff44dd086d61af1ad4d82d14826c96
Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
Edwin Kempin 2016-07-07 11:03:36 +02:00
parent e9c1e7ba10
commit 402066405e
1 changed files with 1 additions and 17 deletions

View File

@ -1653,25 +1653,9 @@ can contain a list of link:#project-watch-info[ProjectWatchInfo] entities.
]
----
As result the watched projects of the user are returned as a list of
link:#project-watch-info[ProjectWatchInfo] entities.
The result is sorted by project name in ascending order.
.Response
----
HTTP/1.1 200 OK
Content-Disposition: attachment
Content-Type: application/json; charset=UTF-8
)]}'
[
{
"project": "Test Project 2",
"notify_new_changes": true,
"notify_new_patch_sets": true,
"notify_all_comments": true,
}
]
HTTP/1.1 204 No Content
----
[[default-star-endpoints]]