You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.
We'll want to expose a simplistic API for nbviewer to send notebooks to. Under the hood we'll hit elasticsearch, but that will be abstracted away from the notebook viewer.
Submitting a notebook
POST /api/index/{ uuid.uuid5(uuid.NAMESPACE_URL, notebook_url) }
{
"public": true,
"content": { Full notebook document },
"notebook_url": "http://jakevdp.github.com/downloads/notebooks/XKCD_plots.ipynb"
}
Retrieving the stored contents
GET /api/index/{ uuid.uuid5(uuid.NAMESPACE_URL, notebook_url) }
Returns the trimmed version of the body from the post. The notebook document e.g. may or may not have the base64 encoded images stripped out.
Since this came from nowhere, do you prefer the API version in the path /api/v1/index/ or as part of an explicit Accept header application/vnd.jupyter.v3.raw+json?
We'll want to expose a simplistic API for nbviewer to send notebooks to. Under the hood we'll hit elasticsearch, but that will be abstracted away from the notebook viewer.
Submitting a notebook
Retrieving the stored contents
Returns the trimmed version of the body from the post. The notebook document e.g. may or may not have the base64 encoded images stripped out.
Delete an entry from the index
I'm on the fence about if we should slightly adhere to the contents API for consistency or just choose the fields that make sense to us.
The text was updated successfully, but these errors were encountered: