- URL:
- https://<root>/dataaccess/<workspacename>/listUserWorkspaces
- Methods:
GET
- Required Capability:
- Administrator or Create and Edit
- Version Introduced:
- 11.4
Description
The list
resource provides the name of the workspace directory (/arcgis/home/workspacedirectoryname
) for the user initiating the request. If the user is an administrator of the Notebook Server, it will return all workspace directory names.
Request parameters
Parameter | Details |
---|---|
| The response format. The default response format is Values: |
Example usage
Below is a sample request URL for the list
resource:
https://notebookserver.domain.com/arcgis/admin/dataaccess/listUserWorkspaces?f=json
JSON Response syntax
{
"Containers": [
{
"Name": "<user1workspace>"
},
{
"Name": "<user2workspace>"
},
{
"Name": "<user3workspace>"
}
]
}
JSON Response example
{
"Containers": [
{
"Name": "rn_admin"
},
{
"Name": "gis_joe"
},
{
"Name": "gis_jane"
}
]
}