Getting Started for API Developers
Learn how to add an API and test it.
The Akana API Platform brings API providers and App developers together. It provides easy access to powerful API management capabilities, combined with a social community that allows developers to collaborate, building innovative Apps with scalable APIs.
Let’s get going.
Table of Contents
- Step 1: Sign up
- Step 2A: Add an API from an API description document
- Step 2B: Add an API from scratch
- Step 3: Test your API
- Step 4: What's next?
- Tutorial Videos
Step 1: Sign up
Sign up for an account if you don’t already have one. You can register locally, or use your favorite social networking account. See How do I sign up for a new account?
Step 2A: Add an API from an API description document
When you add an API from a Swagger, RAML, WSDL, or WADL document, the platform creates the API, uses the information to add the API design, and creates the Live implementation. You'll then need to review the implementation and modify as needed, add another implementation if you want another, and test.
To add an API using an API description document
- Log in to the Akana API Platform.
- Go to APIs > Add API. The Add API page opens.
- Choose Add a new API, and then click the I have an OAS3/Swagger/RAML/WSDL/WADL/GraphQL document button. There are two ways you can provide the API definition:
- URL: Provide the full URL, including protocol. If the URL requires authentication, provide your username and password.
Note: Depending on the platform settings, you might not be able to upload from a URL that isn't trusted. If you see an error message or a 403 Forbidden response, contact the Site Admin, who can add the URL to the trusted list. See Limit forward proxy feature to allow only these hosts (Site Admin help).
- File: Browse to the location of the file and upload. If the file includes multiple services, you'll be shown a list of options for the service to import; choose the one you want.
- URL: Provide the full URL, including protocol. If the URL requires authentication, provide your username and password.
- Click Save. The API is created, and the API's Details page is displayed.
When you create an API from an API description document, the platform automatically creates a Live implementation. Optionally, you can add a Sandbox implementation. For information about implementations, see Manage API Implementations.
When you're done, remember to test your API, using Test Client, to make sure it's working properly. See API Testing with Test Client.
Add an API from scratch
If you want to enter all the values by hand, choose this option.
To add an API by designing from scratch
- Log in to the Akana API Platform.
- Go to APIs > Add API. The Add API page opens.
- Click the I want to design my API from scratch (REST only) button.
- Provide a name for the API, and the endpoint if you have it already.
- Optional: click the Advanced Options slider button (blue dot) and specify additional settings. See What information should I specify in the Advanced Options?
- Click Save. The platform saves the data and takes you to the API Designer for adding details about your API, including:
- Adding resources: see How do I add a resource in API Designer?
- Adding parameters for operations: see How do I add or edit a parameter for an API operation?
- Adding responses for operations: see How do I define my API response?
- Specifying media types: see How do I set up media types in API Designer?
- Adding model object definitions: see How do I assign a model object to a resource in API Designer?
- When done, remember to click Save on the API Designer window, to save your API design.
Step 3: Test your API
Ok, so you’ve added an API. At this point you should probably make sure it works before you go too much further. To test your API you’ll need to create an App, connect to your API and send some test messages. See the App Developer getting started guide for help.
Step 4: What's next?
Ok, you’ve created and tested your API. You’re good to go, but there are a few more things you should do to help developers make the most of it. You should consider things like: documentation, legal agreements, OAuth, API privacy and group management, monitoring, and versioning.
Tutorial Videos
You can review the tutorial videos below to get an overview of the user interface and the activities associated with API management. These videos use simple examples to illustrate API management activities.
All these videos are published on YouTube, unless otherwise noted. More will be added in the future.
- Design an API from scratch (external link)
- Create an API from a Swagger document (external link)
- Add a basic security policy to an API (external link)
- Add an API using orchestration (external link)
- Define model objects using Schema Designer (on this website)