Room 1 API Reference
This document provides complete documentation for the Room 1 backend API. These endpoints enable the VR frontend to interact with the image processing and memory orb generation services. All endpoints are RESTful and return JSON responses unless otherwise specified.Base URL
Authentication
Authentication is handled via API keys passed in the request header:Endpoints
Image Sorting
Get Images by Category
- None
Get Images Chronologically
start_date(optional): Filter images taken after this date (format: YYYY-MM-DD)end_date(optional): Filter images taken before this date (format: YYYY-MM-DD)
Get Image Metadata
image_id(optional): Get metadata for a specific image
Memory Orb Generation
Generate Orb
Generate Preview Thumbnail
Health Check
Check API Status
- None
Error Handling
All errors follow a consistent format:400: Bad Request - Missing or invalid parameters401: Unauthorized - Authentication required403: Forbidden - Insufficient permissions404: Not Found - Resource does not exist500: Internal Server Error - Something went wrong on the server
Rate Limiting
The API implements rate limiting to prevent abuse. Limits are as follows:- 100 requests per minute per API key
- 5,000 requests per day per API key
429 Too Many Requests status code.