REST API

GET /api/bookstore

Info about bookstore

Status Codes:
  • 200 OK – Successfully requested
GET /api/bookstore/cloned

Landing page for initiating cloning.

This serves a simple html page that allows avoiding xsrf issues on a jupyter server.

Query Parameters:
 
  • s3_bucket (string) – S3_bucket being targeted
  • s3_key (string) – S3 object key being requested
Status Codes:
POST /api/bookstore/cloned

Trigger clone from s3

Status Codes:
PUT /api/bookstore/published/{path}

Publish a notebook to s3

Parameters:
  • path (string) – Path to publish to, it will be prefixed by the preconfigured published bucket.
Status Codes:
  • 200 OK – Successfully published.