Create Folder

URL:
https://<notebookserveradmin>/dataaccess/notebookworkspace/createFolder
Methods:
POST
Required Capability:
Administrator or Create and Edit
Version Introduced:
11.1

Description

The createFolder operation allows you to create a folder in your /arcgis/home notebook workspace directory.

Request parameters

ParameterDetails

folderName

(Required)

The name of the folder to be created. The name must be unique. The createFolder operation does nothing if you use the name of an existing folder. The folder can be created in a subdirectory by prefixing a folder path to the folderName parameter value.

f

(Optional)

The response format. The default response format is html .

Values: html | json | pjson

Example usage

The following are example requests for the createFolder operation.

Example 1: Create a folder in /arcgis/home

Use dark colors for code blocksCopy
1
2
3
https://notebookserver.domain.com/context/admin/dataaccess/notebookworkspace/createFolder
folderName = folder1
f = json

Example 2: Create a folder in a subdirectory

Use dark colors for code blocksCopy
1
2
3
https://notebookserver.domain.com/context/admin/dataaccess/notebookworkspace/createFolder
folderName = folder_1/folder_1_2
f = json

JSON Response syntax

Use dark colors for code blocksCopy
1
{"status": "<success|failure>"}

JSON Response example

Use dark colors for code blocksCopy
1
{"status": "success"}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.