Change Org Endpoint Path Params to Queries #10
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: sr2/cloud-api#10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
If the org_id is passed as a query param instead of a path, it can cleanly be handled by the org_model_dependency instead of having "unused" parameters on every end point.
Query params added to the dependency are automatically expected by FastAPI on the endpoint, path params need to be handled explicitly on the endpoint, as well as the dependency.