Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEventsAndOrgs ¶
func GetEventsAndOrgs() http.HandlerFunc
func GetOrgEvents ¶
func GetOrgEvents() http.HandlerFunc
* * @api {get} /api/v1/org/events Get events of organization * @apiName Get events of organization * @apiGroup organization * * @apiPermission user * @apiParam {string} org organization name as query param * * * @apiParamExample {json} request-example * curl localhost/api/v1/org/events?org=DSC-VIT * @apiParamExample {json} response-example * *{ * "message": "Successful", * "data": { * "events": [ * { * "clubName": "DSC-VIT", * "name": "WomenTechies'19", * "toDate": "11th March", * "fromDate": "10th March", * "toTime": "7 PM", * "fromTime": "6 PM", * "budget": "115000", * "description": "Women centric hackathon", * "category": "TECHNICAL", * "venue": "Kamaraj Auditorium", * "attendance": "315", * "expectedParticipants": "315", * "facultyCoordinator": { * "name": "", * "registrationNumber": "", * "email": "", * "phoneNumber": "", * "gender": "" * }, * "studentCoordinator": { * "name": "", * "registrationNumber": "", * "email": "", * "phoneNumber": "", * "gender": "" * }, * "PROrequest": "", * "campusEngineerRequest": "mics, podium, projector", * "duration": "24 hours", * "status": "" * } * ] * } *} *
func GetOrgs ¶
func GetOrgs() http.HandlerFunc
* * @api {get} /api/v1/org/ Get organizations of user * @apiName Get organizations of user * @apiGroup organization * * @apiPermission user * * @apiParamExample {json} response-example * *{ * "message": "Successful", * "data": { * "organizations": [ * { * "name": "CodeChef-VIT", * "location": "India", * "description": "Developer Student Clubs", * "tag": "technical", * "createdAt": "2019-08-05 23:12:14.963858896 +0000 UTC m=+14.778325532", * "website": "" * } * ] * } *} *
Types ¶
This section is empty.