Build an api with CRUD operations using this starter code.
Implement a function that processes one operation at a time against an in-memory store of records. The function should accept a JSON object with an operation field and the required payload for that operation, then return the result of the requested CRUD action.
request: a JSON object with one of these forms:
{"operation": "create", "record": {"id": int, "name": str}}{"operation": "read", "id": int}{"operation": "update", "id": int, "updates": { ... }}{"operation": "delete", "id": int}Return the created or updated record, the requested record, or true/false for delete and missing-record cases.
def build_api(request):