invantive documentation
Invantive Support ForumsLog In / Sign Up

DocumentFileById: Notubiz itgen_nbz_document_file_by_id

read only REST

  • Catalog: Notubiz
  • Schema: Documents
  • Primary Keys: document_id, version
  • Label: itgen_nbz_document_file_by_id

Can only retrieve data.

Summary

The file of one version of a document, mostly a PDF. Fetched once per machine and then answered from the shared disk cache, since a changed document gets a new version: two requests the first time, one afterwards. One request per call; an id Notubiz does not know answers no rows.

API Source

  • Endpoint: /document/{id}/{version}

Performance Characteristics

Characteristic Value
Estimated rows 1
Average access latency (ms) 600
Full scan rows per minute 12,000
Point query rows per minute 30

Parameters

Name Data Type Required Default Documentation
document_id number The id of the document.
version number The version; the current one when empty.

Table Columns

The columns of the table DocumentFileById are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
contents blob itgen_nbz_contents filters on the platform, writable The file.
document_id int64 itgen_nbz_document_id filters on the platform, writable The document.
file_name varchar2 itgen_nbz_file_name filters on the platform, writable The name of the file.
file_size int64 itgen_nbz_file_size filters on the platform, writable The size in bytes.
mime_type varchar2 itgen_nbz_mime_type filters on the platform, writable The kind of file.
version int32 itgen_nbz_version filters on the platform, writable The version.