Upload Project File (stream)

Upload a file to a project using multipart/form-data

Authentication

x-api-keystring
API Key authentication via header

Path parameters

projectIdstringRequired

Query parameters

namestringOptional
Optional file name to store
content_typestringOptional
Optional MIME type to associate with the file

Request

This endpoint expects a multipart form containing an optional file.
filefileOptional

Response

Successful response
idinteger
File identifier
namestring
File name
downloadUrlstring
URL to download the file
typestring
File type
updatedAtstringformat: "date-time"
Last update timestamp
createdAtstringformat: "date-time"
Creation timestamp
companyIdinteger
Company identifier
metaDataobject
sourcestring

File source (e.g., INTERNAL)

createdByUserobject
isArchivedboolean or null
Whether the file is archived

Errors