Closed Tina-otoge closed 2 years ago
We need a route to get all receivers listings with their associated score for a given donor listing
Example: GET /api/scores/{listing_id (donor)} Result:
GET /api/scores/{listing_id (donor)}
[ {"listing": {...}, "score": 839}, {"listing": {...}, "score": 838}, {"listing": {...}, "score": 837}, {"listing": {...}, "score": 836}, ]
Score should probably be calculated on the fly, not stored anywhere
We need a route to get all receivers listings with their associated score for a given donor listing
Example:
GET /api/scores/{listing_id (donor)}
Result:Score should probably be calculated on the fly, not stored anywhere