notebooks_put_archive {civis}R Documentation

Update the archive status of this object

Description

Update the archive status of this object

Usage

notebooks_put_archive(id, status)

Arguments

id

integer required. The ID of the object.

status

boolean required. The desired archived status of the object.

Value

A list containing the following elements:

id

integer, The ID for this notebook.

name

string, The name of this notebook.

language

string, The kernel language of this notebook.

description

string, The description of this notebook.

notebookUrl

string, Time-limited URL to get the .ipynb file for this notebook.

notebookPreviewUrl

string, Time-limited URL to get the .htm preview file for this notebook.

requirementsUrl

string, Time-limited URL to get the requirements.txt file for this notebook.

fileId

string, The file ID for the S3 file containing the .ipynb file.

requirementsFileId

string, The file ID for the S3 file containing the requirements.txt file.

user

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.

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).

instanceType

string, The EC2 instance type to deploy to.

memory

integer, The amount of memory allocated to the notebook.

cpu

integer, The amount of cpu allocated to the the notebook.

createdAt

string,

updatedAt

string,

mostRecentDeployment

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, in MB.

  • cpu integer, The cpu allocated to the deployment, in millicores.

  • state string, The state of the deployment.

  • stateMessage string, A detailed description of the state.

  • maxMemoryUsage number, If the deployment has finished, the maximum amount of memory used during the deployment, in MB.

  • maxCpuUsage number, If the deployment has finished, the maximum amount of cpu used during the deployment, in millicores.

  • createdAt string,

  • updatedAt string,

  • notebookId integer, The ID of owning Notebook

credentials

array, A list of credential IDs to pass to the notebook.

environmentVariables

list, Environment variables to be passed into the Notebook.

idleTimeout

integer, How long the notebook will stay alive without any kernel activity.

partitionLabel

string, The partition label used to run this object.

gitRepoId

integer, The ID of the git repository.

gitRepoUrl

string, The url of the git repository

gitRef

string, The git reference if git repo is specified

gitPath

string, The path to the .ipynb file in the git repo that will be started up on notebook launch

myPermissionLevel

string, Your permission level on the object. One of "read", "write", or "manage".

archived

string, The archival status of the requested item(s).

hidden

boolean, The hidden status of the item.


[Package civis version 3.1.2 Index]