Sessions
Update session
Changed onUpdate an existing session (partial update)
patch/sessions/{id}
Request
- Base URL: http://localhost:8080/api/v1
- URL: http://localhost:8080/api/v1/sessions/{id}
- Auth: none declared
Path parameters
idstring uuid required
UUID of the Session to patch
Request body
Example request
{
"session_name": "Fluency Work with Florence",
"start_datetime": "2025-09-13T17:19:00Z",
"end_datetime": "2025-09-13T18:00:00Z",
"therapist_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"notes": "Updated session notes",
"location": "2nd Floor of the School"
}Response
Session updated successfully
Example response
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"session_name": "Fluency work with Florence",
"start_datetime": "2024-01-15T14:30:00Z",
"end_datetime": "2024-01-15T15:30:00Z",
"therapist_id": "987fcdeb-51a2-43d1-9f4c-123456789abc",
"session_parent_id": "123e4567-e89b-12d3-a456-426614174000",
"notes": "Patient showed improvement in anxiety management techniques",
"location": "To the land where the honey runs...",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:35:00Z",
"repetition": {
"recur_start": "2025-09-13T17:19:00Z",
"recur_end": "2025-11-13T17:19:00Z",
"every_n_weeks": 2,
"days": [
1,
3,
5
]
}
}Changes
- ●
removed the optional property
from the response with the status - ○
added the optional property
to the response with the status
- ●
- ○
added the optional property
to the response with the status - ○
added the required property
to the response with the status
- ○