Skip to content

Dashboard REST API doc

James Cancilla edited this page Nov 1, 2017 · 1 revision

The following outlines the REST API available from the "server" component of the dashboard.

Get Patients

Fetches a list of currently admitted/monitored patients from the backend data store (i.e. Redis)

  • URL

    /patients

  • Method:

    GET

  • URL Params

    None

  • Data Params

    None

  • Success Response:

    • Code: 200
      Content: {"patient-1" : {"readingSource" : "mobile"}, "patient-2" : {"readingSource" : "monitor"}}
  • Sample Call:

    curl -X GET http://localhost:4000/patients

  • Notes:

    None

Documentation template based on https://gist.github.com/iros/3426278