Create a Notebook
notebooks_post( name = NULL, language = NULL, description = NULL, file_id = NULL, requirements_file_id = NULL, requirements = NULL, docker_image_name = NULL, docker_image_tag = NULL, instance_type = NULL, memory = NULL, cpu = NULL, credentials = NULL, environment_variables = NULL, idle_timeout = NULL, git_repo_url = NULL, git_ref = NULL, git_path = NULL, hidden = NULL )
name | string optional. The name of this notebook. |
---|---|
language | string optional. The kernel language of this notebook. |
description | string optional. The description of this notebook. |
file_id | string optional. The file ID for the S3 file containing the .ipynb file. |
requirements_file_id | string optional. The file ID for the S3 file containing the requirements.txt file. |
requirements | string optional. The requirements txt file. |
docker_image_name | string optional. The name of the docker image to pull from DockerHub. |
docker_image_tag | string optional. The tag of the docker image to pull from DockerHub (default: latest). |
instance_type | string optional. The EC2 instance type to deploy to. |
memory | integer optional. The amount of memory allocated to the notebook. |
cpu | integer optional. The amount of cpu allocated to the the notebook. |
credentials | array optional. A list of credential IDs to pass to the notebook. |
environment_variables | list optional. Environment variables to be passed into the Notebook. |
idle_timeout | integer optional. How long the notebook will stay alive without any kernel activity. |
git_repo_url | string optional. The url of the git repository |
git_ref | string optional. The git reference if git repo is specified |
git_path | string optional. The path to the .ipynb file in the git repo that will be started up on notebook launch |
hidden | boolean optional. The hidden status of the item. |
A list containing the following elements:
integer, The ID for this notebook.
string, The name of this notebook.
string, The kernel language of this notebook.
string, The description of this notebook.
string, Time-limited URL to get the .ipynb file for this notebook.
string, Time-limited URL to get the .htm preview file for this notebook.
string, Time-limited URL to get the requirements.txt file for this notebook.
string, The file ID for the S3 file containing the .ipynb file.
string, The file ID for the S3 file containing the requirements.txt file.
list, A list containing the following elements:
id integer, The ID of this user.
name string, This user's name.
username string, This user's username.
initials string, This user's initials.
online boolean, Whether this user is online.
string, The name of the docker image to pull from DockerHub.
string, The tag of the docker image to pull from DockerHub (default: latest).
string, The EC2 instance type to deploy to.
integer, The amount of memory allocated to the notebook.
integer, The amount of cpu allocated to the the notebook.
string,
string,
list, A list containing the following elements:
deploymentId integer, The ID for this deployment.
userId integer, The ID of the owner.
host string, Domain of the deployment.
name string, Name of the deployment.
dockerImageName string, The name of the docker image to pull from DockerHub.
dockerImageTag string, The tag of the docker image to pull from DockerHub (default: latest).
displayUrl string, A signed URL for viewing the deployed item.
instanceType string, The EC2 instance type requested for the deployment.
memory integer, The memory allocated to the deployment.
cpu integer, The cpu allocated to the deployment.
state string, The state of the deployment.
stateMessage string, A detailed description of the state.
createdAt string,
updatedAt string,
published boolean,
notebookId integer, The ID of owning Notebook
array, A list of credential IDs to pass to the notebook.
list, Environment variables to be passed into the Notebook.
integer, How long the notebook will stay alive without any kernel activity.
integer, The ID of the git repository.
string, The url of the git repository
string, The git reference if git repo is specified
string, The path to the .ipynb file in the git repo that will be started up on notebook launch
string, The archival status of the requested item(s).
boolean, The hidden status of the item.