Get Project
Changed onGet project details
Sync endpoint on purpose: it does blocking SQLAlchemy I/O, so FastAPI must run it in the threadpool. As async def it froze the event loop (and the /health endpoint with it) for the whole request.
Args: project_id: Project ID current_user: Authenticated user db: Database session
Returns: GetProjectResponse with full project details
get/api/projects/{project_id}
Request
- Base URL: https://api.latted.com (the document declares no server; this is the origin it was published from)
- URL: https://api.latted.com/api/projects/{project_id}
- Auth: one of:
- HTTP bearer
- HTTP bearer
Path parameters
project_idstring required
Response
Successful Response
Changes
- info
added the required property
/to the response with the status
- info