Created a basic RESTful endpoint for a single model: advert