Get Patient Events
GET endpoint for /clinician/patient/get-patient-events in clinician category
Overview
- Method: GET
- Path:
/clinician/patient/get-patient-events - Tags: clinician
Parameters
limit (query)
- Type:
string - Required: Yes
- Description: limit query parameter
offset (query)
- Type:
string - Required: Yes
- Description: offset query parameter
eventType (query)
- Type:
string - Required: No
- Description: eventType query parameter
Request Body
No request body required.
Responses
200
Successful response
Content Type: application/json
{
"type": "object",
"properties": {
"events": {
"type": "string"
},
"eventType": {
"type": "string"
},
"data": {
"type": "object",
"additionalProperties": true
},
"source": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"user": {
"type": "string"
},
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"email": {
"type": "string"
}
},
"required": [
"events",
"eventType",
"data",
"source",
"createdAt",
"user",
"first_name",
"last_name",
"email"
]
}400
Bad Request
Content Type: application/json
{
"type": "object",
"properties": {
"error": {
"type": "string"
},
"details": {
"type": "array",
"items": {
"type": "object"
}
},
"message": {
"type": "string"
}
},
"required": [
"error",
"details"
]
}401
Unauthorized
404
Not Found
500
Internal Server Error
Example Usage
curl -X GET \
http://localhost:9000/clinician/patient/get-patient-events \
-H "Content-Type: application/json" \
Interactive Testing
You can test this endpoint interactively in the Swagger UI (opens in a new tab).