ABEJA Notebook SDK documentation

ABEJA Notebook library is SDK for python, which allows developers to create, get and delete notebooks.

Low level API

Low level API directly accesses the API endpoints.

Usage

from abeja.notebook import APIClient

api_client = APIClient()
notebook = api_client.get_notebooks(organization_id, job_definition_name)

API Mapping

method

path

post

/organizations/<organization_id>/training/definitions/<job_definition_name>/notebooks

APIClient.create_notebook()

get

/organizations/<organization_id>/training/definitions/<job_definition_name>/notebooks

APIClient.get_notebooks()

get

/organizations/<organization_id>/training/definitions/<job_definition_name>/notebooks/<notebook_id>

APIClient.get_notebook()

patch

/organizations/<organization_id>/training/definitions/<job_definition_name>/notebooks/<notebook_id>

APIClient.update_notebook()

delete

/organizations/<organization_id>/training/definitions/<job_definition_name>/notebooks/<notebook_id>

APIClient.delete_notebook()

POST

/organizations/<organization_id>/training/definitions/<job_definition_name>/notebooks/<notebook_id>/stop

APIClient.stop_notebook()

POST

/organizations/<organization_id>/training/definitions/<job_definition_name>/notebooks/<notebook_id>/start

APIClient.start_notebook()

POST

/organizations/<organization_id>/training/definitions/<job_definition_name>/notebooks/<notebook_id>/recentlogs

APIClient.get_notebook_recent_logs()