Create a Research File

Upload a file via multipart form and create a Research File object. Optionally assign to a collection.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects a multipart form containing a file.
filefileRequired
collection_idstringOptionalformat: "uuid"
Optional collection ID to assign the file to.

Response

The created file object.
idstringformat: "uuid"
Unique identifier for the file.
file_namestring
Original uploaded filename.
content_typestring

MIME type of the file as detected/stored.

collection_idstring or nullformat: "uuid"
ID of the collection this file belongs to, if any.

Errors