Operations Database API (ops-db-api)#
The CCAT Operations Database API provides a RESTful API interface to the operations database. It handles authentication, authorization, and provides endpoints for managing observations, instruments, users, and scheduling.
Features#
RESTful API with FastAPI
JWT-based authentication
GitHub OAuth integration
Role-based access control
Real-time visibility calculations
Observation scheduling and management
Interface Documentation
Getting Started
Architecture
Tutorials
Quick Links#
Installation - Get up and running in minutes
Design Rationale - Understand the architectural decisions
Transaction Buffering Overview - Learn about the buffering system
Simple Read Endpoint - Build your first endpoint
Debugging Transaction Buffering - Troubleshoot buffering issues
External Resources#
ops-db Repository - Database schema and models
ops-db-ui Repository - Frontend interface
Interface Definition Documents - Observatory scheduler interface
Indices and tables#
Interface Definitions