mocop
Browse · Docs · Guide · Analyze

Files.fm Cloud Storage API

API by Files.fm · rest

Machine-readable specification for the Files.fm Cloud Storage API. It covers the modern REST API V2 (recommended for new integrations, reached through the /api_v2/{action} clean-URL rewrite) and the legacy V1 endpoints that remain supported for compatibility (scripts under /api/ and a few root-level scripts such as save_file.php, down.php, thumb*.php). Authentication is handled centrally by api/authenticate_user.php. Any one of the following is sufficient and HTTPS is always required: * HTTP Basic authentication (Authorization: Basic base64(user:pass)). * An existing session cookie (PHPSESSID), or PHPSESSID/SessionID sent as a parameter. * Credentials in the request body or query: user + pass, or user + user_access_token. * Google OAuth (google_token + google_email) or Apple SSO (apple_code). Because credentials can be supplied as body/query fields, most operations include the reusable AuthFields properties in their request body in…

Endpoint: https://api.files.fm/

Verification: observed. Source: crawl.

Capabilities (117)

  • Full-text search across files and folders
  • Grant sharing access to users or emails
  • Authenticate and return UserData
  • Rename a file (update display name)
  • Rename a folder (DisplayName). ROOT cannot be renamed.
  • Delete a file by hash + delete key
  • Permanently delete items from the recycle bin (destructive)
  • Delete a folder by hash + delete key
  • Get the human-readable path-access URL for a file
  • Get only the folder add key
  • Rich file metadata by hash + delete key
  • Resolve a file name to its hash
  • Get file edit keys
  • List direct children of a folder (V1 backend of get_folder_content)
  • Resolve directory paths to ids/keys creating missing folders
  • Storage usage and quota
  • Create a folder (V1 backend of create_folder)
  • Get a folder's add and delete keys
  • Recursive folder tree (also used for search)
  • Check existence of multiple folders
  • Store app log entries (internal Files.fm app only)
  • Lightweight login (plain-text cookie string)
  • Files.fm hosted MCP endpoint
  • Delete many files/folders in one transaction (max 200)
  • Restore many deleted files/folders (max 200)
About · Contact · Privacy