Commit graph

11 commits

Author SHA1 Message Date
oxalica
51e2c8418b Include cid in item responses and update docs 2024-09-06 02:27:53 -04:00
oxalica
a7f260027d Use simplified Snowflake ID generation
This prevents leaking server information to client with little effort.
2024-09-06 02:06:44 -04:00
oxalica
59d51937da Switch room identifier from UUID to stringified i64 2024-09-06 02:06:14 -04:00
oxalica
a37bc3f81e Return the latest message in room list for display 2024-09-03 15:09:54 -04:00
oxalica
2b6fbe8794 Impl global room listing at /room 2024-09-03 04:08:34 -04:00
oxalica
b05f704406 Rework /room/{}/item and pagination query
- Now it use `skipToken` and `top` to (mostly) align to OData spec.

- Its response type is now a normal struct and is documented.

- Room metadata is now excluded from room item query.
2024-09-03 04:08:34 -04:00
oxalica
77216aa0f8 Switch from event stream to WebSocket for events 2024-09-02 23:43:26 -04:00
oxalica
263c0ca44b Fix typos 2024-08-31 22:39:09 -04:00
oxalica
5d15900436 Impl /room and /room/{ruuid}/admin endpoints 2024-08-31 18:33:23 -04:00
oxalica
4937502d4c Define error response format and refactor error handling 2024-08-31 00:04:16 -04:00
oxalica
668b873b07 Reorganize workspace layout and split out blahd 2024-08-31 00:04:16 -04:00