mirror of
https://github.com/azaion/loader.git
synced 2026-04-22 22:16:32 +00:00
8f7deb3fca
Made-with: Cursor
1.6 KiB
1.6 KiB
Input Data Parameters
API Request Schemas
Login
email: string — user email addresspassword: string — user password (plaintext)
Load Resource
filename: string — resource name (without.big/.smallsuffix)folder: string — resource folder/bucket name
Upload Resource
data: binary file (multipart upload)filename: string — resource name (path parameter)folder: string — destination folder (form field, defaults to"models")
Unlock
email: string — user emailpassword: string — user password
Configuration Files
cdn.yaml (downloaded encrypted from API)
host: string — S3 endpoint URLdownloader_access_key: string — read-only S3 access keydownloader_access_secret: string — read-only S3 secret keyuploader_access_key: string — write S3 access keyuploader_access_secret: string — write S3 secret key
JWT Token Claims
nameid: string — user GUIDunique_name: string — user emailrole: string — one of: ApiAdmin, Admin, ResourceUploader, Validator, Operator
External Data Sources
| Source | Data | Format | Direction |
|---|---|---|---|
| Azaion Resource API | JWT tokens, encrypted resources (small parts), CDN config, key fragments | JSON / binary | Download |
| S3 CDN | Large resource parts (.big files) | Binary | Upload / Download |
| Local filesystem | Encrypted Docker archive (images.enc), cached .big files |
Binary | Read / Write |
| Docker daemon | Image loading, image inspection | CLI stdout | Read |
| Host OS | Hardware fingerprint (CPU, GPU, RAM, drive serial) | Text (subprocess) | Read |