Skip to main content

File Types

Sometimes the information gotten from an API contains files, such as images, pdf, etc. That info can't be represented using the JSON format. When dealing with files, we can't define the data type as a Document Type, we need to define a File Type instead.

File Types allow to store files as records. Files content can be validated against a schema. If no schema is defined, then the file content can have any structure.

You can manage file types via CENIT IO API V2. See this API Spec in section File Types

The File Type submenu allows to define new File Types.

Add New File Type​

For creating a new File Type, click the New button (+) in the Generic Menu and fill every input field.

File Types

New File Type

Note that creating a File Type is similar to create a Document Type. However, on this case, defining the schema is not mandatory considering sometimes we need to say the data is a png image and we don't need to worry about its structure.