-
Notifications
You must be signed in to change notification settings - Fork 0
API: Users
Darren Hobin edited this page Mar 21, 2017
·
3 revisions
POST: https://spore.life/api/users
-
first: String
// -- First Name -
last: String
// -- Last Name -
pass: String
// -- Password -
email: String
// -- Email -
fb: String
// -- Facebook ID -
pic: String
// -- Profile Picture URI -
events: String
// -- Event ID List -
school: String
// -- Current School -
theme: String
// -- Theme
{"error": 0, "data": user_obj}
{"error": 110, "data": mongo_error}
GET: https://spore.life/api/users
-
user: String
// -- User ID -
fb: String
// -- Facebook ID
{"error": 0, "data": user_id}
{"error": 110, "data": message}
PUT: https://spore.life/api/users
-
user: String
// -- User ID
-
first: String
// -- First Name -
last: String
// -- Last Name -
pass: String
// -- Password -
email: String
// -- Email -
fb: String
// -- Facebook ID -
pic: String
// -- Profile Picture URI -
events: String
// -- Event ID List -
school: String
// -- Current School -
theme: String
// -- Theme
{"error": 0, "data": user_obj}
{"error": 110, "data": mongo_error}