Task: Implement a REST API with Proper HTTP Status Codes for Nested Resource PATCH Operations
Task: Implement a REST API with Proper HTTP Status Codes for Nested Resource PATCH Operations: a task in Terminal-Lego-15k (Harbor dataset). You need to implement a REST API that manages users, their garages, and cars within those garages. The key challenge is handling a PATCH endpoint that…
The task
You need to implement a REST API that manages users, their garages, and cars within those garages. The key challenge is handling a PATCH endpoint that updates garage details while simultaneously creating and deleting entries in a nested cars table, and returning the appropriate HTTP status code.
Part of PrimeIntellect/Terminal-Lego-15k.