cURL
curl --request POST \ --url https://api.scholarlysoftware.com/api/v1/faculty_activities/{faculty_activity_id}/files \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/octet-stream' \ --data '"<string>"'
{ "message": "<string>", "file": { "id": "<string>", "filename": "report.pdf", "content_type": "application/pdf", "byte_size": 1024000 } }
Uploads a file to a specific faculty activity by sending the raw file binary data in the request body
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Bearer token
The body is of type file.
file
File uploaded
Show child attributes