Skip to main content
Glama
types.ts909 B
/** * Restream API Types */ export interface RestreamConfig { clientId: string; clientSecret: string; baseUrl: string; } export interface AuthToken { access_token: string; token_type: string; expires_in: number; refresh_token?: string; } export interface Channel { id: string; platform: string; displayName: string; enabled: boolean; url?: string; isConnected: boolean; } export interface UserProfile { id: string; email: string; displayName: string; username?: string; createdAt?: string; } export interface Stream { id: string; title: string; isLive: boolean; streamKey?: string; rtmpUrl?: string; viewers?: number; startedAt?: string; } export interface StreamSettings { title?: string; description?: string; privacy?: 'public' | 'private' | 'unlisted'; } export interface ApiError { message: string; code?: string; status?: number; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shaktech786/restream-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server