You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
setMemberLenses(worldId, memberId, lensIds): PATCH /account/worlds/{world_id}/members/{member_id} with { lenses } alone, the lenses a row starts with, lens ids in order (0 to 20, [] for none, which is a choice). An account token's call: a member sets its own row, a seat it answers for, or any seat as a co-builder; the owner any seat, and its own list with 'owner' as memberId. Nothing but lenses is sent. A world key, or anything but a list, is a TypeError before sending. keel's codes are the 404 for a lens you or the row's holder cannot see, 422 not_a_lens, lens_is_template and lens_hidden, and 422 when the owner names a person's row.
OwMemberLenses: what setMemberLenses returns, keel's MemberLenses: id (null for the owner's own list), role, kind (owner for the owner's own list), lenses as you are shown it, and x_served_trimmed, the served-only mark naming lenses when the list keeps a lens you cannot see.
expiresAt on completeSignIn's result: when the account token stops working, as the exchange now answers it (expires_at), for a tool whose registration asks for a lifetime; null for one with none, whose token works until it is revoked, and from a server that does not send it.
Changed
worldLenses and setMyLenses take an account token, as keel's document now declares. worldLenses(worldId) sends the Bearer token alone, the world in its path, no world=. setMyLenses(lensIds) sets your own list in the world the client's world names, sending world=<id> and the Bearer token; an account client without world set is a TypeError before sending. On a world key both send as before (setMyLenses with its PIN, never a world). request() takes the rule as an option, accountToken: 'path' | 'world', beside worldRead.