List school files with filters

Returns paginated files related to current school people and supports search, filters, sorting, and pagination.

Authentication

AuthorizationBearer

The signed-in SchoolSet user token sent by the frontend.

Query parameters

pageintegerOptional>=1
Page number.
per_pageintegerOptional1-100
Items per page.
sortstringOptional
Sort field with optional leading minus.
filter[search]stringOptional
Search file names and related records.
filter[file_type][]list of stringsOptional

File MIME/type values to include.

filter[created_by][]list of stringsOptional
Creator names to include.
filter[related_to][]list of stringsOptional
Related entity labels to include.
filter[student_status][]list of stringsOptional
Student status titles to include.
filter[file_category][]list of stringsOptional
File category titles to include.
filter[created_at][from]dateOptional

Lower date bound; sent as the created_at filter value.

filter[created_at][to]dateOptional

Upper date bound; sent as the created_at filter value.

Response

Paginated file rows and pagination metadata.
statusstringOptional
messagestringOptional
dataobjectOptional

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error