File Types Service

Back

Overview

File Types define categories for file attachments, allowing consistent classification and organization.

They provide:

File types are referenced by files but are managed independently.

All file type operations are tenant-aware and scoped to the current tenant.


Endpoints

Back to Files

GET

/api/v1/FileTypes/{id}

Returns a single file type by its numeric identifier.

Path parameters:

Behavior:

Authorization:


GET

/api/v1/FileTypes

Returns all file types.

Behavior:

Authorization:


POST

/api/v1/FileTypes

Creates a new file type.

Request body:

Behavior:

Errors:

Authorization:


PUT

/api/v1/FileTypes/{id}

Updates an existing file type.

Request:

Behavior:

Errors:

Authorization:


DELETE

/api/v1/FileTypes/{id}

Deletes a file type by its identifier.

Behavior:

Errors:

Authorization:


Notes