Get the workspace item with the specified path

get/workspaces/@currentUser/items

Retrieves the workspace item with the specified path.

Request Samples

Response Samples

1{
2 "value": {
3 "version": 1,
4 "workspaceId": "ce211872-f840-4d41-bcb4-4974cb35840e",
5 "name": "sleep.sas",
6 "location": "/Org/project/programs",
7 "path": "/Org/project/programs/sleep.sas",
8 "type": "FILE",
9 "modifiedTimeStamp": "2023-12-13T15:39:09.907Z"
10 }
11}

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

Schema
404Not Found

Not found - the workspace item could not be found.

Schema