API Documentation¶
This section covers the API endpoints available in the Newsloom project. NewLoom provides both RESTful HTTP endpoints and WebSocket connections for real-time updates.
API Reference
Quick Start¶
Authentication - See Authentication for obtaining API tokens - Required for both REST and WebSocket endpoints
REST API - RESTful endpoints using Django REST Framework - JSON request/response format - Token or session authentication - See REST API Endpoints for detailed documentation
WebSocket API - Real-time updates using Django Channels - JSON message format - Supports chat and stream status updates - See WebSocket API for detailed documentation
API Versioning¶
The current API version is v1. All endpoints are prefixed with /api/v1/.
Rate Limiting¶
REST API: 1000 requests per hour for authenticated users
WebSocket: No strict message limit, but implement reasonable client-side throttling