Skip to content
Colton Shuman edited this page Dec 4, 2019 · 3 revisions

Page is meant to document the Bugger API. Please note that this is still being fleshed out, and will a great deal of changes, as wells as more details in the future.

Bugger API

GET

/users/login

Body: {"username" : ; "password" : }
Headers: None
Returns: { "alias" : <alias>, "email" : <email>, "firstName" : <first name>, lastName: <last name>, "permissions" : [<permissions>], "username" : <username>}

Logs in a user, returns a cookie as a JSON string

/users/userprofile/#ID

/users/allusers/

Returns all users as a JSON string

POST

/users/

/projects/

Body: none
Headers: Authentication Cookie - 'BuggerCookie : :'
Returns: {[<projects>]}

Gets the currently logged in user's projects in a JSON formatted list.

PUT

/users/update/

Body: User data

Updates a user profile

/users/update/password/

Body: newPassword; newPassword

Changes a user's password