Loop/Architecture/Rooms: Difference between revisions

Jump to navigation Jump to search
Line 259: Line 259:
''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 ===
=== PATCH /rooms ===


Destroys a list of user's previously-created rooms.
Destroys a list of user's previously-created rooms.


  DELETE /rooms HTTP/1.1
  PATCH /rooms HTTP/1.1
  Accept: */*
  Accept: */*
  Accept-Encoding: gzip, deflate
  Accept-Encoding: gzip, deflate
Line 270: Line 270:
  Host: localhost:5000
  Host: localhost:5000


  {"roomTokens": ["_nxD4V4FflQ", "_xaB2Z5GdTV"]}
  {"deleteRoomTokens": ["_nxD4V4FflQ", "_xaB2Z5GdTV"]}




68

edits

Navigation menu