Repository navigation
unitysvc-py 0.2.4
Rooms: find an enrollment's rooms, leave a chat room, an owner-set room status, and a usvc rooms CLI with a Rooms guide.
client.rooms.list()takesenrollment=andservice=next tokind=. Each takes an id or an SDK object and matches that exact scope (a service's own rooms, not its enrollments' rooms).enrollment.rooms()lists the rooms of one enrollment, onEnrollmentandAsyncEnrollment.client.rooms.leave(room)leaves a room the account joined, where the room kind allows it (chat rooms; never the owner).client.rooms.update(room, status="readonly")lets only the owner and moderators post;status="active"reopens the room. Room views carrystatus_changed_at.- Room views no longer carry
permanent,expires_atoridle_expiry_seconds, androoms.update()no longer accepts the last two: rooms don't expire. A room'sroleis the one you hold now, and an enrollment's rooms close while it is paused or cancelled. - New
usvc roomscommand group:list,show,post,members,set,delivery,invite,invitations,revoke,join,leave.--format jsonwrites plain JSON, and room content is always printed literally. - New Rooms guide.
The enrollment and service filters, leave() and status need a backend with unitysvc/unitysvc#2841 and unitysvc/unitysvc#2848.