Convert To Item

URL:
https://<notebookserveradmin>/notebooks/snapshots/convertToItem
Methods:
POST
Required Capability:
Administrator or Create and Edit
Version Introduced:
10.9

Description

The convertToItem operation allows the owner of a notebook to convert a snapshot to a new notebook item.

Request parameters

ParameterDetails

itemId

(Required)

The item ID of the notebook for which to convert the snapshot.

resourceKey

(Required)

The resource key of the snapshot to convert.

Example

1
resourceKey=snapshot-f58ebdb43b184235a89d0a4acc2ec04b.json

notebookTitle

(Required)

A title for the newly created notebook item.

f

The response format. The default response format is html .

Values: html | json | pjson

Example usage

1
2
3
4
5
https://notebookserver.domain.com:11443/arcgis/admin/notebooks/snapshots/convertToItem
itemId=525d80c96d5a4915bb5cfff79c851fb1a
resourceKey=snapshot-f58ebdb43b184235a89d0a4acc2ec04b.json
notebookTitle=snapshot1
f=json

JSON Response syntax

1
2
3
4
{
  "itemId": "<itemId of the new notebook item",
  "status": "success|failure"
}

JSON Response example

1
2
3
4
{
  "itemId": "7f95c2b30f4e43579bb2964bb4e352ac",
  "status": "success"
}

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

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close