Expand description
Procedures to create and manipulate documents.
Structsยง
- NewDoc
Socket Response - RefContent
- A document ref along with its content.
- RefQuery
Params - Parameters for filtering a search of refs
- RefStub
- A subset of user relevant information about a ref. Used for showing users information on a variety of refs without having to load whole refs.
Functionsยง
- autosave
- Saves the document by overwriting the snapshot at the current head.
- call_
automerge_ ๐io - clone_
automerge_ ๐doc - create_
automerge_ ๐doc - create_
snapshot - Saves the document by replacing the head with a new snapshot.
- doc_id
- head_
snapshot - Gets the content of the head snapshot for a document ref.
- new_ref
- Creates a new document ref with initial content.
- search_
ref_ stubs - Searches for
RefStub
s that the current user has permission to access, returning lightweight metadata about each matching ref - start_
listening_ ๐automerge_ doc