File

Initiate file upload

Initiate file upload.

post/beta/file

Request

Headers

X-Friendli-Teamstring nullable

ID of team to run requests as (optional parameter).

Request body

namestring required

Name of the file.

sizeinteger required

Size of the file in bytes.

digeststring required

Digest of the file.

projectIdstring required

ID of the project the file belongs to.

Response

OK - File is already uploaded.

fileIdstring required

ID of the file.

uploadUrlstring nullable

Upload URL of the file. None if the file is already uploaded.

awsobject nullable

AWS fields to be uploaded with file.

Changes

No recorded changes to this operation across all 1 revision of this API.