API Reference

Quickstart

Prerequisites

  • An Mlytics account with API access.
  • API key for authentication.
  • Basic knowledge of RESTful APIs.
  • Familiarity with HTTP protocols and CDN concepts.

Authentication

All API requests require authentication using your API key. Include the following header in your API requests:

curl -X POST https://api.mlytics.com/api/v1/prefetch \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
  "urls": [
    "https://yourdomain.com/firmware/update_v2.0.bin",
    "https://yourdomain.com/game/install_v1.5.pkg"
  ]
}'

Authorization: Bearer YOUR_API_KEY

Replace YOUR_API_KEY with your actual API key.