Access requirements
Required privileges
The Enterprise Administrator API requires privilege-based access. An administrator must be assigned a specific user privilege, or role, to access any given endpoint. Listed below are the user privileges or roles an administrator can be assigned that provides access to this endpoint. If multiple privileges are listed, only one needs to be assigned to gain access.
To access notebook-related endpoints, administrators must be assigned a custom role that includes any of the privileges listed above as well as the Create and edit notebooks privilege.
Tokens
This API requires token-based authentication. A token is automatically generated for administrators who sign in to the Enterprise Administrator API directory's HTML interface. Tokens generated in this way are stored for the entirety of the session.
Those accessing the API directory outside of the HTML interface will need to acquire a session token from the generate operation in the Enterprise Directory API. For security reasons, all POST requests made to the Enterprise Administrator API must include a token in the request body.
Description
The configuration resource provides a list of all properties that control some of a notebook's behavior. This resource is a container for these properties.
Request parameters
| Parameter | Details |
|---|---|
| The response format. The default response format is Values: |
Response properties
| Property | Details |
|---|---|
| The maximum packet size (in megabytes) that can be sent by WebSocket communication with the site. The default is 16 MB. |
| Introduced at 11.4. An integer value in minutes for the maximum amount of time that a notebook web tool or a notebook run through a web hook or The default value is 120 minutes (2 hours). The minimum value is 15 minutes. |
| The maximum number of snapshots allowed for a notebook. The default value is 5. |
| Introduced at 11.4. The interval that completed (succeeded or failed) interactive and automated notebook jobs are cleaned. Default value is 6 hours. The minimum value is 6. |
| Introduced at 11.5. Specifies how notebook pods are allowed to communicate with external network endpoints according to an organization's security needs. Default value is: Example usage: |
| By default, hidden files, files that have names starting with a dot (.), stored in a user's workspace cannot be downloaded using the data access download API. Set this property to |
| The time (in minutes) after which idle notebooks are closed automatically. The default is 720 (12 hours). |
| The time (in minutes) after which an idle notebook deployment is closed automatically. The default is 60 (1 hour). |
| Introduced at 11.4. An integer of the maximum number of active automated notebook jobs allowed per each Notebooks Automation Manager deployment. This limit applies to notebooks opened through scheduled tasks, webhooks, web tools, and the Default value is 5. Minimum value is 5. |
Example usage
The following is a sample request URL used to access the configuration resource:
https://organization.example.com/<context>/admin/notebooks/configuration?f=pjsonJSON Response example
{
"webSocketSize": 16,
"maxExecuteNotebookTimeMinutes": 120,
"maxSnapshotsPerNotebookItem": 5,
"allowHiddenFileDownloads": false,
"idleNotebookThreshold": 720,
"containerCreatedThreshold": 60
}