Download file contents

get/sessions/{sessionId}/files/{filePath}/content

Gets contents of a file that is specified by the file path. If the server can determine the type of file that is returned, then the Content-type header returns the appropriate media type information. Otherwise, application/octet-stream data is returned for the Content-type header.

Request Samples

1

Response Samples

1Not Available

Path Parameters

NameTypeRequiredDescription
filePath
string
true

Specifies the file path. In the file path, replace each forward slash with fs.

sessionId
string<object-id>
true

Specifies the ID of the session.

Responses

StatusMeaningDescription
200OK

The request succeeded.

Headers
400Bad Request

The request was invalid.

Schema
404Not Found

No resource exists at the requested path.

Schema