Complete API reference for TinyDS document management system
List documents accessible to the authenticated user.
Get document metadata and download URL.
Create new document and get upload URL.
Create new version of existing document and get upload URL.
Complete multipart upload.
Abort multipart upload.
Update document metadata.
Delete document and all versions.
Delete specific document version.
Get document for inline display (not as attachment).
Get total document count for user.
Health check endpoint.
Link document to another document.
Remove link between documents.
List all linked documents.
Lock document to prevent modifications.
Unlock document.
Get document lock status.
Get document comments.
Add comment to document.
Get document annotations.
Append annotation to document.
Set/replace document annotations.
Remove annotation from document.
Add viewer to document.
Get list of document viewers.
View document (for external viewers). Renders view page.
Proxy endpoint to stream document content to viewer.
Upload file to GridFS using signed token. Automatically extracts words from PDFs.
Download file from GridFS using signed token.
Display login page with support for different authentication types (bankid, freja, or standard username/password).
Display login page for external users (viewers/signers).
Authenticate user and return access tokens.
Authenticate external user with email and verification code.
Returns access token and refresh token. Sets HTTP-only cookie with access token.
Generate and send verification code to external user's email.
Logout user and invalidate tokens.
Refresh access token using refresh token.
Returns new refresh_token and access_token.
Display user registration page.
Register new user account.
Generate and send registration verification code.
Check if user credentials are valid.
Validate password and send 2FA code via SMS or email.
Get list of users in the system.
Get current user's profile.
Update user profile (merge with existing).
Set user profile (replace existing).
Delete fields from user profile.
Display signature page for external signer.
Sign document with optional signature image and message.
Proxy endpoint to stream PDF for signing.
Validate document signatures.
Add signer to document.
Get list of document signers.
List templates available to user for specific document type.
Create document from template.
Get document types available to user.
Add or update document type for user.
Add document type for user.
Add custom field for user.
Get admin resource(s). Operation can be: field, type, permission, role, user, or template.
Create new admin resource.
Update existing admin resource.
Delete admin resource.
S3/MinIO event webhook for automatic document processing. Triggered when files are uploaded to S3/MinIO buckets.
S3 event notification format with Records array containing bucket, key, etag, size, and metadata.
DO_NOTIFY=Y to enable Pusher notifications. This endpoint is typically called by MinIO/S3 event notifications, not directly by clients.