Create a new DocumentManager.
Optional
connectionString: stringPrivate
baseThe base URL of the remote document manager API.
Private
Optional
tokenA string that grants the bearer access to the document management API.
Create a new, empty document on the y-sweet server.
Optional
request: DocCreationRequestA DocCreationResult object containing the ID of the created document.
Private
doInternal helper for making an authorized fetch request to the API.
Internal helper for making an authorized fetch request to the API.
Get a client token for the given document.
If you are using authorization, this is expected to be called from your server after a user has authenticated. The returned token should then be passed to the client.
The ID of the document to get a token for.
Metadata associated with the request.
Generated using TypeDoc
Represents an interface to a y-sweet document management endpoint.