Created
July 31, 2020 10:44
-
-
Save krishrocks1904/4fc37b9067b28abb9a8b622327bf7085 to your computer and use it in GitHub Desktop.
json file to deploy api into api management
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"apimInput": [ | |
{ | |
"id": "your product id", | |
"title": "product title", | |
"description": "product description", | |
"product_legal_terms": "product legal term and condition leave it blank", | |
"subscription_requires": true, | |
"apis": [ | |
{ | |
"name": "api name", | |
"sufix": "api", | |
"api_swagger" : "title of api endpoint which can find in swagger endpoint", | |
"display_name": "display name of your api", | |
"api_path": "swagger.json file path", | |
"backend_uri": "https://you-api-server-url.net", | |
"api_revision": "your api revision (numeric) e.g. 1, 2", | |
"api_version": "your api version e.g.: v2", | |
"policy": [ | |
{ | |
"name": "name of policy such as rate_limit_policy", | |
"path": "rate_limit_policy.xml" | |
} | |
] | |
} | |
], | |
"visible_to_guests": false, | |
"visible_to_developers": true, | |
"policy": [ | |
{ | |
"policy_name": "rate_limit_policy", | |
"path": "rate_limit_policy.xml" | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment