Asset Organization &
Voting API
A centralized backend service that indexes file hashes, and manages user voting for metadata.
API Reference
POST
Asset Discovery
/v1/sort
Submit a list of SHA256 hashes to find their recive there voted on paths. Used by clients to organize local files.
Request
{
"hashes": [
"sha256hash...",
"sha256hash..."
]
}
Response
[
{
"sha256hash...": "./path/file.png",
"sha256hash...": "./path/file2.obj"
}
]
POST
Voting System
/v1/info
Logs file metadata votes.
Request
{
"sha256hash...": "./path/file.png",
"sha256hash...": "./path/file2.obj" ,
}
Response
{
"status": "success",
"entrys": { ... }
}
System Architecture
Client Access
-
Hasher.py
Scans the directory and subfolders creating .hashes.json file(s) based on current file(s) hash.
Download hasher.py -
Sorter.py source_folder dest_folder
Hashes each of the files in source_folder and requests from the API where to sort them to in dest_folder
Download sorter.py -
-