Sessions
Get resources for a session
Changed onRetrieve all resources associated with a specific session
get/sessions/{id}/resources
Request
- Base URL: http://localhost:8080/api/v1
- URL: http://localhost:8080/api/v1/sessions/{id}/resources
- Auth: none declared
Path parameters
idstring uuid required
Example:123e4567-e89b-12d3-a456-426614174000
UUID of the Session to retrieve resources for
Query parameters
pageinteger
Page Number of pagination
limitinteger
Number of Items per page in pagination
Response
List of resources associated with the session
Example response
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"theme_id": "123e4567-e89b-12d3-a456-426614174000",
"grade_level": 5,
"week": 2,
"title": "Reading Exercises: b vs d",
"content": "https://example.com/resource",
"theme": {
"theme_name": "Jungle Adventure",
"theme_month": 6,
"theme_year": 2024,
"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 fromstringtointegerfor status
- ▲