Your question is Complex REST API with JSON. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Create REST API endpoints for a JSON file: save a given JSON object using POST, retrieve the top K objects from the database based on criteria with pagination and sorting, and parse data from the file and store it.