Skip To Content

Container Notebooks

  • URL: https://<notebookserveradmin>/system/containers/<containerId>/notebooks
  • Required Capability:Administrator or Create and Edit ArcGIS Notebooks
  • Version Introduced:10.9

Description

This resource provides a list of all notebooks currently open in the container.

Request parameters

ParameterDetails
f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

https://notebookserver.domain.com:11443/arcgis/admin/system/containers/<containerId>/notebooks?f=json

JSON Response syntax


{
  "notebooks": [
    {
      "itemId": "<notebook 1 itemId>",
      "notebookUrl": "<notebook 1 url>",
      "dateLastActivity": "<epoch time in milliseconds>",
      "id": "<notebook1 id>",
      "containerId": "<containerId>",
      "username": "<notebook owner username>"
    },
    {
      "itemId": "<notebook 2 itemId>",
      "notebookUrl": "<notebook 2 url>",
      "dateLastActivity": "<epoch time in milliseconds>",
      "id": "<notebook2 id>",
      "containerId": "<containerId>",
      "username": "<notebook owner username>"
    }
  ]
}

JSON Response example


{
  "notebooks": [
    {
      "itemId": "38d286c82bfb4a20bc49dd01b9dd6d04",
      "notebookUrl": "/notebooks/029c67320ce44ef3b6c8a978c51fd90c/notebooks/38d286c82bfb4a20bc49dd01b9dd6d04.ipynb",
      "dateLastActivity": "1608017998830",
      "id": "4daa2b043b964bcbb6b3fb9703838c6a",
      "containerId": "029c67320ce44ef3b6c8a978c51fd90c",
      "username": "user1"
    },
    {
      "itemId": "7703b5c3e9144f108bfba356fa8a6d00",
      "notebookUrl": "/notebooks/029c67320ce44ef3b6c8a978c51fd90c/notebooks/7703b5c3e9144f108bfba356fa8a6d00.ipynb",
      "dateLastActivity": "1608018096017",
      "id": "60963a4a48284353b2e3e40f8b8c36d2",
      "containerId": "029c67320ce44ef3b6c8a978c51fd90c",
      "username": "user1"
    }
  ]
}