Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 11
Application
Paul Dilyard edited this page Sep 29, 2015
·
5 revisions
POST/users/applicationAuth{"name": String,// full name"school": String,// name of school"phone": String,// phone number"shirt": String,// t-shirt size"demographic": Boolean,// allowed to use demographic info?"first": Boolean,// is this your first hackathon?"dietary": String,// food restrictions seperated by |"year": String,// the year in school"age": Number,// person's age"gender": String,// gender"major": String,// degree"conduct": Boolean,// agree to MLH code of conduct?"travel": Boolean,// need travel reimbursement?"waiver": Boolean,// agreed to waiver?"resume": String,// the filename of their resume"link": String// a github/linkedin link}HTTP/1.1201Created{"_id": String,"email": String,"role": String,"created": Date,"application": {"name": String,"school": String,"phone": String,"shirt": String,"demographic": Boolean,"first": Boolean,"dietary": [String],"year": String,"age": Number,"gender": String,"major": String,"conduct": Boolean,"travel": Boolean,"waiver": Boolean,"status": String,"going": Boolean,"checked": Boolean,"created": Date,"door": Boolean,"resume": String,"link": String}}GET/users/me/applicationAuthHTTP/1.1200OK{"_id": String,"email": String,"role": String,"created": Date,"application": {"name": String,"school": String,"phone": String,"shirt": String,"demographic": Boolean,"first": Boolean,"dietary": [String],"year": String,"age": Number,"gender": String,"major": String,"conduct": Boolean,"travel": Boolean,"waiver": Boolean,"status": String,"going": Boolean,"checked": Boolean,"created": Date,"door": Boolean,"resume": String,"link": String}}GET/users/:id/applicationAuth->admin,staffHTTP/1.1200OK{"_id": String,"email": String,"role": String,"created": Date,"application": {"name": String,"school": String,"phone": String,"shirt": String,"demographic": Boolean,"first": Boolean,"dietary": [String],"year": String,"age": Number,"gender": String,"major": String,"conduct": Boolean,"travel": Boolean,"waiver": Boolean,"status": String,"going": Boolean,"checked": Boolean,"created": Date,"door": Boolean,"resume": String,"link": String}}GET/users/applicationAuth->admin,staffHTTP/1.1200OK{"users": [{"_id": String,"email": String,"role": String,"created": Date,"application": {"name": String,"school": String,"phone": String,"shirt": String,"demographic": Boolean,"first": Boolean,"dietary": [String],"year": String,"age": Number,"gender": String,"major": String,"conduct": Boolean,"travel": Boolean,"waiver": Boolean,"status": String,"going": Boolean,"checked": Boolean,"created": Date,"door": Boolean,"resume": String,"link": String}}]}PATCH/users/me/applicationAuth{"name": String,"school": String,"phone": String,"shirt": String,"demographic": Boolean,"first": Boolean,"dietary": String,"year": String,"age": Number,"gender": String,"major": String,"conduct": Boolean,"travel": Boolean,"waiver": Boolean,"resume": String,"link": String}HTTP/1.1200OK{"_id": String,"email": String,"role": String,"created": String,"application": {"name": String,"school": String,"phone": String,"shirt": String,"demographic": Boolean,"first": Boolean,"dietary": [String],"year": String,"age": Number,"gender": String,"major": String,"conduct": Boolean,"travel": Boolean,"waiver": Boolean,"status": String,"going": Boolean,"checked": Boolean,"created": Date,"door": Boolean,"resume": String,"link": String}}PATCH/users/:id/applicationAuth->admin,staff// All fields optional{"name": String,"school": String,"phone": String,"shirt": String,"demographic": Boolean,"first": Boolean,"dietary": String,"year": String,"age": Number,"gender": String,"major": String,"conduct": Boolean,"travel": Boolean,"waiver": Boolean,"resume": String,"link": String}HTTP/1.1200OK{"_id": String,"email": String,"role": String,"created": String,"application": {"name": String,"school": String,"phone": String,"shirt": String,"demographic": Boolean,"first": Boolean,"dietary": [String],"year": String,"age": Number,"gender": String,"major": String,"conduct": Boolean,"travel": Boolean,"waiver": Boolean,"status": String,"going": Boolean,"checked": Boolean,"created": Date,"door": Boolean,"resume": String,"link": String}}DELETE/users/me/applicationAuthHTTP/1.1200OK{"_id": String}DELETE/users/:id/applicationAuth->admin,staffHTTP/1.1200OK{"_id": String}POST/users/application/resume{"resume": File// A PDF or .docx}HTTP/1.1200OK{"filename": String// use this to update the user's application object}GET/users/application/resume/:filenameHTTP/1.1200OK// Response will be the file download