Comprehensive API documentation for the RustyGPT project components.
This section provides detailed API documentation for each component of the RustyGPT project. The documentation is automatically generated from the Rust source code using rustdoc.
Documentation for the backend server components, including routes, handlers, and services.
Coming soon
Documentation for the frontend components, including UI components and state management.
Coming soon
Documentation for shared models and utilities used by both frontend and backend.
Coming soon
The RustyGPT backend exposes the following HTTP API endpoints:
Endpoint | Method | Description |
---|---|---|
/api/oauth/github |
GET | Initiate GitHub OAuth flow |
/api/oauth/github/callback |
GET | Handle GitHub OAuth callback |
/api/oauth/github/manual |
POST | Manual GitHub OAuth (for testing) |
/api/oauth/apple |
GET | Initiate Apple OAuth flow |
/api/oauth/apple/callback |
GET | Handle Apple OAuth callback |
/api/oauth/apple/manual |
POST | Manual Apple OAuth (for testing) |
Endpoint | Method | Description |
---|---|---|
/api/conversations |
GET | Get all conversations for the authenticated user |
/api/conversations/{conversation_id}/messages |
POST | Send a message to a conversation |
/api/stream/{user_id} |
GET | Connect to the SSE stream for real-time message updates |