Files
Files service should be used primarily when uploading or downloading files.
Methods
GetStatus
POST https://cca-{region}-saas-{enviroment}.infomaker.io/twirp/cca.Files/GetStatus
Method to call at an interval to check status of an ongoing upload
Request Body
uploadId
string
The uploadId (Received when an upload is started)
GetArtifact
POST https://cca-{region}-saas-{enviroment}.infomaker.io/twirp/cca.Files/GetArtifact
Method returns content (as base64 encoded) from artifact file.
Request Body
uploadId
string
The uploadid (Received when an upload is started)
name
string
Name of the file
CreateUpload
POST https://cca-{region}-saas-{enviroment}.infomaker.io/twirp/cca.Files/CreateUpload
Initiate a new upload.
Request Body
filename
string
CreateDownload
POST https://cca-{region}-saas-{enviroment}.infomaker.io/twirp/cca.Files/CreateDownload
Initiate a new download
Request Body
UUID
string
UUID of document
type
cca.DownloadType
optional with value 'original' or 'presentation', see DownloadType enum
GetDownloadStatus
POST https://cca-{region}-saas-{enviroment}.infomaker.io/twirp/cca.Files/GetDownloadStatus
Method to call at an interval to check status of downloadable image
Request Body
downloadId
string
ID of the requested download
api-method-response endapi-method-response
Enums
cca.DownloadType DownloadType can be passed as a parameter when downloading assets
TYPE_UNKNOWN
TYPE_ORIGINAL
TYPE_PRESENTATIONcca.LockingMode Locking mode is passed as a parameter when saving documents
NONE
OPTIMISTIC_LOCKING
PESSIMISTIC_LOCKINGcca.ProcessingStatus
UNKNOWN
IN_PROGRESS
DONE
ERRORLast updated
Was this helpful?