NotebookApi | R Documentation |
tiledbcloud.Notebook
An R6Class
generator object
GetNotebookServerStatus Get status of the notebook server
@param namespace character
@returnType NotebookStatus
status code : 200 | status of running notebook
return type : NotebookStatus
response headers :
status code : 202 | Notebook server is pending
response headers :
status code : 404 | Notebook is not running
response headers :
status code : 0 | error response
return type : Error
response headers :
ShutdownNotebookServer Shutdown a notebook server
@param namespace character
status code : 204 | Notebook shutdown successfully
response headers :
status code : 404 | Notebook is not running
response headers :
status code : 0 | error response
return type : Error
response headers :
apiClient
Handles the client-server communication.
new()
NotebookApi$new(apiClient)
GetNotebookServerStatus()
NotebookApi$GetNotebookServerStatus(namespace, ...)
GetNotebookServerStatusWithHttpInfo()
NotebookApi$GetNotebookServerStatusWithHttpInfo(namespace, ...)
ShutdownNotebookServer()
NotebookApi$ShutdownNotebookServer(namespace, ...)
ShutdownNotebookServerWithHttpInfo()
NotebookApi$ShutdownNotebookServerWithHttpInfo(namespace, ...)
clone()
The objects of this class are cloneable with this method.
NotebookApi$clone(deep = FALSE)
deep
Whether to make a deep clone.
## Not run: #################### GetNotebookServerStatus #################### library(tiledbcloud) var.namespace <- 'namespace_example' # character | namespace notebook is in (an organization name or user's username) api.instance <- NotebookApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$GetNotebookServerStatus(var.namespace) #################### ShutdownNotebookServer #################### library(tiledbcloud) var.namespace <- 'namespace_example' # character | namespace notebook is in (an organization name or user's username) api.instance <- NotebookApi$new() #Configure API key authorization: ApiKeyAuth api.instance$apiClient$apiKeys['X-TILEDB-REST-API-KEY'] <- 'TODO_YOUR_API_KEY'; #Configure HTTP basic authorization: BasicAuth # provide your username in the user-serial format api.instance$apiClient$username <- '<user-serial>'; # provide your api key generated using the developer portal api.instance$apiClient$password <- '<api_key>'; result <- api.instance$ShutdownNotebookServer(var.namespace) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.