Learn how to add an API and test it.
SOA Software’s Enterprise API Platform is an API Management Platform that brings API providers and App developers together. It provides easy access to powerful API Management capabilities combined with a social community allowing developers to collaborate to build innovative Apps with scalable APIs.
Let’s get going.
Sign up for an account if you don’t already have one. You can register locally, or use your favorite social networking account. From the homepage, click Sign Up.
Use the Plus Menu to add a new API.
On the first page you’ll provide the information that the system will show users when they view the API. All of this information will be indexed, so try and use names, tags and descriptions that will match the types of things you think users might search for when looking for an API like yours. The first page will also ask you to choose privacy settings for your API, when you first add an API it’s a good idea to set it to private so that you can make sure it works. You can always make it public later.
You’ll then describe your target API on the second page. The target is the actual service or API that you built and now want to manage, often through a proxy (if you use a proxy, then your target API information will be hidden from developers). Defining a target can be as simple as specifying the URL where the target is hosted. You may also want to specify both sandbox and production URLs, but you don’t have to. You can simply use the URL(s) to describe your target, but we recommend that you use the advanced settings to provide a bit more information about the structure of your API interface – this will give you a better experience later on for monitoring and documentation, as well as giving you more options for access control.
Describing the API interface is pretty easy; you describe API operations as a combination of http verb and resource location (uri), optionally choosing additional settings for media types. The interface definition for our sample customer API looks like this:
You can also describe SOAP services and can set additional transport details if you need to.
The 3rd page of the wizard is where you’ll define your API proxy (if you want to). An API proxy will allow you to add security, monitoring and QoS management amongst other things, and will help you get the most out of your API and our platform.
The API proxy is the endpoint the system will present to App developers for use in their Apps. If you have control of your own DNS server, you can use your own CNAME for your API, if not you can define an API domain subordinate to one of the brokers. You can also choose to add a context prefix if you expect to have multiple APIs on the same CNAME, or just want to add a more descriptive path.
Once you’ve defined your sandbox and production API proxy endpoints you’re done. You can choose to adjust visibility of your API and can monitor API access requests and contracts, and you can use the advanced tab to change the proxy interface or override the default security and monitoring policies.
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.
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.