maca DownList telemetry — upload to api.maca.se
==================================================

Deploy these files over the existing api.maca.se tree (same layout as maca-hub-upload):

  v1/downlist/events.php
  v1/.htaccess
  includes/maca_restu_telemetry.php

No new database migration is required — maca DownList uses the existing
maca_plugin_installations / maca_plugin_installation_events tables.

Plugin slugs in telemetry payloads:
  maca-downlist     — WordPress.org (free) build
  maca-downlistpro  — commercial Pro build (maca.se)

Upload includes/maca_restu_telemetry.php to add maca-downlistpro to the
allowed plugin list on the server (if not already present).

After upload, verify free and Pro separately:

  curl -X POST https://api.maca.se/v1/downlist/events \
    -H "Content-Type: application/json" \
    -d '{"event":"activated","plugin":"maca-downlist","site_url":"https://example.com/","version":"1.7.17"}'

  curl -X POST https://api.maca.se/v1/downlist/events \
    -H "Content-Type: application/json" \
    -d '{"event":"activated","plugin":"maca-downlistpro","site_url":"https://pro.example.com/","version":"1.7.17"}'

Expected: {"ok":true,"recorded":{...}} for both.

Endpoint URL used by the plugin (same for free and Pro):
  https://api.maca.se/v1/downlist/events.php

Stats appear in hub via restu-installations.php under plugin slugs
maca-downlist and maca-downlistpro respectively.
