uwcirg / tb-api

1 stars 1 forks source link

note api #19

Closed rossumg closed 5 years ago

rossumg commented 5 years ago
{
    "notes": [
        {
            "author_id": 0,
            "created": "Thu, 20 Sep 2018 17:49:13 GMT",
            "id": 3,
            "lastmod": "Thu, 20 Sep 2018 17:49:13 GMT",
            "patient_id": 574,
            "text": "text note 0"
        }
    ]
}
1. GET /api/v1.0/notes/{int:id} returns the specified note.
2. GET /api/v1.0/notes/?patient_id=<int> returns all notes by patient_id.
3. POST /api/v1.0/notes  <json in body> returns the specified note id.
rossumg commented 5 years ago

There are changes in docker-compose.yml that are specific to my windows environment.

rossumg commented 5 years ago

Thanks for the review, touch base when available.

c4lliope commented 5 years ago

👍 🎉 🎂