feat(api): standardize REST contracts and auth
This commit is contained in:
@@ -27,7 +27,7 @@ class AgentAuthContextResponse(BaseModel):
|
||||
token_expires_at: str | None = None
|
||||
|
||||
|
||||
@router.get("/agent/auth/context", response_model=AgentAuthContextResponse)
|
||||
@router.get("/agent-auth-context", response_model=AgentAuthContextResponse)
|
||||
async def get_agent_auth_context(
|
||||
ctx: ProjectContext = Depends(get_project_context),
|
||||
current_user=Depends(get_current_metadata_user),
|
||||
|
||||
Reference in New Issue
Block a user