Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 1.12 KB

BloodGlucose.md

File metadata and controls

53 lines (40 loc) · 1.12 KB

Blood Glucose

GET Method

  GET /api/blood_glucoses
  GET /api/blood_glucoses/:id
Parameter Type Description
id integer Required

POST Method

  POST /api/blood_glucoses
Parameter Type Description
blood_glucose integer Required
note string Optional
user_id integer Required
blood_glucose_condition_id integer Required

JSON Body Request Example

{
    "data":{
        "blood_glucose":90,
        "note":"Test 1",
        "user_id":1,
        "blood_glucose_condition_id":6
    }
}

DELETE Method

  DELETE /api/blood_glucoses/:id
Parameter Type Description
id integer Required

Run in Postman