File

Get file info

Get file info.

get/beta/file/{file_id}

Request

Path parameters

file_idstring required

File ID

Headers

X-Friendli-Teamstring nullable

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

Response

OK

idstring required

ID of the file.

namestring required

Name of the file.

sizeinteger required

Size of the file in bytes.

digeststring required

SHA256 hash of the file.

projectIdstring required

ID of the project the file belongs to.

creatorIdstring required

ID of the creator of the file.

createdAtstring date-time required

Unix timestamp (in seconds) of when the file was created.

expiresAtstring date-time nullable required

Unix timestamp (in seconds) of when the file will expire.

status'UPLOADING' | 'UPLOADED' | 'FAILED' | 'DELETED' required

AccountFile status.

Changes

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