http://shaastra.org:8001/api/eventLists - fetches all the event categories.
http://shaastra.org:8001/api/eventLists/events/:eventCatgoryId - fetches all the events in a particular category. Here, the eventCatgoryId is the _id of each event category you get in the first api.
http://shaastra.org:8001/api/events/showWeb/:eventId - fetches all the event details tabs of a particular event. Here, the eventId is the _id of each event we fetch in the previous api.
- For getting fetching images, there is a separate api,
http://shaastra.org:8001/api/uploads/:imageid/:imagename. The parameters imageid and imagename will be present in each eventList json, events json where ever an image is required.
I'll send the api for login and registration in a while once we complete it.
If you have any doubts, put it in the comments.
http://shaastra.org:8001/api/eventLists- fetches all the event categories.http://shaastra.org:8001/api/eventLists/events/:eventCatgoryId- fetches all the events in a particular category. Here, theeventCatgoryIdis the_idof each event category you get in the first api.http://shaastra.org:8001/api/events/showWeb/:eventId- fetches all the event details tabs of a particular event. Here, theeventIdis the_idof each event we fetch in the previous api.http://shaastra.org:8001/api/uploads/:imageid/:imagename. The parametersimageidandimagenamewill be present in each eventList json, events json where ever an image is required.I'll send the api for login and registration in a while once we complete it.
If you have any doubts, put it in the comments.