Files
gregWiki/docs/devserver-betas.md
Marvin e2839584f4 Merge Docusaurus site: all content under docs/, align with gregFramework split layout
- Move markdown and wiki-import tree into docs/; keep app shell at repo root
- Point docusaurus docs path to docs/; edit links to mleem97/gregWiki
- Sync and i18n scripts use gregWiki root and ../.wiki under gregFramework
- Sidebars: workspace layout from root docs ids; plugins under mods/extensions
- Fix redirects, module catalog URLs, release note paths, and wiki-import category keys
- Update repo inventory for split repos; Dockerfile for single-repo context

Made-with: Cursor
2026-04-09 23:39:32 +02:00

1.0 KiB

DevServer API — beta channels (gregframework.eu)

This document defines the intended client contract for the FrikaMF WorkshopUploader “Betas” panel. The server may be implemented separately; keep URLs and tokens configurable.

Base URL

  • Default: https://gregframework.eu
  • Override: user settings file next to the app (not committed to git).

Endpoints (proposed)

Method Path Purpose
GET /api/v1/betas List available beta channels (id, name, description).
POST /api/v1/betas/{id}/subscribe Enroll the current user (body: Steam ID or bearer token from OAuth).
POST /api/v1/betas/{id}/unsubscribe Leave a channel.

Authentication

  • Preferred: Short-lived JWT after browser OAuth to gregframework.eu, stored in user settings.
  • Alternative: Steam ID from Steamworks session in the WorkshopUploader process, plus server-side verification.

Rate limiting and errors

Clients should show HTTP status and response body on failure; retry with backoff.