Import & Export
The supervisor exposes two endpoints to facilitate data transfer between stores:
- POST
/import
: Takes JSON frame data and imports it as-is, preserving frameid
and contenthash
- POST
/cas
: Stores posted content in CAS and returns its hash
Commands
xs.nu
provides two commands to utilize these endpoints:
The exported data includes:
- Frame metadata in
frames.jsonl
- Content files in
cas/
directory
Version Compatibility
Version 0.1.0 was the first version supporting imports, though the 0.1.0 client can export data from 0.0.9 stores.