City-of-Helsinki/harrastuspassi-backend

Promotions endpoint should accept include parameter for optional object nesting.

Opened this issue · 1 comments

Organizer and Location objects should be nested objects instead of an id when an include parameter is sent. Include parameter should accept the following:
location_detail
organizer_detail

Implementation should be similar to the one in Hobbies endpoint.