Frequently Asked Questions
|API Notebook reached its End of Life in August 2021.|
What can I add to a Notebook?
How do I save a Notebook?
Notebooks are saved as GitHub-flavored markdown documents and stored as gists to your GitHub account.
How does the Notebook represent an API?
Notebooks work with APIs described with RAML (RESTful API Modeling Language). The API Notebook can create a client for an API when you specify the URL for the API’s RAML spec. With that client you can send authenticated requests to the API and receive live data in return. The API Notebook currently supports OAuth1 and OAuth2 as well as unsigned requests. For more details, see this guide to APIs and the Notebook.
How do I create a RAML file?
How do I pull in a RAML spec for an API?
You can pull in any web-accessible RAML spec by using the command "API.createClient(<client name>, <URL to RAML spec>)" in any code cell. To pull in a RAML specification from the Anypoint API Portal, use the Insert API Client button above every cell.
How do I explore an API?