- URL:https://<notebookserveradmin>/notebooks/snapshots/convertToItem(POST only)
- Required Capability:Administrator or Create and Edit ArcGIS Notebooks
- Related Resources:Notebooks, Create Snapshot, List Snapshot, Restore Snapshot, Delete Snapshot, Download Snapshot
- 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
Parameter | Details |
---|---|
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
|
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
https://notebookserver.domain.com:11443/arcgis/admin/notebooks/snapshots/convertToItem
itemId=525d80c96d5a4915bb5cfff79c851fb1a
resourceKey=snapshot-f58ebdb43b184235a89d0a4acc2ec04b.json
notebookTitle=snapshot1
f=json
JSON Response syntax
{
"itemId": "<itemId of the new notebook item",
"status": "success|failure"
}
JSON Response example
{
"itemId": "7f95c2b30f4e43579bb2964bb4e352ac",
"status": "success"
}