chapter icon indicating copy to clipboard operation
chapter copied to clipboard

Add an API route in swagger.json for fetching all the events of an organization

Open vkWeb opened this issue 6 years ago • 10 comments

Create a route in swagger.json file: GET /events to fetch all the events of an organization.

More routes can be added as we develop and find needs for them.

vkWeb avatar Dec 15 '19 22:12 vkWeb

We should be explicit in the title that this is swagger specific.

AryanJ-NYC avatar Dec 18 '19 13:12 AryanJ-NYC

@AryanJ-NYC agreed. I have updated the title.

vkWeb avatar Dec 18 '19 17:12 vkWeb

I'll pick this one up if still needed.

jakesweb avatar Jan 23 '20 05:01 jakesweb

@jakesweb @nik-john can likely answer questions on Swagger if/as needed.

allella avatar Jan 23 '20 05:01 allella

It looks like there is already a route for this. Line 387 of the swagger.json file has a route for /chapters/{chapterId}/events

jakesweb avatar Jan 23 '20 05:01 jakesweb

@jakesweb /chapters/{chapterId}/events is to fetch a chapter's events.

We'll have an organization consisting of chapters under it.

In our homepage and events page, we will show all the upcoming events of an organization for which we will need a route I believe.

vkWeb avatar Jan 23 '20 12:01 vkWeb

That makes sense. I'll start looking into getting that setup.

jakesweb avatar Jan 23 '20 16:01 jakesweb

@jakesweb Any updates on this?

vkWeb avatar Feb 09 '20 20:02 vkWeb

Is this still open?

xarrijorge avatar Feb 14 '20 18:02 xarrijorge

We're going to refactor this because we agreed on a simpler setup in discord for the MVP, so closing for now

Zeko369 avatar Feb 14 '20 21:02 Zeko369