In this quick how-to we are showing you how to document your API for Health in Nubentos. You will see how easy and versatile it is to offer to your new API consumers a complete and ordered documentation.
Attaching a proper documentation to your API for Health, allows the development community to understand what functionalities it provides. In addition, it is one of the key aspects to differentiate from your competitors and make your API more attractive.
Nubentos provides you with different features to publish your API documentation and make it easy to find through its integrated search tools.
Tabla de Contenidos
What will you learn
In this tutorial, you will learn how to:
- Attach the documentation of your APIs, through the different sources available.
What will you need
To follow this tutorial step by step, you must have a Nubentos API Provider account. You can become a Nubentos API Provider by requesting it through this link.
Besides, you will need the following before you begin:
- The API must be previously published in Nubentos. In our blog, we tell you step by step how you can publish your API for Health in Nubentos, easily and fast. For this tutorial we have published an example API for clinic management, called “MedicalAPI”.
- All the documentation to be appended to your API, be it in different file formats, links to your website section for developers, or a document with the specifications of your API for Health.
How to document your API for Health
To attach the documentation of your published API in Nubentos, you must follow these steps:
- Use the access credentials we have given to you, to access your API Provider account in Nubentos.
- Make sure you are in the user interface of Nubentos API Publisher.
- Click on the API icon “MedicalAPI” or on its title, and the API detail information will show, “Overview” tab.
- Select the “Docs” tab to access the different choices to add the documents.
This will be your starting point to add the different types of documents to your API for Health.
The first document will be an API description, and we will add it with the integrated editor. The steps are:
- Click on the“Add New Document” button
-
Several fields to be filled in are shown:
- Name: for giving the document a name.
- Type: to select from the available types.
- Source: the document source.
- Summary: a short description summarizing the content and use of the document.
For our example we use these values:
Name | MedicalAPI |
Type | How To |
Source | In-line |
Summary | Short description of the MedicalAPI |
- Now click on the “Add Document” button
- You will be confirmed that the document has been added, but it is still empty. To open the editor click on “Edit Content”:
- A new window will show you the integrated editor where you can write the content of your document.
- When done, click on “Save and Close” .
The second document we will add to our example API, is a developers guide in PDF format. As you will see, the steps are quite similar:
- Go back to the “Docs” tab and click on “Add new Document”
- Fill in the fields with the following information:
Name | API Developers Guide |
Type | How To |
Source | File |
Summary | API guide explains how you can implement some of the most common use cases and describe concepts that you need to understand in order to use the MedicalAPI |
- In the “Source” section, by clicking on the “File” check, you can upload your PDF file by clicking on the “Browse” button.
- Select the path to your file and click again on “Add Document”
- Unlike the previous document, now you will have the “Open” option available that will download the PDF file to the developer’s local machine.
Finally, we will link the URL to the API support website, where developers can make questions and record issues. The steps are:
- Go back to the “Docs” tab and click on “Add new Document”
- Fill in the fields with the following information, and selecting the type “Support Forum” :
Name | MedicalAPI Support Portal |
Type | Support Forum |
Source | URL: www.medicalapi.com/support |
Summary | Access our Support Portal in order to log a case and create a support ticket and read knowledge articles about our various software solutions |
- Provide the support URL and click on “Add Document”.
This way you have added three different documents to your API for Health, that will surely be helpful for the developers that want to use your API, and will make it more attractive for new subscribers.
How can you access to your API documentation
But how will these resources be accessed from the other side of the Marketplace, the API Store? To see it, follow these steps:
- Access the Nubentos API Store website at https://store.nubentos.com/store
- Select the API and access its publisher store by clicking on the “Visit Publisher Store” button, that will take you to the published API.
- Click on the published API and then click on “Documentation”, where you will see the different resources that were appended before, just as the future API subscriptor and consumer will see.
This way, your API will show a more professional image, and it will be easier for the developers to integrate it in their solutions.
0 Comments