Get user notes
GET/:customer_id/users/:uid/notes
Get user notes with filters
Request
Path Parameters
Id of the tenant
Id of the user
Query Parameters
Possible values: <= 1000
Default value: 100
Pagination. Max number of entries returned.
Pagination. Offset.
Notes start date, timestamptz
Notes end date, timestamptz
A list of triggers
Possible values: [asc, desc]
Default value: desc
Ascending or descending in time
Responses
- 200
- 400
Successful response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
The primary key for the note, a unique identifier.
The FK linking the note to a specific tenant
The FK linking the note to a specific user.
The timestamp indicating when the note's started, with timezone information.
The timestamp indicating when the note's ended, with timezone information.
Text field containing text related to the note.
A list of trigger identifiers that triggered this note.
The total number of coughs observed during the note's time frame.
The rate of coughs observed, typically calculated as coughs per minute.
The timestamp when the note was created, set automatically.
The timestamp when the note was last updated, set automatically.
Note's timezone offset in minutes
notes object[]required
The primary key for the note, a unique identifier.
The FK linking the note to a specific tenant
The FK linking the note to a specific user.
The timestamp indicating when the note's started, with timezone information.
The timestamp indicating when the note's ended, with timezone information.
Text field containing text related to the note.
A list of trigger identifiers that triggered this note.
The total number of coughs observed during the note's time frame.
The rate of coughs observed, typically calculated as coughs per minute.
The timestamp when the note was created, set automatically.
The timestamp when the note was last updated, set automatically.
Note's timezone offset in minutes
{
"id": "string",
"customer_id": "string",
"uid": "string",
"start_date": "2024-12-03T11:32:12.448Z",
"end_date": "2024-12-03T11:32:12.448Z",
"text": "string",
"triggers_id": [
"string"
],
"cough_count": 0,
"cough_rate": 0,
"created_at": "2024-12-03T11:32:12.448Z",
"updated_at": "2024-12-03T11:32:12.448Z",
"utc_offset": 0,
"notes": [
{
"id": "string",
"customer_id": "string",
"uid": "string",
"start_date": "2024-12-03T11:32:12.448Z",
"end_date": "2024-12-03T11:32:12.448Z",
"text": "string",
"triggers_id": [
"string"
],
"cough_count": 0,
"cough_rate": 0,
"created_at": "2024-12-03T11:32:12.449Z",
"updated_at": "2024-12-03T11:32:12.449Z",
"utc_offset": 0
}
]
}
Validation error
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "string",
"errors": [
null
]
}