How to create an API in TIBCO Mashery

How to create an API in TIBCO Mashery

The steps required for the successful API creation is mentioned below. Follow the steps to create and confirm the API creation in TIBCO Mashery control.

How to start API creation with Tibco Mashery

Step 1:

Login to TIBCO Mashery Control Centre to begin your API creation.

Step 2:

Once you logged in, head the cursor to API Definitions and click it.


welcome to tibco mashery

Step 3:

manage your api with api definition

On clicking this API definition, you will get a screen like this.

New API Definition

Step 4:

Now you need to click drop down of New API Definition to see the list of options available.

manage your api with api definition

Step 5:

Now you can select any of your preferred choice from the drop-down. On the go, I am choosing

Import from file” option.

Note: Make sure to upload a JSON file, in case of YAML file, try to convert the file from YAML to JSON and then get the converted file to be uploaded.

manage your api with api definition

Step 6: Now you need to Enter Details and click on “save and continue” option.

manage your api with api definition-1

 

 


Step 7: Now you need to Create one Package for the Same

Go to Home: -- API Packages: -- Create one package: - Under that package: -- Create Package

plan.

manage your api with api package step-7

 

Just click on the “New API Package” button.

new api package

 

Click "Save and Continue" and then create Your first API plan.

create your first api plan

 

new plan

 

After that, just click "save and continue" button, to continue with the next steps.


How to Generate IO DOC for API Definition in Mashery


api plan setting

 

Click on Plan Designer and assign your end point with this plan and click "save".

api plan designer

 

Now you need to Click on Access Control under the "package plan" of the same page. Assign your end point with this current plan and then click save.

api plan access control

 

Step 8: -- Go to API definition on home page and then click on your API and go to IO Doc Access Control. Now, select the user whom you wish to give access and then click save .

interactive documentation access control


Step 9: -- Generate IO doc for the same API using the following instructions, Go to: - Design: -- IO docs

design - IO docs

 

 Clicking over the Interactive Documentation, you will see the list of all API definitions along with the doc.

If it is not there, then click on "New Interactive Documents" and create your own file and upload the same as in the screenshot below:

interactive documentation


Now click the button as mentioned in the below screenshot

interactive documentation-1interactive documentation-2

 Click on setting, and now button IO doc will be visible.


button IO docs

 

Now if you want to test and verify it, then go to your Developer portal 

Login to Developer Portal at http://evalxxxxx.mashery.com/

go to your account: -- My applications: --Create your new application and then finally click "Submit". Now go to Interactive API tab in your developer portal and then select your API


get all product

 

Response

 

response