Check for file or directory properties

head/sessions/{sessionId}/files/{fileOrDirectoryPath}

Determines whether the specified file or directory exists.

Request Samples

Response Samples

1Not Available

Path Parameters

NameTypeRequiredDescription
fileOrDirectoryPath
string
true

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

sessionId
string<object-id>
true

Specifies the ID of the session.

Query Parameters

NameTypeRequiredDescription
expandPath
boolean
false

Specifies whether to return fully qualified paths in response links.

Default:
false

Responses

StatusMeaningDescription
200OK

The request succeeded.

Headers
404Not Found

No resource exists at the requested path.