API conventions
All Flux API endpoints follow a strict set of conventions.Base path and versioning
Every endpoint starts with/api/ followed by the API version:
Naming rules
Endpoint paths must not contain hyphens. Use concatenated words instead.| Correct | Incorrect |
|---|---|
/api/v1/meta | /api/v1/meta-data |
/api/v1/filemeta | /api/v1/file-meta |
HTTP methods
Each endpoint typically supports up to three standard methods:| Method | Purpose |
|---|---|
POST | Create or trigger an action |
GET | Retrieve data |
DELETE | Remove a resource |
Query parameters
GET endpoints may accept query parameters for filtering and pagination:
Service architecture
The Metadata Service handles three main areas:File metadata
CRUD operations for file metadata records.
DEK management
Wrap and unwrap Data Encryption Keys using the master key.
Statistics
Aggregate statistics across all stored files.
Experimental endpoints
Experimental
Cache sync, prefetch, and invalidation endpoints. These are experimental and may not be included in the main API.

