Documents
Last updated
Last updated
Document service is at your service when managing documents
In this documentation when we reference to naviga.Document or Document we ha refering to Naviga Doc Format
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.
Name | Type | Description |
---|---|---|
POST
https://cca-{region}-saas-{enviroment}.infomaker.io/twirp/cca.Documents/DeleteDocument
DeleteDocument deletes a document from repository.
POST
https://cca-{region}-saas-{enviroment}.infomaker.io/twirp/cca.Documents/GetDocument
Get document retreives a document from content repo
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
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
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
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
UUID
string
The UUID of the document that will be removed
unit
string
Under which unit are you performing this action
UUID
string
Document UUID
version
int64
UUID
string
UUID of the document
unit
string
Under which unit are you performing this action