Get File By Path
Get file by path. The response contains the file metadata and the download URL for the file. The download URL is valid for a limited time.
-
path - The path of the file for which metadata needs to be retrieved.
-
status - To retrieve soft deleted file, set
statusattribute asdeleted. 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?path={path}-
HEADER:
- Authorization:
Bearer {tid token}
- Authorization:
Response
Section titled “Response”To know more about the Get file by path API refer here.