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:
parent
e9c1e7ba10
commit
402066405e
@ -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
|
.Response
|
||||||
----
|
----
|
||||||
HTTP/1.1 200 OK
|
HTTP/1.1 204 No Content
|
||||||
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,
|
|
||||||
}
|
|
||||||
]
|
|
||||||
----
|
----
|
||||||
|
|
||||||
[[default-star-endpoints]]
|
[[default-star-endpoints]]
|
||||||
|
Loading…
Reference in New Issue
Block a user