Export a Notebook¶
-
GET
/api/v2/notes/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-admin or system-user 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://gcp.qubole.com/v2/notes/<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://gcp.qubole.com/v2/notes/26962/export"