API Reference
The StreamGate plugin communicates with api.streamgate.soknight.ru over HTTPS. This page documents the public surface area.
Public endpoints
Section titled “Public endpoints”| Method | Path | Description |
|---|---|---|
GET | /v1/health | Service health check |
GET | /v1/version | Latest plugin version, minimum supported version |
GET | /v1/stats/public | Aggregate usage stats |
GET | /v1/integrations/list | List of enabled integrations |
GET | /v1/openapi.json | Full OpenAPI 3.0 spec |
Authenticated endpoints
Section titled “Authenticated endpoints”These require a server-side session token issued during plugin handshake. They are not intended for direct use.
| Method | Path | Description |
|---|---|---|
GET | /v1/streamers/active | Currently-live linked streamers on this server |
POST | /v1/streamers/link | Initiate streamer linking flow |
POST | /v1/integrations/twitch/auth | Twitch OAuth callback handler |
POST | /v1/buffs/apply | Apply buff to player (server-internal) |
POST | /v1/viewer-rewards/grant | Grant viewer reward (server-internal) |
For the full schema with request/response examples see openapi.json.