Get File
Get file by id. The response contains the file metadata and the download URL for the file. The download URL is valid for a limited time.
-
status - To retrieve soft deleted file, set
statusattribute asdeleted. To retrieve active file, setstatusattribute asactive. Hard deleted file cannot be retrieved. -
complete - To get full file response set
completeparameter astrue. By default it is false and minimal response will be returned.
Prerequisites
Section titled “Prerequisites”- A file should be created. To know more about uploading a file refer here
Request
Section titled “Request”GET {baseUrl}/spaces/{spaceId}/files/{fileId}-
HEADER:
- Authorization:
Bearer {tid token}
- Authorization:
Response
Section titled “Response”To know more about the Get file API refer here. For Get file API by path refer here.