Skip To Content

Create Folder

  • URL:https://<notebookserveradmin>/dataaccess/notebookworkspace/createFolder(POST only)
  • Required Capability:Administrator or Create and Edit ArcGIS Notebooks
  • 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

https://notebookserver.domain.com/context/admin/dataaccess/notebookworkspace/createFolder
folderName = folder1
f = json

Example 2: Create a folder in a subdirectory

https://notebookserver.domain.com/context/admin/dataaccess/notebookworkspace/createFolder
folderName = folder_1/folder_1_2
f = json

JSON Response syntax

{"status": "<success|failure>"}

JSON Response example

{"status": "success"}