-
Notifications
You must be signed in to change notification settings - Fork 9
/
apiary.apib
860 lines (589 loc) · 22.3 KB
/
apiary.apib
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
FORMAT: 1A
HOST: https://sse.rit.edu/api/v2/
# SSE
This is the API for the Society of Software Engineers
## Group SSE API Root
This resource does not have any attributes. Instead it offers the initial
API affordances in the form of the links in the JSON body.
### Retrieve the Entry Point [GET /]
+ Response 200 (application/json)
{
"agendaUrl": "/agenda",
"authUrl": "/auth",
"committeesUrl": "/committees",
"eventsUrl": "/events",
"headcountsUrl": "/mentoring/headcounts",
"lingoUrl": "/lingo",
"linksUrl": "/lings",
"membershipsUrl": "/memberships",
"mentorsUrl", "/mentoring/mentors",
"officersUrl": "/officers",
"quotesUrl": "/qdb/quotes",
"shiftsUrl": "/mentoring/shifts",
"specialtiesUrl": "/mentoring/specialties",
"tagsUrl": "/qdb/tags",
"tipsUrl": "/tips",
"usersUrl": "/users"
}
## Group Auth
## Refresh authentication token [PUT /auth/refresh]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Response 200 (application/json)
+ Attributes (Token)
+ Response 401 (application/json)
+ Attributes (Error)
## Authenticate with provider [PUT /auth/{provider}]
+ Parameters
+ provider: slack (required, enum[string]) - The provider you would like to sign in with
+ Members
+ `google` - Sign in with google
+ `slack` - Sign in with slack
+ Request (application/json)
+ Attributes (Auth)
+ Response 200 (application/json)
+ Attributes (Token)
+ Response 401 (application/json)
+ Attributes (Error)
## Group Agenda
### Agenda Collection [/agenda/{?officer}{?user}{?week}{?page}{?perPage}]
#### Get Agenda Items [GET]
+ Parameters
+ officer: 1 (optional, number) - Filter by officer ID.
+ user: knm5153 (optional, string) - Filter by user dce.
+ week: `2015-08-26` (optional, date) - Filter by week. Based on the day of the meeting
+ page: (optional, number) - Set the current page
+ Default: `1`
+ perPage: (optional, number) - Sets the number of results to return per page
+ Default: `15`
+ Attributes (Pagination)
+ data (required, array[Agenda Item]) - list of Agenda items
+ Response 200 (application/json)
#### Create an Agenda Item [POST]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Attributes (Agenda Item No User)
+ Response 201 (application/json)
+ Attributes (Agenda Item)
+ Response 422 (application/json)
+ Attributes (Error)
+ Response 403 (application/json)
+ Attributes (Error)
### Agenda Item [/agenda/{id}]
+ Parameters
+ id: 1 (required, number) - The ID of an agenda Item
#### Get an Agenda Item [GET]
+ Attributes (Agenda Item)
+ Response 200 (application/json)
#### Update an Agenda Item [PUT]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Attributes (Agenda Item No User)
+ Response 200 (application/json)
+ Attributes (Agenda Item)
+ Response 422 (application/json)
+ Attributes (Error)
+ Response 403 (application/json)
+ Attributes (Error)
#### Delete an Agenda Item [DELETE]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Response 204 (application/json)
+ Response 403 (application/json)
## Group Committees
### Committees Collection [/committees/{?name}{?active}{?page}{?perPage}]
#### Get Committees [GET]
+ Parameters
+ name: Events (optional, string) - Filter by committee name
+ active: `2015-09-20` (optional, date) - Return only committees that are active on a given date
+ page: (optional, number) - Set the current page
+ Default: `1`
+ perPage: (optional, number) - Sets the number of results to return per page
+ Default: `15`
+ Attributes (Pagination)
+ data (required, array[Committee]) - list of committees
+ Response 200 (application/json)
#### Create a Committee [POST]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Attributes (Committee)
+ Response 201 (application/json)
+ Attributes (Committee)
+ Response 422 (application/json)
+ Attributes (Error)
+ Response 403 (application/json)
+ Attributes (Error)
### Committee [/committees/{id}]
+ Parameters
+ id: 1 (required, number) - The ID of a committee
#### Get an Committee [GET]
+ Attributes (Committee)
+ Response 200 (application/json)
#### Update an Committee [PUT]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Attributes (Committee)
+ Response 200 (application/json)
+ Attributes (Committee)
+ Response 422 (application/json)
+ Attributes (Error)
+ Response 403 (application/json)
+ Attributes (Error)
#### Delete an Committee [DELETE]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Response 204 (application/json)
+ Response 403 (application/json)
## Group Events
### Events Collection [/events/{?name}{?committee}{?location}{?before}{?after}{?featured}{?sort}{?page}{?perPage}]
#### Get Events [GET]
+ Parameters
+ name: General Meeting (optional, string) - Filter by event name
+ committee: 1 (optional, number) - Filter by committee id
+ location: SSE Lab (optional, string) - Filter by location
+ before: `2015-09-20` (optional, date) - Only return events before the specified date
+ after: `2015-09-20` (optional, date) - Only return events after the specified date
+ featured: (optional, boolean) - Only return events with an image
+ Default: `false`
+ sort: 'ASC' (optional, enum[string]) - Sorts events by start time according to the value specified
+ Members
+ `ASC` - Ascending sort
+ `DESC` - Descending sort
+ page: (optional, number) - Set the current page
+ Default: `1`
+ perPage: (optional, number) - Sets the number of results to return per page
+ Default: `15`
+ Attributes (Pagination)
+ data (required, array[Event]) - list of events
+ Response 200 (application/json)
#### Create a Event [POST]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Attributes (Event)
+ Response 201 (application/json)
+ Attributes (Event)
+ Response 422 (application/json)
+ Attributes (Error)
+ Response 403 (application/json)
+ Attributes (Error)
### Event [/events/{id}]
+ Parameters
+ id: 1 (required, number) - The ID of a event
#### Get an Event [GET]
+ Attributes (Event)
+ Response 200 (application/json)
#### Update an Event [PUT]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Attributes (Event)
+ Response 200 (application/json)
+ Attributes (Event)
+ Response 422 (application/json)
+ Attributes (Error)
+ Response 403 (application/json)
+ Attributes (Error)
#### Delete an Event [DELETE]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Response 204 (application/json)
+ Response 403 (application/json)
## Group Headcounts
### Headcounts Collection [/headcounts/{?count}{?greaterThan}{?lessThan}{?between}{?date}{?user}{?page}{?perPage}]
#### Get Headcounts [GET]
+ Parameters
+ count: 30 (optional, number) - Filter by count
+ greaterThan: 20 (optional, number) - Filter where count is greater than the given value
+ lessThan: 20 (optional, string) - Filter where count is less than the given value
+ between: `2015-09-20..2015-09-30` (optional, date) - Find headcounts between a given date range
+ date: `2015-09-20` (optional, date) - Only return on a specified date
+ user: 'knm5153' (optional, string) - Filter by userDce
+ page: (optional, number) - Set the current page
+ Default: `1`
+ perPage: (optional, number) - Sets the number of results to return per page
+ Default: `15`
+ Attributes (Pagination)
+ data (required, array[Headcount]) - list of headcounts
+ Response 200 (application/json)
#### Create a Headcount [POST]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Attributes (Headcount No User)
+ Response 201 (application/json)
+ Attributes (Headcount)
+ Response 422 (application/json)
+ Attributes (Error)
+ Response 403 (application/json)
+ Attributes (Error)
### Headcount [/headcounts/{id}]
+ Parameters
+ id: 1 (required, number) - The ID of a headcount
#### Get a Headcount [GET]
+ Attributes (Headcount)
+ Response 200 (application/json)
#### Update a Headcount [PUT]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Attributes (Headcount No User)
+ Response 200 (application/json)
+ Attributes (Headcount)
+ Response 422 (application/json)
+ Attributes (Error)
+ Response 403 (application/json)
+ Attributes (Error)
#### Delete a Headcount [DELETE]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Response 204 (application/json)
+ Response 403 (application/json)
## Group Lingo
### Lingo Collection [/lingo/{?phrase}{?search}{?approved}{?page}{?perPage}]
#### Get Lingo [GET]
+ Parameters
+ phrase: 261 (optional, number) - Filter by phrase.
+ search: class (optional, date) - Search for phrases and definitions that contain the give string
+ approved: (optional, boolean) - Returns either the unnapproved or the approved lingos
+ Default: `true`
+ page: (optional, number) - Set the current page
+ Default: `1`
+ perPage: (optional, number) - Sets the number of results to return per page
+ Default: `15`
+ Attributes (Pagination)
+ data (required, array[Lingo Approved]) - List of lingo
+ Response 200 (application/json)
+ Response 403 (application/json)
+ Attributes (Error)
#### Create a Lingo [POST]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Attributes (Lingo No Approval)
+ Response 201 (application/json)
+ Attributes (Lingo)
+ Response 422 (application/json)
+ Attributes (Error)
+ Response 403 (application/json)
+ Attributes (Error)
### Lingo [/lingo/{id}]
+ Parameters
+ id: 1 (required, number) - The ID of a lingo
#### Get a Lingo [GET]
+ Attributes (Lingo Approved)
+ Response 200 (application/json)
+ Response 403 (application/json)
+ Attributes (Error)
#### Update a Lingo [PUT]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Attributes (Lingo Approved)
+ Response 200 (application/json)
+ Attributes (Lingo Approved)
+ Response 422 (application/json)
+ Attributes (Error)
+ Response 403 (application/json)
+ Attributes (Error)
#### Delete a Lingo [DELETE]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Response 204 (application/json)
+ Response 403 (application/json)
## Group Links
### Links Collection [/links/{?page}{?perPage}]
#### Get Links [GET]
+ Parameters
+ page: (optional, number) - Set the current page
+ Default: `1`
+ perPage: (optional, number) - Sets the number of results to return per page
+ Default: `15`
+ Attributes (Pagination)
+ data (required, array[Link]) - List of links
+ Response 200 (application/json)
#### Create a Link [POST]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Attributes (Link)
+ Response 201 (application/json)
+ Attributes (Link)
+ Response 422 (application/json)
+ Attributes (Error)
+ Response 403 (application/json)
+ Attributes (Error)
### Link [/links/{shortLink}]
+ Parameters
+ shortLink: google (required, number) - The short link of a link
#### Get a Link [GET]
+ Attributes (Link)
+ Response 200 (application/json)
#### Update a Link [PUT]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Attributes (Link)
+ Response 200 (application/json)
+ Attributes (Link)
+ Response 422 (application/json)
+ Attributes (Error)
+ Response 403 (application/json)
+ Attributes (Error)
#### Delete a Link [DELETE]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Response 204 (application/json)
+ Response 403 (application/json)
## Group Memberships
### Memberships Collection [/memberships/{?phrase}{?search}{?approved}{?page}{?perPage}]
#### Get Memberships [GET]
+ Parameters
+ phrase: 261 (optional, number) - Filter by phrase.
+ search: class (optional, date) - Search for phrases and definitions that contain the give string
+ approved: (optional, boolean) - Returns either the unnapproved or the approved lingos
+ Default: `true`
+ page: (optional, number) - Set the current page
+ Default: `1`
+ perPage: (optional, number) - Sets the number of results to return per page
+ Default: `15`
+ Attributes (Pagination)
+ data (required, array[Membership Approved]) - List of memberships
+ Response 200 (application/json)
+ Response 403 (application/json)
+ Attributes (Error)
#### Create a Membership [POST]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Attributes (Membership No Approval)
+ Response 201 (application/json)
+ Attributes (Membership)
+ Response 422 (application/json)
+ Attributes (Error)
+ Response 403 (application/json)
+ Attributes (Error)
### Membership [/memberships/{id}]
+ Parameters
+ id: 1 (required, number) - The ID of a membership
#### Get a Membership [GET]
+ Attributes (Membership Approved)
+ Response 200 (application/json)
+ Response 403 (application/json)
+ Attributes (Error)
#### Update a Membership [PUT]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Attributes (Membership Approved)
+ Response 200 (application/json)
+ Attributes (Membership Approved)
+ Response 422 (application/json)
+ Attributes (Error)
+ Response 403 (application/json)
+ Attributes (Error)
#### Delete a Membership [DELETE]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Response 204 (application/json)
+ Response 403 (application/json)
## Group Mentors
### Mentors Collection [/mentoring/mentors/{?specialty}{?user}{?active}{?page}{?perPage}]
#### Get Mentors [GET]
+ Parameters
+ specialty: node (optional, string) - Filter by specialty
+ user: 1 (optional, number) - Filter by user dce
+ location: SSE Lab (optional, string) - Filter by location
+ active: `2015-09-20` (optional, date) - Return all mentors who were active on this date
+ page: (optional, number) - Set the current page
+ Default: `1`
+ perPage: (optional, number) - Sets the number of results to return per page
+ Default: `15`
+ Attributes (Pagination)
+ data (required, array[Mentor]) - list of mentors
+ Response 200 (application/json)
#### Create a Mentor [POST]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Attributes (Mentor)
+ Response 201 (application/json)
+ Attributes (Mentor)
+ Response 422 (application/json)
+ Attributes (Error)
+ Response 403 (application/json)
+ Attributes (Error)
### Mentor [/mentoring/mentors/{id}]
+ Parameters
+ id: 1 (required, number) - The ID of a mentor
#### Get an Mentor [GET]
+ Attributes (Mentor)
+ Response 200 (application/json)
#### Update an Mentor [PUT]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Attributes (Mentor)
+ Response 200 (application/json)
+ Attributes (Mentor)
+ Response 422 (application/json)
+ Attributes (Error)
+ Response 403 (application/json)
+ Attributes (Error)
#### Delete an Mentor [DELETE]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Response 204 (application/json)
+ Response 403 (application/json)
## Group Mentor Shifts
### Mentors Shifts Collection [/mentoring/shifts/{?time}{?day}{?mentor}{?active}{?page}{?perPage}]
#### Get Mentor Shifts[GET]
+ Parameters
+ time: `12:54:00` (optional, time) - Find mentors at a given time
+ day: Thursday (optional, day) - Filter by day
+ mentor: 1 (optional, number) - Filter by mentorId
+ active: `2015-09-20` (optional, date) - Return all mentor shifts that are active who were active on this date
+ page: (optional, number) - Set the current page
+ Default: `1`
+ perPage: (optional, number) - Sets the number of results to return per page
+ Default: `15`
+ Attributes (Pagination)
+ data (required, array[Mentor Shift]) - list of mentors
+ Response 200 (application/json)
#### Create a Mentor Shift [POST]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Attributes (Mentor Shift)
+ Response 201 (application/json)
+ Attributes (Mentor Shift)
+ Response 422 (application/json)
+ Attributes (Error)
+ Response 403 (application/json)
+ Attributes (Error)
### Mentor Shift [/mentoring/shifts/{id}]
+ Parameters
+ id: 1 (required, number) - The ID of a mentor
#### Get an Mentor Shift [GET]
+ Attributes (Mentor Shift)
+ Response 200 (application/json)
#### Update an Mentor Shift [PUT]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Attributes (Mentor Shift)
+ Response 200 (application/json)
+ Attributes (Mentor Shift)
+ Response 422 (application/json)
+ Attributes (Error)
+ Response 403 (application/json)
+ Attributes (Error)
#### Delete an Mentor Shift [DELETE]
+ Request (application/json)
+ Headers
Authorization: Bearer [Your token]
+ Response 204 (application/json)
+ Response 403 (application/json)
## Group Mentor Specialties
## Group Officers
## Group QDB Quotes
## Group QDB Tags
## Group Tips
## Group Users
# Data Structures
## Auth (object)
+ secret: (required, string) - Secret associated with the auth method
+ id: knm5153 (required, string) - dce of user you are trying to log in with
## Token (object)
+ token: (required, string) - A json web token
## Pagination (object)
+ currentPage: 1 (required, number) - Current page
+ total: 1 (required, number) - Number Results overall
+ perPage: 15 (required, number) - Number requested per page
## Error (object)
+ message: (required, string) - the error message
## Agenda Item (object)
+ body: Do the thing (required, string) - Text of the agenda Item
+ week: `2015-08-26` (required, string) - Day of the officers meeting
+ officerId: 1 (required, number) - Officer Id
+ userDce: knm5153 (required, string) - User dce
## Agenda Item No User (object)
+ body: Do the thing (required, string) - Text of the agenda Item
+ week: `2015-08-26` (required, string) - Day of the officers meeting
+ officerId: 1 (required, number) - Officer Id
## Committee
+ name: Events (required, string) - Name of the committee
+ description: The events committee organizes events. (required, string) - Description of the committee
## Event
+ name: General Meeting (required, string) - Name of the event
+ startDate: `2015-08-29T14:47:56.236Z` (required, string) - The start date and time of the event
+ endDate: `2015-08-29T15:47:56.236Z` (required, string) - The end date and time of the event
+ description: This is the SSE General Meeting (optional, string) - A description of the event
+ location: SSE Lab (required, string) - The location of the event
+ image: http://i.ytimg.com/vi/ReF6iQ7M5_A/maxresdefault.jpg (optional, string) - A URL to an image associated with the event
+ committeeId: 1 (required, number) - The committee this event is associated with
## Headcount (object)
+ count: 30 (required, number) - Number of people in the lab
+ userDce: knm5153 (required, string) - User dce
## Headcount No User (object)
+ count: 30 (required, number) - Number of people in the lab
## Lingo (object)
+ phrase: 261 (required, string) - The phrase
+ definition: a class (required, string) - the definition
+ approved: false (required, boolean) - whether or not it is approved
## Lingo Approved (object)
+ phrase: 261 (required, string) - The phrase
+ definition: a class (required, string) - the definition
+ approved: true (required, boolean) - whether or not it is approved
## Lingo No Approval (object)
+ phrase: 261 (required, string) - The phrase
+ definition: a class (required, string) - the definition
## Link (object)
+ shortLink: google (required, string) - The short link
+ longLink: https://google.com (required, string) - The url you wish to shorten
## Membership (object)
+ reason: Helping with the heist (required, string) - The reason for membership
+ userDCE: knm5153 (required, string) - The user getting membership
+ committeeId: 1 (required, number) - The committee id
+ startDate: `2015-08-22` (required, string) - The start date
+ endDate: `2015-12-18` (required, string) - The end date
+ approved: false (required, boolean) - whether or not it is approved
## Membership Approved (object)
+ reason: Helping with the heist (required, string) - The reason for membership
+ userDCE: knm5153 (required, string) - The user getting membership
+ committeeId: 1 (required, number) - The committee id
+ startDate: `2015-08-22` (required, string) - The start date
+ endDate: `2015-12-18` (required, string) - The end date
+ approved: true (required, boolean) - whether or not it is approved
## Membership No Approval (object)
+ reason: Helping with the heist (required, string) - The reason for membership
+ userDCE: knm5153 (required, string) - The user getting membership
+ committeeId: 1 (required, number) - The committee id
+ startDate: `2015-08-22` (required, string) - The start date
+ endDate: `2015-12-18` (required, string) - The end date
## Mentor (object)
+ bio: I'm so cool (required, string) - the mentor bio
+ userDCE: knm5153 (required, string) - the user this mentor represents
+ startDate: `2015-08-22` (required, string) - The start date
+ endDate: `2015-12-18` (required, string) - The end date
+ specialties: (required, array[Specialty]) - the mentors specialties
## Mentor Shift (object)
+ startTime: `12:00:00` (required, string) - the start time of the shift
+ endTime: `14:00:00` (required, string) - the start time of the shift
+ day: Thursday (required, string) - the day of the week for the mentor shift
+ mentorId: 1 (required, number) - the mentor id who has this shift
## Specialty (object)
+ name: node (required, string) - the specialty