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.
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.
Step 3:
On clicking this API definition, you will get a screen like this.
Step 4:
Now you need to click drop down of New API Definition to see the list of options available.
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.
Step 6: Now you need to Enter Details and click on “save and continue” option.
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.
Just click on the “New API Package” button.
Click "Save and Continue" and then create Your first API plan.
After that, just click "save and continue" button, to continue with the next steps.
Click on Plan Designer and assign your end point with this plan and click "save".
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.
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 .
Step 9: -- Generate IO doc for the same API using the following instructions, Go to: - 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:
Now click the button as mentioned in the below screenshot
Click on setting, and now button IO doc will be visible.
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
Response