Private ReadonlydiscoveryPrivate ReadonlyhttpPrivate ReadonlyloggerUpload parameters including file name, MIME type, and entity ID.
The authenticated user's ID, forwarded via X-User-Id header.
The authenticated user's role, forwarded via X-User-Role header.
The generated upload URL with its expiration and HTTP method.
Deletes a single file by its ID.
UUID of the file to delete.
Deletes multiple files in a single request.
Array of file UUIDs to delete.
Checks whether a file exists via a HEAD request.
Returns { exists: false } when the service responds with 404
instead of throwing an exception.
UUID of the file to check.
PrivategetResolves the File Manager base URL via Consul service discovery.
Retrieves a single file's metadata by its ID, including a temporary download URL.
UUID of the file to retrieve.
Retrieves metadata for multiple files in a single request.
Array of file UUIDs to retrieve.
Lists all files belonging to a given entity.
The entity whose files should be listed.
PrivatehandleConverts an Axios error into a FileManagerException. Non-Axios errors are re-thrown as-is.
Creates a pre-signed upload URL for a file.