Created
September 26, 2018 04:30
-
-
Save tmkasun/13363c99b2e7565c908de2e98cc7d41d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
{ | |
"id": "01234567-0123-0123-0123-012345678901", | |
"name": "CalculatorAPI", | |
"description": "A calculator API that supports basic operations", | |
"context": "CalculatorAPI", | |
"version": "1.0.0", | |
"provider": "admin", | |
"lifeCycleStatus": "CREATED", | |
"workflowStatus": "APPROVED", | |
"securityScheme": [ | |
"string" | |
], | |
"wsdlUri": "http://www.webservicex.com/globalweather.asmx?wsdl", | |
"createdTime": {}, | |
"apiPolicy": "UNLIMITED", | |
"lastUpdatedTime": {}, | |
"responseCaching": "Disabled", | |
"cacheTimeout": 300, | |
"destinationStatsEnabled": "Disabled", | |
"isDefaultVersion": false, | |
"transport": [ | |
"http", | |
"https" | |
], | |
"tags": [ | |
"substract", | |
"add" | |
], | |
"hasOwnGateway": false, | |
"gatewayLabels": [ | |
"public", | |
"private" | |
], | |
"storeLabels": [ | |
"public", | |
"private" | |
], | |
"policies": [ | |
"Unlimited" | |
], | |
"visibility": "PUBLIC", | |
"visibleRoles": [], | |
"permission": "[{\"groupId\" : 1000, \"permission\" : [\"READ\",\"UPDATE\"]},{\"groupId\" : 1001, \"permission\" : [\"READ\",\"UPDATE\"]}]", | |
"userPermissionsForApi": [ | |
"READ", | |
"UPDATE" | |
], | |
"visibleTenants": [], | |
"gatewayEnvironments": "Production and Sandbox", | |
"sequences": [], | |
"businessInformation": { | |
"businessOwner": "businessowner", | |
"businessOwnerEmail": "[email protected]", | |
"technicalOwner": "technicalowner", | |
"technicalOwnerEmail": "[email protected]" | |
}, | |
"corsConfiguration": { | |
"corsConfigurationEnabled": false, | |
"accessControlAllowOrigins": [ | |
"string" | |
], | |
"accessControlAllowCredentials": false, | |
"accessControlAllowHeaders": [ | |
"string" | |
], | |
"accessControlAllowMethods": [ | |
"string" | |
] | |
}, | |
"endpoint": [ | |
{ | |
"key": "01234567-0123-0123-0123-012345678901", | |
"inline": { | |
"id": "01234567-0123-0123-0123-012345678901", | |
"name": "Endpoint 1", | |
"endpointConfig": { | |
"endpointType": "FAIL_OVER", | |
"list": [ | |
{ | |
"url": "http://localhost:8280", | |
"timeout": 1000, | |
"isPrimary": true, | |
"attributes": [ | |
{ | |
"name": "Suspension time", | |
"value": "2s" | |
} | |
] | |
} | |
], | |
"circuitBreaker": { | |
"rollingWindow": { | |
"timeWindow": 1000, | |
"bucketSize": 1000, | |
"requestVolumeThreshold": 2 | |
}, | |
"failureThreshold": "0.2", | |
"resetTime": 1000 | |
} | |
}, | |
"endpointSecurity": { | |
"enabled": false, | |
"type": "basic", | |
"username": "basic", | |
"password": "basic" | |
}, | |
"maxTps": 1000, | |
"type": "http" | |
}, | |
"type": "Production" | |
} | |
], | |
"scopes": [ | |
"string" | |
], | |
"operations": [ | |
{ | |
"id": "postapiresource", | |
"uritemplate": "string", | |
"httpVerb": "string", | |
"authType": "string", | |
"policy": "Unlimited", | |
"endpoint": [ | |
{ | |
"key": "01234567-0123-0123-0123-012345678901", | |
"inline": { | |
"id": "01234567-0123-0123-0123-012345678901", | |
"name": "Endpoint 1", | |
"endpointConfig": { | |
"endpointType": "FAIL_OVER", | |
"list": [ | |
{ | |
"url": "http://localhost:8280", | |
"timeout": 1000, | |
"isPrimary": true, | |
"attributes": [ | |
{ | |
"name": "Suspension time", | |
"value": "2s" | |
} | |
] | |
} | |
], | |
"circuitBreaker": { | |
"rollingWindow": { | |
"timeWindow": 1000, | |
"bucketSize": 1000, | |
"requestVolumeThreshold": 2 | |
}, | |
"failureThreshold": "0.2", | |
"resetTime": 1000 | |
} | |
}, | |
"endpointSecurity": { | |
"enabled": false, | |
"type": "basic", | |
"username": "basic", | |
"password": "basic" | |
}, | |
"maxTps": 1000, | |
"type": "http" | |
}, | |
"type": "Production" | |
} | |
], | |
"scopes": [ | |
"string" | |
] | |
} | |
], | |
"threatProtectionPolicies": { | |
"list": [ | |
{ | |
"policyId": "string", | |
"priority": 0 | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment