Update a file or canvas's sharing
Replaces the sharing of one file or canvas. Only the chat’s owner or the person who added the item can change it. Send the revision you read as expectedRevision so a change someone else saved meanwhile is refused with 409 instead of overwritten. Links don’t expire; turning the public link off kills it for good.
Authorizations
The full Cookie header copied from a signed-in connie.ai browser request. See the Authentication page.
Body
The chat's workspace.
file, canvas chat = people who can open the chat; workspace = everyone in the workspace.
chat, workspace anyone turns on the public link.
invited, anyone Extra workspace members who can open it. Replaces the current list.
200Protects the public link. Omit to keep the current password, null to remove it. Needs externalAccess set to anyone.
10 - 256The revision you read, or null if the item had never been shared.
Response
The saved settings.
True when you can change this sharing.
The chat's owner.
chat, workspace invited, anyone Path of the in-app link for teammates, such as /artifacts/<id>. Prefix it with https://connie.ai.
Path of the public link. Shown only to people who can change the sharing.
Pass back as expectedRevision when you update.