Skip to content

API Reference

The StreamGate plugin communicates with api.streamgate.soknight.ru over HTTPS. This page documents the public surface area.

MethodPathDescription
GET/v1/healthService health check
GET/v1/versionLatest plugin version, minimum supported version
GET/v1/stats/publicAggregate usage stats
GET/v1/integrations/listList of enabled integrations
GET/v1/openapi.jsonFull OpenAPI 3.0 spec

These require a server-side session token issued during plugin handshake. They are not intended for direct use.

MethodPathDescription
GET/v1/streamers/activeCurrently-live linked streamers on this server
POST/v1/streamers/linkInitiate streamer linking flow
POST/v1/integrations/twitch/authTwitch OAuth callback handler
POST/v1/buffs/applyApply buff to player (server-internal)
POST/v1/viewer-rewards/grantGrant viewer reward (server-internal)

For the full schema with request/response examples see openapi.json.