Get all sessions for a student
Changed onRetrieve all sessions associated with a specific student, including bridge table information.
Date Filtering Options:
- Use startDate and endDate for date range filtering: ?startDate=2025-09-01&endDate=2025-09-30
- Use month and year for monthly filtering: ?month=9&year=2025
- Use year alone for yearly filtering: ?year=2025
Attendance Filtering:
- Use present to filter by attendance: ?present=true or ?present=false
Combining Filters: All filters can be combined: ?month=9&year=2025&present=true
Request
- Base URL: http://localhost:8080/api/v1
- URL: http://localhost:8080/api/v1/students/{student_id}/sessions
- Auth: none declared
Path parameters
UUID of the student
Query parameters
Filter sessions starting after this date (YYYY-MM-DD format)
Filter sessions ending before this date (YYYY-MM-DD format)
Filter sessions by month (1-12). Can be combined with year parameter.
Filter sessions by year. Can be combined with month parameter or used alone.
Filter sessions by student's attendance status
Page Number of pagination
Number of Items per page in pagination
Response
List of sessions with student relationship details
Example response
[
{
"session": {
"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
]
}
},
"student_id": "987fcdeb-51a2-43d1-9f4c-123456789abc",
"present": true,
"notes": "Worked on balance exercises",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:35:00Z"
}
]Changes
- ●
removed the optional property
//from the response with the status - ○
added the optional property
//to the response with the status
- ●
- ▲
the
response's property type changed from no type toobjectfor status - ○
added the optional property
/to the response with the status - ○
removed
subschema #2from theresponse propertyallOflist for the response status - ○
added the required property
/to the response with the status - ○
added the required property
/to the response with the status - ○
added the required property
/to the response with the status - ○
added the required property
/to the response with the status - ○
added the required property
/to the response with the status
- ▲