API Documentation

Upload

The archived API accepted a POST upload and returned JSON containing a file identifier, filename, size and full/short URLs.

{
  "status": true,
  "data": {
    "file": {
      "url": {"full": "https://your-domain.example/BpQ/test", "short": "https://your-domain.example/BpQ"},
      "metadata": {"id": "BpQ", "name": "test.txt", "size": {"bytes": 13, "readable": "13 B"}}
    }
  }
}

Info

A GET request for a file identifier returned its existence and metadata. A missing identifier returned a 404-style error.

Rate limits

The archived API documented limits for files and bytes per hour/day. Reimplement these as configurable limits rather than assuming the archived values remain appropriate.