Skip to content

Conversation

@avirajsingh7
Copy link
Collaborator

Summary

This PR updates the /responses and /responses/sync endpoints to remove project_id from the request body and instead use the project_id from the authenticated user (UserProjectOrg) dependency.

Target issue is #259

Checklist

Before submitting a pull request, please ensure that you mark these task.

  • Ran fastapi run --reload app/main.py or docker compose up in the repository root and test.
  • If you've fixed a bug or added code that is tested and has test cases.

@avirajsingh7 avirajsingh7 self-assigned this Jul 3, 2025
@avirajsingh7 avirajsingh7 added the enhancement New feature or request label Jul 3, 2025
@avirajsingh7 avirajsingh7 moved this to In Progress in Dev Priorities Jul 3, 2025
@codecov
Copy link

codecov bot commented Jul 3, 2025

Codecov Report

Attention: Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
backend/app/api/routes/responses.py 85.71% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@avirajsingh7 avirajsingh7 force-pushed the enhc/remove_project_id branch from 60b2a61 to 2f517af Compare July 4, 2025 05:28
@avirajsingh7 avirajsingh7 requested a review from AkhileshNegi July 7, 2025 09:00
@AkhileshNegi AkhileshNegi changed the title Response API to take project_id from User Context instead of request payload Response API: Optimizing handling User Context Jul 8, 2025
@AkhileshNegi AkhileshNegi changed the title Response API: Optimizing handling User Context Response API: Optimizing handling user context Jul 8, 2025
@AkhileshNegi AkhileshNegi merged commit f51a27a into main Jul 8, 2025
1 of 2 checks passed
@AkhileshNegi AkhileshNegi deleted the enhc/remove_project_id branch July 8, 2025 06:49
@github-project-automation github-project-automation bot moved this from In Progress to Closed in Dev Priorities Jul 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request ready-for-review

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

Remove project_id parameter from Response API – derive from API key

3 participants