Public documents are documents with the
isPublic flag set to true. They can be viewed by anyone, but can only be annotated by members of the document (by default).
Creating a public document
Editing a document to be public
Users have the ability to join public documents without an invite. This is required to annotate on the document.
To add the current user to a public document, use the Document.join API.
Returns a promise that resolves to a boolean representing that the operation was successful. Throws an error if the document is not public.
Document.join, you may want to check if the user is allowed to join the document.
To do this, use the
Returns a boolean representing if the user can join the document.
A list of all documents can be fetched with the getPublicDocumentPaginator API.