Create and Publish an API
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.

Create and Publish an API

API creation is the process of linking an existing backend API implementation to the API Publisher so that you can manage and monitor the API's lifecycle, documentation, security, community, and subscriptions. Alternatively, you can provide the API implementation in-line in the API Publisher itself.

Click the following topics for a description of the concepts that you need to know when creating an API:

  1. Sign in to the WSO2 API Publisher.
    https://<hostname>:9443/publisher (e.g.,  https://localhost:9443/publisher ). Use admin as the username and password.

  2. Close the interactive tutorial that starts automatically if you are a first-time user, and click Add New API.

  3. Click Design a New REST API and click Start Creating.

  4. Give the information in the table below and click Add to add the resource.


    For more information on URL patterns, see API Resources.

  5. After you add the resource, click it's GET method to expand it. Update the value for Produces as application/xml and the value for Consumes as application/json.

  6. Next, add the following parameters. You use these parameters to invoke the API using the integrated API Console, which is explained in later tutorials. 

  7. Once done, click  Next: Implement >.
    Alternatively, click Save to save all the changes made to the API. You can come back later to edit it further by selecting the API and clicking Edit. For details about the states of the API, see Manage the API Lifecycle.

  8. Click the Managed API option.  

  9. The Implement tab opens. Enter the information in the table below.

    For more information on Endpoints, see Working with Endpoints.


    For additional information, see Enabling CORS for APIs and Adding Mediation Extensions. For details on adding and managing certificates, see Dynamic SSL Certificate Installation.

  10. Click Next: Manage > and enter the information in the table below.

     

  11. Click Save & Publish. This publishes the API that you just created to the API Store so that subscribers can use it. 

You have created an API.

com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.