{
  "service": "Agent file service",
  "base_url": "https://f.cnhejia.cn",
  "help": "GET / or an empty POST / returns this help. No password is published here.",
  "authentication": "Supply password in multipart/form-data, JSON, URL-encoded body, or X-Access-Password header. Never put passwords in the URL.",
  "upload": {
    "method": "POST",
    "path": "/ or /upload",
    "fields": {
      "password": "<access password>",
      "file": "<one file>"
    },
    "curl": "curl -sS https://f.cnhejia.cn/ -F 'password=<access password>' -F 'file=@/path/to/file'"
  },
  "renew": {
    "method": "POST",
    "path": "/ or /link",
    "fields": {
      "password": "<access password>",
      "file_id": "<file_id from upload>"
    },
    "curl": "curl -sS https://f.cnhejia.cn/link -H 'Content-Type: application/json' -d '{\"password\":\"<access password>\",\"file_id\":\"<file_id>\"}'"
  },
  "download": "GET or HEAD the returned download_url. Supports Range and resumable downloads while the URL is valid. Anyone holding the URL can use it until expiry.",
  "url_ttl_seconds": 300,
  "max_file_bytes": 104857600,
  "storage_quota_bytes": 5368709120,
  "retention": "Files remain stored independently of URL expiry. Keep file_id to request a new URL. No public listing or direct file path exists."
}
