Skip to content
Paul Lu edited this page Mar 14, 2020 · 3 revisions

Welcome to the rails-db-grinnell wiki!

server

http://appdev.grinnell.edu:3000/api/v1/ios

methods

/fetch

parameters

lastName=

&email=

&campusPhone=

&homeAddress=

&facultyDepartment=

&major=

&concentration=

&sga=

&hiatus=

&studentClass=

&campusquery=

&firstName=

&token=

&page=

response

200:

return a list of people

{ "errMessage": "", "maximumPage": "2", "status": 200, "content": [ { "imgPath": "string", "firstName": "string", "lastName": "string", "userName": "string", "major": "string", "phone": "string", "email": "string", "address": "string", "box": "string", "type": "string", "classYear": "string" } ] }

401

cookie expired

400

too many people to list

methods

/person

parameters

username=

&token=

response

401

cookie expired

400

username is invalid

200

{ "Name*:": "string", "Major:": "string", "Concentration:": "string", "Class:": "string", "E-Mail:": "string", "Campus Address:": "string", "Campus Box:": "string", "Home Addr:": "string" }

Clone this wiki locally