Group Members
- Aaron Li (lia79)
- Manny Lemos (lemosm1)
- Amos Yu (yua25)
- Andy Pham (phama8)
- Fady Zekry Hanna (zekryhf)
The pacemaker design project is a large portion of the SFWRENG 3K04 Software Development course. This site is a REST API for the pacemaker's Device Controller-Monitor (DCM). It is built using Express, MongoDB, and Node. It is hosted on Google App Engine along with MongoDB Atlas. Find the source code on Github here.
All endpoints respond to POST requests. Make sure each request body has all the necessary parameters with x-www-form-urlencoded
encoding. Parameters that are italicized are optional, all others are required.
Parameters
- licenseKey
String
- username
String
- password
String
Register a new User. Responds with the User document that was just registered.
Parameters
- licenseKey
String
- username
String
- password
String
Login as an existing User. Responds with the document of the User that logged in.
Parameters
- licenseKey
String
- id
String
- MODE
Number
- UPPER_RATE_LIMIT
Number
- LOWER_RATE_LIMIT
Number
- PVARP
Number
- AV_DELAY
Number
- REACT_TIME
Number
- RESP_FACTOR
Number
- ACTIVITY_THRESH
Number
- RCVR_TIME
Number
- MAX_SENSE
Number
- ATR_AMP
Number
- ATR_PW
Number
- ARP
Number
- ATR_THRESH
Number
- ATR_SENSE
Number
- VENT_AMP
Number
- VENT_PW
Number
- VRP
Number
- VENT_THRESH
Number
- VENT_SENSE
Number
Create a new Bundle. The "id" parameter should be the id of the associated User. Programmable parameters are defined here and here. Responds with the newly created Bundle document.
Parameters
- licenseKey
String
- id
String
Get all bundles associated to a User. Responds with an array of Bundle documents, sorted by newest date.
Parameters
- adminKey
String
- id
String
Delete a single User from the database. Responds with a confirmation message.
Parameters
- adminKey
String
Delete all data from the database. Responds with a confirmation message.
Find the license file here.