Container Notebooks

URL:
https://<notebookserveradmin>/system/containers/<containerId>/notebooks
Methods:
GET
Required Capability:
Administrator or Create and Edit
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

Use dark colors for code blocksCopy
1
https://notebookserver.domain.com:11443/arcgis/admin/system/containers/<containerId>/notebooks?f=json

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  "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

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  "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"
    }
  ]
}

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