@@ -1257,7 +1257,7 @@ define({
12571257 } ,
12581258 {
12591259 "type" : "get" ,
1260- "url" : "/hacker/email/:email " ,
1260+ "url" : "/hacker/:id " ,
12611261 "title" : "get a hacker's information" ,
12621262 "name" : "getHacker" ,
12631263 "group" : "Hacker" ,
@@ -1268,8 +1268,8 @@ define({
12681268 "group" : "param" ,
12691269 "type" : "String" ,
12701270 "optional" : false ,
1271- "field" : "email " ,
1272- "description" : "<p>a hacker's unique email </p>"
1271+ "field" : "id " ,
1272+ "description" : "<p>a hacker's unique mongoID </p>"
12731273 } ]
12741274 }
12751275 } ,
@@ -1324,12 +1324,12 @@ define({
13241324 "filename" : "routes/api/hacker.js" ,
13251325 "groupTitle" : "Hacker" ,
13261326 "sampleRequest" : [ {
1327- "url" : "https://api.mchacks.ca/api/hacker/email/:email "
1327+ "url" : "https://api.mchacks.ca/api/hacker/:id "
13281328 } ]
13291329 } ,
13301330 {
13311331 "type" : "get" ,
1332- "url" : "/hacker/:id " ,
1332+ "url" : "/hacker/email/:email " ,
13331333 "title" : "get a hacker's information" ,
13341334 "name" : "getHacker" ,
13351335 "group" : "Hacker" ,
@@ -1340,8 +1340,8 @@ define({
13401340 "group" : "param" ,
13411341 "type" : "String" ,
13421342 "optional" : false ,
1343- "field" : "id " ,
1344- "description" : "<p>a hacker's unique mongoID </p>"
1343+ "field" : "email " ,
1344+ "description" : "<p>a hacker's unique email </p>"
13451345 } ]
13461346 }
13471347 } ,
@@ -1396,7 +1396,7 @@ define({
13961396 "filename" : "routes/api/hacker.js" ,
13971397 "groupTitle" : "Hacker" ,
13981398 "sampleRequest" : [ {
1399- "url" : "https://api.mchacks.ca/api/hacker/:id "
1399+ "url" : "https://api.mchacks.ca/api/hacker/email/:email "
14001400 } ]
14011401 } ,
14021402 {
@@ -2645,7 +2645,7 @@ define({
26452645 } ,
26462646 "examples" : [ {
26472647 "title" : "Success-Response: " ,
2648- "content" : "{\n \"message\": \"Successfully retrieved team information \", \n \"data\": {...}\n }" ,
2648+ "content" : "{\n \"message\": \"Team retrieval successful \", \n \"data\": { \n \"team\": {\n \"name\":\"foo\",\n \"members\": [\n ObjectId(' ...')\n ],\n \"devpostURL\": \"www.devpost.com/foo\",\n \"projectName\": \"fooey\"\n },\n \"members\": [\n {\n \"firstName\": \"John\",\n \"lastName\": \"Doe\"\n }\n ],\n }\n }" ,
26492649 "type" : "object"
26502650 } ]
26512651 } ,
0 commit comments