{
 "name": "Temple Share",
 "version": "1f3bfe1",
 "about": "Free, anonymous file sharing for humans and scripts. Any file type, up to 10 GB per file, chunked + resumable (tus), SHA-256 verified, optional end-to-end encryption, burn-after-download, expiry 1 h to 7 d. No account needed and no IP logs.",
 "base": "https://share.thetempleofdoom.com/api/v1",
 "download_base": "https://share-dl.indiana-jones.workers.dev",
 "auth": "None for uploads/downloads. Optional free API token (X-API-Key: st_...). Owner key for takedown.",
 "quick": {
  "curl_put": "curl -T file.zip https://share.thetempleofdoom.com/",
  "httpie": "http PUT https://share.thetempleofdoom.com/file.zip < file.zip",
  "burn": "curl -T secret.txt -H 'X-Burn: 1' https://share.thetempleofdoom.com/",
  "paste": "echo hello | curl -T - https://share.thetempleofdoom.com/note.txt",
  "big_files_cli": "curl -fsSL https://share.thetempleofdoom.com/cli -o share && chmod +x share && ./share big.iso --expires 3d",
  "tus_js": "new tus.Upload(file, {endpoint: 'https://share.thetempleofdoom.com/tus/', chunkSize: 50*1024*1024, metadata: {filename: file.name, expires: '24h'}})"
 },
 "endpoints": [
  {
   "method": "GET",
   "path": "/api/v1",
   "what": "This explainer (HTML for browsers, JSON for agents)."
  },
  {
   "method": "GET",
   "path": "/api/v1/openapi.json",
   "what": "OpenAPI 3.1 description."
  },
  {
   "method": "GET",
   "path": "/api/v1/health",
   "what": "Health and version."
  },
  {
   "method": "GET",
   "path": "/api/v1/limits",
   "what": "Size caps, expiry rules, storage use.",
   "mcp_tool": "get_limits"
  },
  {
   "method": "POST",
   "path": "/api/v1/uploads",
   "what": "Create an upload (JSON {name,size,expires,max_downloads,burn,description,sha256,files}). Returns a tus URL to PATCH chunks to, plus the share link.",
   "mcp_tool": "create_upload"
  },
  {
   "method": "GET",
   "path": "/api/v1/uploads/{upload_id}",
   "what": "Upload progress (offset, done, sha256, verified).",
   "mcp_tool": "upload_status"
  },
  {
   "method": "POST",
   "path": "/api/v1/paste",
   "what": "Create a text paste (JSON {text,expires,burn,max_downloads,name}).",
   "mcp_tool": "create_paste"
  },
  {
   "method": "GET",
   "path": "/api/v1/shares/{id}",
   "what": "Share info: files, sizes, SHA-256, expiry, downloads left.",
   "mcp_tool": "file_info"
  },
  {
   "method": "GET",
   "path": "/api/v1/shares/{id}/links",
   "what": "Download page, raw file URLs, curl/wget commands.",
   "mcp_tool": "get_download_url"
  },
  {
   "method": "POST",
   "path": "/api/v1/shares/{id}/verify",
   "what": "Tell the server your full-file SHA-256 (JSON {file, sha256}); returns whether it matches."
  },
  {
   "method": "DELETE",
   "path": "/api/v1/shares/{id}",
   "what": "Delete a share now (X-Share-Token: manage token from the upload, or your API token).",
   "mcp_tool": "delete_share"
  },
  {
   "method": "POST",
   "path": "/api/v1/report",
   "what": "Report abuse (JSON {id, reason, category}).",
   "mcp_tool": "report_abuse"
  },
  {
   "method": "POST",
   "path": "/api/v1/tokens",
   "what": "Get a free anonymous API token (st_...) for scripts: higher limits and a list of your shares."
  },
  {
   "method": "GET",
   "path": "/api/v1/tokens/shares",
   "what": "Shares created with your API token (X-API-Key)."
  },
  {
   "method": "POST",
   "path": "/api/v1/admin/takedown",
   "what": "Owner only: remove a share (JSON {id, reason}).",
   "mcp_tool": "takedown"
  },
  {
   "method": "GET",
   "path": "/api/v1/admin/reports",
   "what": "Owner only: abuse reports.",
   "mcp_tool": "list_reports"
  },
  {
   "method": "OPTIONS/POST/HEAD/PATCH/DELETE",
   "path": "/tus/",
   "what": "tus 1.0.0 resumable uploads (creation, creation-with-upload, checksum sha256, termination, expiration). Max 95 MB per PATCH."
  },
  {
   "method": "PUT",
   "path": "/{filename}",
   "what": "One-shot upload: curl -T file https://share.thetempleofdoom.com/ (up to 95 MB; headers X-Expires, X-Max-Downloads, X-Burn)."
  },
  {
   "method": "GET/HEAD",
   "path": "/d/{id}/{n}/{name}",
   "what": "Raw download, HTTP Range supported (resume), Content-Disposition: attachment."
  },
  {
   "method": "GET",
   "path": "/d/{id}/zip",
   "what": "Whole bundle as one zip (non-encrypted, under 4 GB)."
  }
 ],
 "mcp": {
  "url": "https://share.thetempleofdoom.com/mcp",
  "transport": "streamable-http",
  "card": "https://share.thetempleofdoom.com/.well-known/mcp.json",
  "config": {
   "mcpServers": {
    "share": {
     "url": "https://share.thetempleofdoom.com/mcp"
    }
   }
  },
  "tools": [
   "create_paste",
   "create_upload",
   "upload_status",
   "file_info",
   "get_download_url",
   "get_limits",
   "report_abuse",
   "delete_share",
   "takedown",
   "list_reports"
  ]
 },
 "limits": {
  "max_file_bytes": 10737418240,
  "max_file": "10 GB",
  "max_request_body_bytes": 95000000,
  "chunk_hint_bytes": 52428800,
  "default_expiry": "24h",
  "max_expiry": "7d",
  "max_files_per_share": 200,
  "max_paste_bytes": 1000000,
  "storage_cap": "85 GB",
  "storage_used": "335 KB",
  "storage_free_pct": 100,
  "oldest_first_cleanup": true,
  "accounts": false,
  "ip_logs": false
 },
 "terms": "https://share.thetempleofdoom.com/terms"
}