Check for file or directory properties

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

Determines whether the specified file or directory exists.

Request Samples

Path Parameters

NameTypeRequiredDescription
sessionId
string<object-id>
true

Specifies the ID of the session.

fileOrDirectoryPath
string
true

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

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.