sinfo / eventdeck

:calendar: The awesome web app that supports awesome events

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fetch resource by event

JGAntunes opened this issue · comments

We need a special endpoint that can give us a list of speakers/companies/etc with valid participations for a certain event.

My opinion is that it should be:
api/events/{id}/speakers
api/events/{id}/companies
(...)

On a longer term I might see the other resource routes disappear, as the collections grow larger and larger and I don't see the point of keeping a generic route for a certain resource, but more on that later.

Added this feature as a query param on the speakers, when it's fully working we should change this on the companies too.

#296 will allow to fetch members by events they participated in.

Think this is done.