Skip to content
This repository has been archived by the owner on Jul 6, 2019. It is now read-only.

Fields for Routes

Stanley Armstrong edited this page Oct 15, 2018 · 1 revision

Here are the fields that you need for production/testing:

Something to note before testing is that multipart-form testing is the only supported method at the moment.

POST/PUT Routes:

/applications/ and /applications/resume/

Fields (/application/) :

first_name: text field

last_name: text field

email: text field, but has to be an email address

phone_number: text field , made up of 15 digits

is_eighteen: text field, but has to be either 'true' or 'false'

school: text field

graduation_date: text field, but has to be of the form of 'yyyy-mm-dd'

major: text field

city: text field 

dietary_restrictions: text field, but has to be an int 0-5

other_dietary_restrictions: text field, but can be empty

allergies: text field

github: text field, but has to be a GitHub link 

linkedin: text field, but has to be a LinkedIn link

personal_website: text field, but has to be a link

resume: file field 

short_answer: text field

gender: text field, but has to be an int between 0-2

other_gender: text field, but can be empty

ethnicity: text field, but has to be an int between 0-6

other_ethnicity: text field, but can be empty

agreed: text field, but has to be either 'true' or 'false'

Fields (/resume/):

resume: File Field

GET routes:

/applications/, /applications/#id/ , and /applications/#id/#field_name

DELETE routes:

/applications/#id/

Those are the most up-to-date routes and fields for testing. They will be updated as more routes and fields are created.

Clone this wiki locally