Determine whether the workspace item with the specified path exists

head/workspaces/@currentUser/items

Checks whether the workspace item with the specified path exists.

Request Samples

Response Samples

1Not Available

Query Parameters

NameTypeRequiredDescription
type
string
false

Only files are returned when 'FILE' specified and only folders when 'FOLDER' specified. Both files and folders are returned if no 'type' value is specified. This parameter is ignored when the accept value is not 'application/vnd.sas.collection'.

Allowed values:
FILEFOLDER
path
string
true

The full path of the workspace item.

Header Parameters

NameTypeRequiredDescription
Accept
string
false

The requested representation of the action status. Media type 'application/vnd.sas.clinical.workspace.item+json' is the default.

Allowed values:
application/vnd.sas.clinical.workspace.item+jsonapplication/vnd.sas.collection+jsonapplication/json

Responses

StatusMeaningDescription
200OK

OK - the workspace item exists.

404Not Found

Not found - the workspace item could not be found.