@@ -1250,7 +1250,7 @@ define({
12501250 } ,
12511251 {
12521252 "type" : "get" ,
1253- "url" : "/hacker/email/:email " ,
1253+ "url" : "/hacker/:id " ,
12541254 "title" : "get a hacker's information" ,
12551255 "name" : "getHacker" ,
12561256 "group" : "Hacker" ,
@@ -1261,8 +1261,8 @@ define({
12611261 "group" : "param" ,
12621262 "type" : "String" ,
12631263 "optional" : false ,
1264- "field" : "email " ,
1265- "description" : "<p>a hacker's unique email </p>"
1264+ "field" : "id " ,
1265+ "description" : "<p>a hacker's unique mongoID </p>"
12661266 } ]
12671267 }
12681268 } ,
@@ -1317,12 +1317,12 @@ define({
13171317 "filename" : "routes/api/hacker.js" ,
13181318 "groupTitle" : "Hacker" ,
13191319 "sampleRequest" : [ {
1320- "url" : "https://api.mchacks.ca/api/hacker/email/:email "
1320+ "url" : "https://api.mchacks.ca/api/hacker/:id "
13211321 } ]
13221322 } ,
13231323 {
13241324 "type" : "get" ,
1325- "url" : "/hacker/:id " ,
1325+ "url" : "/hacker/email/:email " ,
13261326 "title" : "get a hacker's information" ,
13271327 "name" : "getHacker" ,
13281328 "group" : "Hacker" ,
@@ -1333,8 +1333,8 @@ define({
13331333 "group" : "param" ,
13341334 "type" : "String" ,
13351335 "optional" : false ,
1336- "field" : "id " ,
1337- "description" : "<p>a hacker's unique mongoID </p>"
1336+ "field" : "email " ,
1337+ "description" : "<p>a hacker's unique email </p>"
13381338 } ]
13391339 }
13401340 } ,
@@ -1389,7 +1389,7 @@ define({
13891389 "filename" : "routes/api/hacker.js" ,
13901390 "groupTitle" : "Hacker" ,
13911391 "sampleRequest" : [ {
1392- "url" : "https://api.mchacks.ca/api/hacker/:id "
1392+ "url" : "https://api.mchacks.ca/api/hacker/email/:email "
13931393 } ]
13941394 } ,
13951395 {
@@ -1628,7 +1628,7 @@ define({
16281628 {
16291629 "type" : "patch" ,
16301630 "url" : "/hacker/confirmation/:id" ,
1631- "title" : "Allows confirmation of hacker attendence if they are accepted. Also allows change from 'confirmed' back to 'accepted' " ,
1631+ "title" : "Allows confirmation of hacker attendence if they are accepted. Also allows change from 'confirmed' to 'cancelled'. " ,
16321632 "name" : "patchHackerConfirmed" ,
16331633 "group" : "Hacker" ,
16341634 "version" : "0.0.9" ,
@@ -1639,7 +1639,7 @@ define({
16391639 "type" : "string" ,
16401640 "optional" : true ,
16411641 "field" : "status" ,
1642- "description" : "<p>The new status of the hacker. "Accepted" or "Confirmed "</p>"
1642+ "description" : "<p>The new status of the hacker. "Accepted", "Confirmed", or "Cancelled "</p>"
16431643 } ]
16441644 }
16451645 } ,
0 commit comments