Rankion OS — Storage & Files
Platform file storage: uploads, asset library, trash, quota management.
Rankion OS is the platform-wide file and asset layer. Instead of running each module with its own upload path, everything comes together here: images from the AI Content Editor, generated artwork, reports, manual uploads, shared team assets. OS provides a file hierarchy with folders, Spotlight search, a Desktop view for quick access, and granular sharing. The module is team-scoped and behaves like a lightweight macOS / Drive hybrid with API-first access.
What it can do
- Files & folders — arbitrarily deep folder hierarchy per team. Files can be moved, shared, renamed, deleted.
- Move operations — move file or folder to another folder via the
moveendpoint. Permissions are inherited. - Sharing — sharing a file creates a public-or-team-scoped share link. Revoke via
DELETE. - Desktop view —
GET /os/desktopreturns the quick-access items (pinned, recents, shared with me). - Spotlight search —
GET /os/spotlight?q=...searches filenames and metadata team-wide. - Mode & preferences —
PUT /os/modeswitches between UI modes (e.g. list/grid).preferencespersists per-user settings (sort, view, pinned). - Trash — deleted files land in trash and are recoverable until final purge.
When to use
- You need a central location for team assets that isn't hidden inside individual modules.
- You want to reuse generated images from the Images module in another article or report.
- You want to persistently store reports or exports instead of losing them after download.
- You want to share a file with an external reviewer without bringing them into the team.
Workflow
- Create folder structure —
POST /os/folderswith{name, parent_id?}. Root folder withoutparent_id. - Upload file —
POST /os/fileswith multipart body (file,folder_id?,name?). Response returnsid,url,mime,size. - Move —
POST /os/files/{id}/movewith{folder_id}. Folder analogouslyPOST /os/folders/{id}/move. - Share —
POST /os/files/{id}/sharecreates a share token.DELETE /os/files/{id}/sharerevokes it. - Search —
GET /os/spotlight?q=reportor use Desktop quick access. - Delete —
DELETE /os/files/{id}moves to trash. Hard delete happens per quota / retention policy.
API
| Method | Endpoint | Description |
|---|---|---|
PUT |
/v1/os/mode |
Set UI mode |
GET/POST |
/v1/os/preferences |
Per-user preferences |
GET |
/v1/os/files |
List (?folder_id=&search=) |
POST |
/v1/os/files |
Upload (multipart) |
GET/PUT/DELETE |
/v1/os/files/{id} |
Detail / update / trash |
POST |
/v1/os/files/{id}/move |
Move |
POST |
/v1/os/files/{id}/share |
Create share link |
DELETE |
/v1/os/files/{id}/share |
Revoke share |
GET/POST |
/v1/os/folders |
Folder list / create |
GET/PUT/DELETE |
/v1/os/folders/{id} |
Folder CRUD |
POST |
/v1/os/folders/{id}/move |
Move folder |
GET |
/v1/os/desktop |
Desktop quick access |
GET |
/v1/os/spotlight |
Search |
Example — upload file.
curl -X POST $BASE/os/files \
-H "Authorization: Bearer $TOKEN" \
-F "file=@./report-april.pdf" \
-F "folder_id=12"
Example — Spotlight.
curl "$BASE/os/spotlight?q=report" -H "Authorization: Bearer $TOKEN"
Credits & Limits
- Free — storage operations cost no credits.
- Quota — each team has a storage limit (see plan / settings). Upload past quota: 413 or 422 with
quota_exceeded. - MIME whitelist — common image, document, CSV, PDF, Markdown formats. Executables are rejected.
- Max file size — typically 50 MB per file (plan-dependent).
- Sharing — public share links are token-based, optionally with expiry. Lost token = revoke and create a new one.
Related modules
- AI Content Editor — article featured images and inline images are stored in OS.
- Images — generated AI images land automatically in OS and remain reusable there.
- Blog Admin — featured images for blog posts come from OS.
Letzte Aktualisierung: May 1, 2026