Export a Notebook on Microsoft Azure

GET /api/v1.2/notebooks/note_id/export

Use this API to export a notebook in the JSON format.

Required Role

The following users can make this API call:

  • Users who belong to the system-user or system-admin group.

Parameters

Note

Parameters marked in bold below are mandatory. Others are optional and have default values.

Parameter Description
note_id Id of the notebook that has to be exported.

Request API Syntax

curl -X GET  -H 'X-AUTH-TOKEN: <AUTH TOKEN>'  -H 'Content-Type: application/json'  -H 'Accept: application/json'
"https://azure.qubole.com/api/v1.2/notebooks/<note_id>/export"

Sample API Request

Here is an example to export a Spark notebook.

curl -X GET  -H 'X-AUTH-TOKEN: <AUTH TOKEN>'  -H 'Content-Type: application/json'  -H 'Accept: application/json'
"https://azure.qubole.com/api/v1.2/notebooks/26962/export"