Attach a file to a record

Creates an attachment relationship between an uploaded file and a supported school record.

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
file_manager_idintegerRequired
model_namestringRequired
model_idintegerRequired
file_category_idinteger or nullOptional

Response

Attachment created.
statusstringOptional
messagestringOptional
dataobjectOptional

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error