Documents
Last updated
Was this helpful?
Last updated
Was this helpful?
Document service is at your service when managing documents
In this documentation when we reference to naviga.Document or Document we ha refering to
POST
https://cca-{region}-saas-{enviroment}.infomaker.io/twirp/cca.Documents/WriteDocument
WriteDocument is the method you would want to use when creating or updating documents.The method also contains functionality to handle optimistic locking. To use this you need to pass lockingMode and expectedRevision parameters.
uploadId
string
unit
string
document
naviga.Document
expectedRevision
string
When lockingMode is used expected revision should also be posted
lockingMode
string
Enum to enable certain locking mode when saving documents (See "Enums")
features
cca.FeatureFlag
POST
https://cca-{region}-saas-{enviroment}.infomaker.io/twirp/cca.Documents/DeleteDocument
DeleteDocument deletes a document from repository.
UUID
string
The UUID of the document that will be removed
unit
string
Under which unit are you performing this action
POST
https://cca-{region}-saas-{enviroment}.infomaker.io/twirp/cca.Documents/GetDocument
Get document retreives a document from content repo
UUID
string
Document UUID
version
int64
POST
https://cca-{region}-saas-{enviroment}.infomaker.io/twirp/cca.Documents/DocumentExists
Method to check weather a document exists, Is cheaper to use than GetDocument
UUID
string
UUID of the document
unit
string
Under which unit are you performing this action
api-method-response endapi-method-response
cca.DownloadType DownloadType can be passed as a parameter when downloading assets
cca.LockingMode Locking mode is passed as a parameter when saving documents
cca.ProcessingStatus