🔐 aidjmusicapi Login

📁 aidjmusicapi

Welcome,
Total Files
Folders
Storage Used

📄 All Files (Tree View)

No files found or loading...

🔍 Search API Demo

Found results (page of )

Page of

📘 API Documentation

Most API endpoints require authentication via API key. Provide your key as a query parameter ?key=YOUR_KEY or use session-based login for web interface.

GET /?action=list

Returns a list of all files and folders (recursive) in storage.

🔒 Requires authentication

curl "https://aidjmusicapi.purpuldigital.com/?action=list&key=YOUR_KEY"

GET /?action=tree

Returns a nested tree structure of files and folders.

🔒 Requires authentication

curl "https://aidjmusicapi.purpuldigital.com/?action=tree&key=YOUR_KEY"

GET /?action=download

Download or stream a specific file with CORS headers applied.

🔒 Requires authentication

Parameters:

  • file – Relative path to the file (e.g. Folder/Song.mp3)
  • key – Your API key
curl "https://aidjmusicapi.purpuldigital.com/?action=download&file=Folder/Song.mp3&key=YOUR_KEY"

GET /?action=analysis

Returns storage statistics: file count, folder count, total size (recursive).

🔒 Requires authentication

curl "https://aidjmusicapi.purpuldigital.com/?action=analysis&key=YOUR_KEY"

GET /?action=search

Search files/folders with pagination, sorting, and filtering.

🔒 Requires authentication

Parameters:

  • q – search term (if empty, returns random results)
  • page – page number (default: 1)
  • limit – results per page (default: 20, max: 100)
  • sort – field to sort by: name (default), size, modified
  • order – asc or desc (default: asc)
curl "https://aidjmusicapi.purpuldigital.com/?action=search&q=document&page=2&limit=10&key=YOUR_KEY"

GET /?action=downloads

Returns download URLs for native app installers across different platforms.

🔓 Public endpoint - No authentication required

This endpoint scans the apps/ directory (same level as storage/) and automatically detects platform-specific installers based on file extensions and naming patterns.

Response Format:

{
  "android": "http://your-domain.com/assets/apps/app.apk",
  "ios": "http://your-domain.com/assets/apps/app.ipa",
  "windows": "http://your-domain.com/assets/apps/setup.exe",
  "macos": "http://your-domain.com/assets/apps/app.dmg",
  "linux": "http://your-domain.com/assets/apps/app.AppImage"
}

Supported File Types:

  • Android: .apk files
  • iOS: .ipa files
  • Windows: .exe, .msi files
  • macOS: .dmg, .pkg files, or files with "mac" in the name
  • Linux: .AppImage, .deb, .rpm files, files with "linux" in the name, or executable binaries without extensions

Usage Example:

curl "https://aidjmusicapi.purpuldigital.com/?action=downloads"

Setup Instructions:

  1. Create the apps/ directory in the same location as this script (same level as storage/)
  2. Place your platform-specific installer files in that directory
  3. The API will automatically detect and serve the appropriate URLs
  4. If no files are found, all platform URLs will return null

⚠️ Note: This endpoint is public and does not require authentication. Ensure your app installers are intended for public distribution.