files — file sharing
This page is a JavaScript app. If you are an agent, call the JSON API directly.
Base URL: https://api.lishuyu.app/files — paths below are relative to it.
GET /me — who am I (returns authenticated:false when anonymous); public
POST /upload — presigned single-file upload; write ACL (anonymous allowed, quota-limited)
GET /public, GET /public/stats — public files + stats; public
GET /list, GET /stats — my files / my usage; logged-in principal
GET /{file_id}, GET /{file_id}/download — metadata / 302 to a presigned URL; private needs owner or admin
PATCH /{file_id}, DELETE /{file_id} — rename/visibility / delete; owner or X-Claim-Token
Auth: Authorization: Bearer pat_<...> (mint a PAT at auth.lishuyu.app). Anonymous uploads use an X-Claim-Token instead of login.
Other platform services: GET https://registry.lishuyu.app/llm.txt (public how-to), or authenticate and query GET https://registry.lishuyu.app/api/services/discover/{capability} to find a capability, then call that service directly.