To Play and Share an API Notebook
After creating an API Notebook, you play the notebook as described in this procedure. You can save the notebook to GitHub as a gist to share it. You are offered two links, one for sharing the URL, the other for embedding the Notebook into any site.
After editing an API Portal to add API Notebook, click Live Portal.
The Developer portal for the T-Shirt Ordering Service appears.
Select API Notebook from the list of visible components.
Click Play notebook to execute the Notebook code. The results reveal information about your API based on the RAML.
On the Developer portal for the API, at the bottom of a published API Notebook, click Make your Own to save the API Notebook to Github as a gist.
A copy of the Notebook appears.
The Authenticate Notebook dialog says:
Notebooks are saved as gists to your GitHub account.
Authorize this application to save, edit, and share your notebooks.
Click Authorize With GitHub and follow the GitHub prompts to authorize access to your account to save the notebook.
Click to share or embed your Notebook.