- URL:https://<notebooks-url>/updateDefaultTemplate(POST only)
- Required Capability:Administrator
- Version Introduced:10.8
Description
The upgradeDefaultTemplate operation allows for the default notebook template that comes as default with ArcGIS Notebook Server to be updated and changed to a new, custom template. These templates will need to be added to the template location <ArcGIS Notebook Server install directory>\config-store\system\ipynb_defaults\default_new.ipynb and will need to be saved as a JSON IPYNB file.
Request parameters
Parameter | Details |
---|---|
defaultNotebook | The new custom notebook file that will be replacing the default template. When the file is added, the original template (default_new.ipynb) is overwritten with the new file and saved in the template file location (<ArcGIS Notebook Server install directory>\config-store\system\ipynb_defaults\default_new.ipynb). All template files will need to be saved as JSON .ipynb format. |
f | The response format. The default response format is html. Values: html | json | pjson |
Example usage
https://notebookserver.domain.com:11433/arcgis/admin/notebooks/updateDefaultTemplate
defaultNotebook=default_new.ipynb
f=pjson
JSON Response example