Магазин в режиме обслуживания. Покупки могут быть временно недоступны.

MyRON RustPlugin

API для разработчиков

Подключайте update-checker’ы, панели серверов и Burden-подобные лицензии без парсинга HTML.

Получить API-ключ GET /api/v1

Авторизация

Authorization: Bearer rph_live_…
# or
X-Api-Key: rph_live_…

Ключ создаётся в кабинете. Rate limit по умолчанию 120 req/min на ключ, 60 на IP без ключа.

Эндпоинты

MethodPathAuth
GET/api/v1—Discovery
GET/api/v1/plugins—Catalog (?q &category &tag)
GET/api/v1/plugins/{slug}—Plugin detail
GET/api/v1/plugins/{slug}/versions—Version list
GET/api/v1/plugins/{slug}/check?current=1.0.0—Update check
GET/api/v1/plugins/{slug}/downloadkey + downloads.readFile (purchase / free)
GET/api/v1/mekeyBuyer profile
GET/api/v1/me/purchaseskeyOwned plugins
POST/api/v1/license/validatekeyBurden / license code

Проверка обновлений и скачивание

curl -s "https://rustplugin.myrondev.com/api/v1/plugins/apremove/check?current=0.0.3"
# → { "updateAvailable": true, "latest": { "semVer": "0.0.4", … } }

curl -OJ -H "Authorization: Bearer $KEY" \
  "https://rustplugin.myrondev.com/api/v1/plugins/apremove/download"

Webhooks

Событие product.version.published уходит владельцам покупок и соавторам. Проверяйте X-Hub-Signature-256.

X-Hub-Event: product.version.published
X-Hub-Signature-256: sha256=<hmac_hex>

{
  "type": "product.version.published",
  "data": { "slug": "…", "semVer": "1.2.0", "apiCheckUrl": "/api/v1/plugins/…/check" }
}

Валидация лицензии (LicenseProductCode)

curl -s -X POST https://rustplugin.myrondev.com/api/v1/license/validate \
  -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
  -d '{"productCode":"APBurden","steamId":"7656119…"}'