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

Use dark colors for code blocksCopy
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

Use dark colors for code blocksCopy
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

Use dark colors for code blocksCopy
1
2
3
4
{
  "itemId": "<itemId of the new notebook item",
  "status": "success|failure"
}

JSON Response example

Use dark colors for code blocksCopy
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.