This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Add API Documentation In-line
- Log in to WSO2 API Publisher.
- Click the API to which you want to add documentation to (e.g.,
PhoneVerification
1.0.0).
Select the Docs tab of the API and click the Add New Document link.
In-line documentation
Provide the following details to create a doc In-line.
Name SimpleClient Type How To Source In-line Summary EXAMPLE REQUESTS TO PLACEFINDER WEBSERVICE - Click the Add Document button.
- After adding the document, click the Edit Content link associated with it.
- The embedded editor opens allowing you to edit the document's content in-line. Add in the content and click Save and Close.
  The API's Doc tab opens. Click the Add New Document link again.
Documentation using a URL
Then provide the following information to create another doc using a URL.
Name CDYNE Wiki Type Other (Summary) Source URL
http://api-portal.anypoint.mulesoft.com/cdyne/api/cdyne-phone-verification-apiSummary CDYNE Phone Verification API
- Click the Add Document button.
The API's Doc tab opens again. Click the Add New Document link again to add yet another document using a file.
Documentation using a file
Enter the following information:
Name API Manager Samples Type Samples & SDK Source You can provide any file format (common formats are PDF, HTML, .doc, text) of any size. For example, use the sample PDF file here. After adding the details, click the Add Document button.
You have now added three documents to the API: in-line, using a URL and a file.- Log in to the API Store and click the
PhoneVerification
1.0.0 API. - Go to the API's Documentation tab and see the documents listed by type.
As a subscriber, you can read the doc and learn about the API. - Expand the categories and click the View Content or Download links to see the documentation content.
You have created documentation using the API Publisher and viewed them as a subscriber in the API Store.