Asset Organization &
Voting API

A centralized backend service that indexes file hashes, and manages user voting for metadata.

API Reference

POST /v1/sort
Asset Discovery

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 /v1/info
Voting System

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
  • update.py

    Reads the contents of all .hashes.json and send it to the api.

    Download update.py
  • undo.py

    Reads the logfile created by sorter.py and undoes all of its changes.

    Download undo.py

Configuration

Base URL https://api.filemeta.cloud
Rate Limit N/A (Private)