Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 688 Bytes

README.md

File metadata and controls

41 lines (33 loc) · 688 Bytes

Sitemap

/
/search
/upload
/watch?v=

API

/api/v0.1/

upload.js
    ...raw file data...
    -------------------------
    {token}

file.:ext?v=(token)
    Range header supported
    -------------------------
    ...raw file data...

Storage

redis   item_metadata   token --> HASH(msgpack(key_num) --> msgpack(value))
redis   format_metadata token --> HASH(msgpack(key_num) --> msgpack(value))
big_jv  file_chunks     [format_token, token, id] --> data
                        Note: format_token is null for the original file

Metadata

Item
    title=1:        string
    chunk_sizes=2:  array of sizes

Format