david-fisher / 320-S20-Track2

Integration Track 2
BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

PATCH /account/{id} #64

Closed dergoose closed 4 years ago

dergoose commented 4 years ago

request: header contains id body { email: "bla@bla.com" password_: "423S904HJ321FKSJ423" first_name: "Jerry" last_name: "Smith" preferred_name: "Jerry" phone_number: 55555555555 profile_picture: "pic" request_supporter: true active_account: true description: "Blah blah" GPA: 4.0 grad_year: 2021 resume_ref: "ref" github_link: "github.url" linkedin_link: "linkedin.url" is_undergrad: True college: "UMass" program: "Blah" job_search: True work_auth: "Blah" title: "Google Interviewer" current_employer: "Google" supporter_type: "Interviewer" location: "Amherst" calendar_ref: "calender_ref" calendar_sync: "calendar_sync" calendar_sync_freq: "weekly show_feedback: True rating: True ask_recommended: True availability_add: [ { start_time: 100 end_time: 150 appt_date: 210241 } ] availability_delete: [ { start_time: 105 end_time: 155 appt_date: 210211 } ] tags_add: [ { tag_id: 14 } ] tags_delete: [ { tag_id: 16 } ] appointment_add: [ { type_id: 14 } ] appointment_delete: [ { type_id: 16 } ] supporter_type_add: [ { supp_type_id: 14 } ] supporter_type_delete: [ { supp_type_id: 16 } ] }

response: 200 for successful update

dergoose commented 4 years ago

find a way to upload a new resume/picture/etc