Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

WSO2 API Manager is a complete solution for designing and publishing APIs, creating and managing a developer community, and for securing and routing API traffic in a scalable manner. It leverages proven components from the WSO2 platform to secure, integrate and manage APIs. In addition, it integrates with the WSO2 analytics platform and provides out of the box reports and alerts, giving you instant insights into the APIs behavior.

Tip

Before you begin

  1. Install Oracle Java SE Development Kit (JDK) version 1.7.* or 1.8.* and set the JAVA_HOME environment variable. Refer Installing the product documentation to set JAVA_HOME  environment variable for different operating systems
  2. Download the latest version of WSO2 API Manager from https://github.com/wso2/product-apim/releases/tag/v2.1.0-update14WSO2 API Manager.
  3. Start WSO2 API Manager by going to the <API-M_HOME>/bin directory using the command-line and then executing wso2server.bat (for Windows) or wso2server.sh (for Linux.) 

...

  1. Go to the API Store (https://<hostname>:9443/store) and create an account using the Sign-up link.

    Note

    Users who sign-up through the API Store are assigned the subscriber role by default. Therefore, you do not need to specify the role through the management console to be able to subscibe to an API.

  2. Fill the details in the Sign Up form appears and click Sign Up.

    Note

    Users who registered with the API Store Signup can be view by login to the Management Console (https://localhost:9443/carbon) and accessing Users and Roles > Users > List.

    Image Modified

    Details entered in the sign up will be updated in the default profile related to each user in the management console.


  3. After signing up, sign in to the API Store and click the PhoneVerification 2.0.0 API that you published earlier.

  4. Note that you can now see the subscription options. Select the default application and the Bronze tier. Click Subscribe.


  5. Once the subscription is successful, click View Subscriptions in the information message that appears to review your subscriptions.
  6. Click the Production Keys tab of the application and then click Generate Keys to generate an access token that you use later to invoke the API. If you have already generated keys before, click Re-generate.

    Tip

    Tip : You can set a token validity period in the given text box. By default, it is set to one hour. If you set a minus value (e.g., -1), the token will never expire.

...