68
edits
(Add the DELETE /rooms endpoint) |
|||
| Line 35: | Line 35: | ||
|- | |- | ||
| Wed Oct 22 15:16:38 UTC 2014 || Adam Roach || Modifications based on discussion in {{Bug|1074665}}: list of rooms now contains the same information as is indicated when retrieving a single room directly. Additionally, when getting a versioned list of rooms, any rooms that have been deleted since the indicated version will be listed, with a "deleted: true" field. | | Wed Oct 22 15:16:38 UTC 2014 || Adam Roach || Modifications based on discussion in {{Bug|1074665}}: list of rooms now contains the same information as is indicated when retrieving a single room directly. Additionally, when getting a versioned list of rooms, any rooms that have been deleted since the indicated version will be listed, with a "deleted: true" field. | ||
|- | |||
| Mon Dec 29 16:55:10 UTC 2014 || Rémy Hubscher || Proposal to handle {{Bug|1106562}}: Multiple rooms deletion in one HTTP call. | |||
|} | |} | ||
| Line 256: | Line 258: | ||
''Client implementation note: Before deleting a room, the client should check room membership and forceDisconnect() all current participants'' | ''Client implementation note: Before deleting a room, the client should check room membership and forceDisconnect() all current participants'' | ||
=== DELETE /rooms === | |||
Destroys a list of user's previously-created rooms. | |||
DELETE /rooms HTTP/1.1 | |||
Accept: */* | |||
Accept-Encoding: gzip, deflate | |||
Authorization: <stripped> | |||
Content-Length: 0 | |||
Host: localhost:5000 | |||
{"rooms": ["_nxD4V4FflQ", "_xaB2Z5GdTV"]} | |||
HTTP/1.1 204 No Content | |||
Connection: keep-alive | |||
Date: Wed, 16 Jul 2014 13:12:46 GMT | |||
Server-Authorization: <stripped> | |||
''Client implementation note: Before deleting a room, the client should check room membership and forceDisconnect() all current participants'' | |||
=== GET /rooms/{token} === | === GET /rooms/{token} === | ||
edits