{"format_version": 1,"id": "call_link","name": "Call link","plural": "Call links","picture": null,"builtin": true,"delete": false,"engine": "calls","columns": [ {"key": "label","name": "Name","type": "text","required": true,"placeholder": "Weekly check-in" }, {"key": "event","name": "For","type": "link","link_to": "event","placeholder": "No event","contributes": false }, {"key": "lasts","name": "Lets guests in for","type": "choice","choices": ["hour","day","week","month" ],"labels": {"hour": "An hour","day": "A day","week": "A week","month": "A month" },"default": "day" }, {"key": "admit","name": "Guests","type": "choice","choices": ["lobby","anyone_with_link" ],"labels": {"lobby": "Wait to be let in","anyone_with_link": "Walk straight in" },"default": "lobby" }, {"key": "kind","name": "Call","type": "choice","choices": ["audio","video" ],"labels": {"audio": "Audio","video": "Video" },"default": "audio" }, {"key": "expires_at","name": "Lets guests in until","type": "date","readonly": true }, {"key": "revoked_at","name": "Revoked","type": "date","readonly": true } ],"title": "label","date": "expires_at","project": null,"order": null,"slip": {"title": "label","subtitle": "admit","trailing": "expires_at","photo": null,"toggle": null },"tile": {"face": "slip-list" },"page": [ {"heading": null,"columns": ["label","event","lasts","admit","kind" ] }, {"heading": null,"columns": ["expires_at","revoked_at" ] } ],"sort": {"column": "expires_at","descending": true },"instructions": "A call link lets guests join a call from a browser, without Cotton: a name, the event it is for, how long it lets guests in, whether someone in the call lets each guest in, and audio or video. The link is shown once, when it is made; the Mac keeps only its hash. Revoking a link turns away anyone it let in.","empty": {"title": "No call links yet","message": "Make a call link from Calls to let guests join from a browser." },"commands": [ {"id": "make_link","label": "Make the link","object": "link","kind": "create","method": "calls.makeLink","bindings": {"label": "label","event": "event","lasts": "lasts","admit": "admit","kind": "kind" },"form": true,"receipt": "Call link made","reveals": {"answer": "url","record": "link","title": "Your call link","note": "Anyone with this link can join. It is shown only now." } }, {"id": "revoke","label": "Revoke","object": "unlink","kind": "update","method": "calls.revokeLink","bindings": {"link": "$id" },"when": {"revoked_at": false },"destructive": true,"confirm": "Anyone with this link can no longer join.","receipt": "Call link revoked","does": "destroys" }, {"id": "event","label": "Open event","kind": "open","opens": "event" } ],"parts": {"shape": "sheet","head": {"facts": [] },"links": [],"lists": [],"acts": {"main": "make_link","more": ["event" ],"away": "revoke" },"cards": [ {"column": "lasts" }, {"column": "admit" }, {"column": "kind" }, {"column": "expires_at" }, {"column": "revoked_at" } ],"strip": [] },"tables": [],"add": false,"readonly_when": "expires_at"}