This repository has been archived by the owner on Jul 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
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.
/applications/ and /applications/resume/
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'
resume: File Field
/applications/, /applications/#id/ , and /applications/#id/#field_name
/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.