diff --git a/README.md b/README.md
index c43a2bb..7299651 100644
--- a/README.md
+++ b/README.md
@@ -29,7 +29,7 @@ Hope, everything went well in product provisioning . Lets now get started to exp
Hurrah!!!!.. Now that the product is up and running and let's get into the real action of using it. First let us create an API and add some enforcement to it.
-1. Login to the webapp ([http://localhost:9072/)](http://localhost:9072/)) using the default credentials (Administrator/manage). If you are using API cloud, make sure to launch the "API Gateway" app.
+1. Login to the webapp ([http://localhost:9072/)](http://localhost:9072/)) using the default credentials. If you are using API cloud, make sure to launch the "API Gateway" app.
2. Create a "DateAPI" by importing [the attached archive](attachments/651659260/651661834.zip) through the import option under the user menu. By default, this API is protected with the API Key security enforcement.
diff --git a/apigatewayservices/APIGatewayAlias.json b/apigatewayservices/APIGatewayAlias.json
index 404f9ba..458ba89 100644
--- a/apigatewayservices/APIGatewayAlias.json
+++ b/apigatewayservices/APIGatewayAlias.json
@@ -24,10 +24,7 @@
"application/json" : "{\r\n\t\"id\": \"732c4526-db9a-4ef9-9782-edda1a6aa9bc\"\r\n\t\"endPointURI\": \"https://myDevstage:9090\",\r\n\t\"connectionTimeout\": \"23\",\r\n\t\"optimizationTechnique\": \"MTOM\",\r\n\t\"readTimeout\": \"36\",\r\n\t\"passSecurityHeaders\": true,\r\n\t\"keystoreAlias\": \"DEFAULT_IS_KEYSTORE\",\r\n\t\"keyAlias\": \"ssos\",\r\n\t\"name\": \"MystageEndpoint\",\r\n\t\"description\": \"Endpoint alias for myDevstage.\",\r\n\t\"type\": \"endpoint\"\r\n},\r\n{\r\n\t\"id\": \"842c4526-db9a-4ef9-9782-edda1a6ab84c\"\r\n\t\"authType\": \"WSS_USERNAME\",\r\n\t\"signAndEncryptConfig\": {\r\n\t\t\"keyStoreAlias\": \"DEFAULT_IS_KEYSTORE\",\r\n\t\t\"keyAlias\": \"ssos\",\r\n\t\t\"certificateAlias\": \"ssos\",\r\n\t\t\"truststoreAlias\": \"DEFAULT_IS_TRUSTSTORE\"\r\n\t},\r\n\t\"wssCredentials\": {\r\n\t\t\"userName\": \"Administrator\",\r\n\t\t\"password\": \"bWFuYWdl\"\r\n\t},\r\n\t\"authMode\": \"NEW\",\r\n\t\"name\": \"UsernameMessageAlias\",\r\n\t\"description\": \"WSS username message alias\",\r\n\t\"type\": \"soapMessageSecurityAlias\"\r\n},\r\n{\r\n\t\"id\": \"652c4526-db8a-4ef9-9782-edda1a4gf9bc\"\r\n\t\"authType\": \"KERBEROS\",\r\n\t\"kerberosCredentials\": {\r\n\t\t\"servicePrincipal\": \"vmmachineadfs20.sag.com\",\r\n\t\t\"servicePrincipalNameForm\": \"username\",\r\n\t\t\"clientPrincipal\": \"Administrator\",\r\n\t\t\"clientPassword\": \"bWFuYWdl\"\r\n\t},\r\n\t\"authMode\": \"NEW\",\r\n\t\"name\": \"KerberosHttpTransportAlias\",\r\n\t\"description\": \"vmmachineadfs20 kerberos transport alias\",\r\n\t\"type\": \"httpTransportSecurityAlias\"\r\n},\r\n{\r\n\t\"id\": \"422c4526-db9a-4ef9-9872-edda1a6aa9bc\"\r\n\t\"authType\": \"HTTP_BASIC\",\r\n\t\"httpAuthCredentials\": {\r\n\t\t\"domain\": \"localhost\",\r\n\t\t\"userName\": \"Administrator\",\r\n\t\t\"password\": \"bWFuYWdl\"\r\n\t},\r\n\t\"authMode\": \"NEW\",\r\n\t\"name\": \"BasicHttpTransportAlias\",\r\n\t\"description\": \"Basic http transport alias\",\r\n\t\"type\": \"httpTransportSecurityAlias\"\r\n},\r\n{\r\n\t\"id\": \"732c4526-db9a-5t46-9782-edda1a4ac9bc\"\r\n\t\"authType\": \"NTLM\",\r\n\t\"httpAuthCredentials\": {\r\n\t\t\"domain\": \"localhost\",\r\n\t\t\"userName\": \"Administrator\",\r\n\t\t\"password\": \"bWFuYWdl\"\r\n\t},\r\n\t\"authMode\": \"NEW\",\r\n\t\"name\": \"NTLMTransportAlias\",\r\n\t\"description\": \"ntlm http transport alias\",\r\n\t\"type\": \"httpTransportSecurityAlias\"\r\n},\r\n{\r\n\t\"id\": \"652c4526-db9a-4ef9-3265-edda1a6aa9bc\"\r\n\t\"authType\": \"OAUTH2\",\r\n\t\"oauth2Token\": \"T2F1dGgydG9rZW4=\",\r\n\t\"authMode\": \"NEW\",\r\n\t\"name\": \"OAuthTransportAlias\",\r\n\t\"description\": \"OAuth2 alias for outbound transport security\",\r\n\t\"type\": \"httpTransportSecurityAlias\"\r\n},\r\n{\r\n\t\"id\": \"732c3265-db9a-4ef9-9782-edda1a6aa9bc\"\r\n\t\"authType\": \"KERBEROS\",\r\n\t\"signAndEncryptConfig\": {\r\n\t\t\"keyStoreAlias\": \"DEFAULT_IS_KEYSTORE\",\r\n\t\t\"keyAlias\": \"ssos\",\r\n\t\t\"certificateAlias\": \"ssos\",\r\n\t\t\"truststoreAlias\": \"DEFAULT_IS_TRUSTSTORE\"\r\n\t},\r\n\t\"kerberosCredentials\": {\r\n\t\t\"servicePrincipal\": \"vmmachine01.sag.com/adfs\",\r\n\t\t\"servicePrincipalNameForm\": \"username\",\r\n\t\t\"clientPrincipal\": \"Administrator\",\r\n\t\t\"clientPassword\": \"bWFuYWdl\"\r\n\t},\r\n\t\"authMode\": \"DELEGATE_INCOMING\",\r\n\t\"name\": \"KerberosMessageAlias\",\r\n\t\"description\": \"Kerberos outbound message secure alias\",\r\n\t\"type\": \"soapMessageSecurityAlias\"\r\n},\r\n{\r\n\t\"id\": \"12c4526-db9a-5ef9-9845-edda1a7ba9bc\"\r\n\t\"authType\": \"SAML\",\r\n\t\"signAndEncryptConfig\": {\r\n\t\t\"keyStoreAlias\": \"\",\r\n\t\t\"keyAlias\": null,\r\n\t\t\"certificateAlias\": null,\r\n\t\t\"truststoreAlias\": \"\"\r\n\t},\r\n\t\"samlIssuerConfig\": \"${SAMLIssuer1}\",\r\n\t\"name\": \"SAMLAlias\",\r\n\t\"description\": \"SAML secure alias\",\r\n\t\"type\": \"soapMessageSecurityAlias\"\r\n}\r\n"
},
"schema" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/Alias"
- }
+ "$ref" : "#/definitions/AliasResponseModel"
}
},
"401" : {
@@ -268,6 +265,19 @@
}
}
},
+ "AliasResponseModel" : {
+ "type" : "object",
+ "properties" : {
+ "alias" : {
+ "type" : "array",
+ "description" : "List of aliases",
+ "items" : {
+ "$ref" : "#/definitions/Alias"
+ }
+ }
+ },
+ "description" : "This model contains the basics details of all Alias."
+ },
"AuthInfo" : {
"type" : "object",
"discriminator" : "type"
@@ -411,7 +421,7 @@
},
"password" : {
"type" : "string",
- "description" : "Specify a password to access the native API"
+ "description" : "Specify a base64 encoded password to access the native API"
},
"userName" : {
"type" : "string",
@@ -519,7 +529,7 @@
},
"oauth2Token" : {
"type" : "string",
- "description" : "OAuth2 token that is used for authentication"
+ "description" : "Specify a base64 encoded OAuth2 token that is used for authentication"
}
}
} ]
@@ -582,7 +592,7 @@
"properties" : {
"clientPassword" : {
"type" : "string",
- "description" : "password for the client principal"
+ "description" : "Specify a base64 encoded password for the client principal"
},
"clientPrincipal" : {
"type" : "string",
@@ -1037,7 +1047,7 @@
},
"password" : {
"type" : "string",
- "description" : "Password that is used in the Basic authentication when communicating with the service registry"
+ "description" : "Base64 encoded password that is used in the Basic authentication when communicating with the service registry"
},
"readTimeout" : {
"type" : "integer",
@@ -1211,7 +1221,7 @@
"properties" : {
"password" : {
"type" : "string",
- "description" : "password for the username"
+ "description" : "Specify a base64 encoded password for the username"
},
"passwordType" : {
"type" : "string",
@@ -1225,4 +1235,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/apigatewayservices/APIGatewayApplication.json b/apigatewayservices/APIGatewayApplication.json
index 85b9629..f66c5fc 100644
--- a/apigatewayservices/APIGatewayApplication.json
+++ b/apigatewayservices/APIGatewayApplication.json
@@ -31,6 +31,20 @@
"description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "This status code indicates that a list of the available applications is retrieved successfully.",
+ "examples" : {
+ "application/json" : "{\n \"applications\": [\n {\n \"name\": \"TestSampleApp\",\n \"description\": null,\n \"contactEmails\": [],\n \"identifiers\": [\n {\n \"id\": \"3ce6f4df-e773-4fdb-bed3-3d63b5cb520c\",\n \"name\": \"Username\",\n \"key\": \"httpBasicAuth\",\n \"value\": [\n \"Administrator\"\n ]\n }\n ],\n \"siteURLs\": [],\n \"jsOrigins\": [],\n \"authStrategyIds\": [\n \"81df9682-6a28-4ebc-92fd-2c486d3f75c2\"\n ],\n \"version\": \"1.0\",\n \"id\": \"803b7f16-45c6-4b1c-be26-4da053d40640\",\n \"created\": \"2018-12-04 05:27:56 GMT\",\n \"lastupdated\": null,\n \"owner\": \"Administrator\",\n \"consumingAPIs\": [],\n \"accessTokens\": {\n \"apiAccessKey_credentials\": {\n \"apiAccessKey\": \"f293cbb5cb0f1367ecc55b4c5b1717dad4073f77d2bde869cf8ee0162cc08f38\",\n \"expirationInterval\": null,\n \"expirationDate\": null,\n \"expired\": false\n },\n \"oauth_credentials\": {\n \"clientID\": null,\n \"clientSecret\": null,\n \"clientName\": null,\n \"scopes\": null,\n \"token_lifetime\": null,\n \"token_refresh_limit\": null,\n \"redirect_uris\": [],\n \"Type\": \"confidential\"\n }\n }\n ,\r\n\t\t\t\"teams\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"id\": \"Administrators\",\r\n\t\t\t\t\t\"name\": \"Administrators\",\r\n\t\t\t\t\t\"canDelete\": \"false\"\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\t\"id\": \"Default\",\r\n\t\t\t\t\t\"name\": \"Default\",\r\n\t\t\t\t\t\"canDelete\": \"true\"\r\n\t\t\t\t}\r\n\t\t\t] }\n ]\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/Application"
+ }
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -66,6 +80,20 @@
"description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "This status code indicates that the application has been successfully created in API Gateway.",
+ "examples" : {
+ "application/json" : "{\r\n\t\"name\": \"TestApp\",\r\n\t\"description\": \"My Test Application\",\r\n\t\"contactEmails\": [],\r\n\t\"identifiers\": [\r\n\t\t{\r\n\t\t\t\"id\": \"47252f48-b8ed-4759-8bfd-1a52ddc4e9cd\",\r\n\t\t\t\"name\": \"Hostname\",\r\n\t\t\t\"key\": \"hostNameAddress\",\r\n\t\t\t\"value\": [\r\n\t\t\t\t\"host1\"\r\n\t\t\t]\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"ac3f2d03-f4dd-496e-bb0c-10b4e09958ab\",\r\n\t\t\t\"name\": \"localhostcert.der\",\r\n\t\t\t\"key\": \"httpsCertificate\",\r\n\t\t\t\"value\": [\r\n\t\t\t\t\"LS0t...o=\"\r\n\t\t\t]\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"3c1ba8c7-c3c7-4faf-bb4b-1ef5b8108175\",\r\n\t\t\t\"name\": \"Username\",\r\n\t\t\t\"key\": \"httpBasicAuth\",\r\n\t\t\t\"value\": [\r\n\t\t\t\t\"user1\"\r\n\t\t\t]\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"89fc1704-092f-4b55-93d8-944260fe9e06\",\r\n\t\t\t\"name\": \"claimset1\",\r\n\t\t\t\"key\": \"jwtClaims\",\r\n\t\t\t\"value\": [\r\n\t\t\t\t\"{\\\"claim1\\\":\\\"val1\\\",\\\"claim2\\\":\\\"val2\\\"}\"\r\n\t\t\t]\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"7f9c9835-6727-4bc4-8ab1-e46147dfe42b\",\r\n\t\t\t\"name\": \"WS-Security username\",\r\n\t\t\t\"key\": \"wssecUsernameToken\",\r\n\t\t\t\"value\": [\r\n\t\t\t\t\"wssuser1\"\r\n\t\t\t]\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"6b6c6006-8475-447f-89be-f6fee0d06e50\",\r\n\t\t\t\"name\": \"XPath\",\r\n\t\t\t\"key\": \"payloadElement\",\r\n\t\t\t\"value\": [\r\n\t\t\t\t\"xpath1\"\r\n\t\t\t]\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"0f6ecdb8-f715-4828-b228-e8bc74d3e2f0\",\r\n\t\t\t\"name\": \"Token\",\r\n\t\t\t\"key\": \"token\",\r\n\t\t\t\"value\": [\r\n\t\t\t\t\"token1\"\r\n\t\t\t]\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"732fb347-1e71-46e5-98ca-1b94e5d9cf94\",\r\n\t\t\t\"name\": \"IP Addresses\",\r\n\t\t\t\"key\": \"ipAddressRange\",\r\n\t\t\t\"value\": [\r\n\t\t\t\t\"10.60.37.12-10.60.37.15\",\r\n\t\t\t\t\"10.60.37.16-10.60.37.17\"\r\n\t\t\t]\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"d2042269-ffa2-459e-aa43-c2e9f9885c64\",\r\n\t\t\t\"name\": \"Partner ID\",\r\n\t\t\t\"key\": \"partnerId\",\r\n\t\t\t\"value\": [\r\n\t\t\t\t\"partner1\"\r\n\t\t\t]\r\n\t\t}\r\n\t],\r\n\t\"siteURLs\": [],,\r\n\t\"jsOrigins\": [],\r\n \"authStrategyIds\": []\r\n\t\"version\": \"1.0\",\r\n\t\"id\": \"ea8700af-e7ce-4b57-8f60-1922f87e47a9\",\r\n\t\"created\": \"2019-11-01 09:47:53 GMT\",\r\n\t\"lastupdated\": null,\r\n\t\"owner\": \"Administrator\",\r\n\t\"consumingAPIs\": [],\r\n\t\"accessTokens\": {\r\n\t\t\"apiAccessKey_credentials\": {\r\n\t\t\t\"apiAccessKey\": \"2050c4b7-f51b-4a4d-9bb6-eca2bc590536\",\r\n\t\t\t\"expirationInterval\": null,\r\n\t\t\t\"expirationDate\": null,\r\n\t\t\t\"expired\": false\r\n\t\t}\r\n\t}\r\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/Application"
+ }
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -92,6 +120,17 @@
"description" : "This status code indicates that an application with the given ID could not be found in API Gateway."
}
},
+ "responsesObject" : {
+ "204" : {
+ "description" : "This status code indicates that the specified application has been successfully deleted from API Gateway."
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that an application with the given ID could not be found in API Gateway."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -123,6 +162,14 @@
"description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "This status code indicates that the access tokens are successfully updated with the new expiry date."
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -157,6 +204,23 @@
"description" : "This status code indicates that an application with the given ID could not be found in API Gateway."
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "This status code indicates that the details of the specified application are retrieved successfully.",
+ "examples" : {
+ "application/json" : "{\n \"applications\": [\n {\n \"name\": \"TestApp\",\n \"description\": null,\n \"contactEmails\": [],\n \"identifiers\": [\n {\n \"id\": \"820332c8-7467-4340-bef8-dae595c69f7b\",\n \"name\": \"Username\",\n \"key\": \"httpBasicAuth\",\n \"value\": [\n \"admin\"\n ]\n }\n ],\n \"siteURLs\": [],\n \"jsOrigins\": [],\n \"authStrategyIds\": [],\n \"version\": \"1.0\",\n \"id\": \"79251257-1ea5-4df7-a8bf-a345ea835592\",\n \"created\": \"2018-12-04 05:33:20 GMT\",\n \"lastupdated\": null,\n \"owner\": \"Administrator\",\n \"consumingAPIs\": [],\n \"accessTokens\": {\n \"apiAccessKey_credentials\": {\n \"apiAccessKey\": \"eb3fcb16-89bd-4d0b-b45b-c1257686e4d6\",\n \"expirationInterval\": null,\n \"expirationDate\": null,\n \"expired\": false\n },\n \"oauth_credentials\": {\n \"clientID\": null,\n \"clientSecret\": null,\n \"clientName\": null,\n \"scopes\": null,\n \"token_lifetime\": null,\n \"token_refresh_limit\": null,\n \"redirect_uris\": [],\n \"Type\": \"confidential\"\n }\n }\n }\n ]\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/Application"
+ }
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that an application with the given ID could not be found in API Gateway."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -201,6 +265,23 @@
"description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "This status code indicates that the specified application has been successfully updated in API Gateway.",
+ "examples" : {
+ "application/json" : "{\r\n \"name\": \"TestApp\",\r\n \"description\": \"My Test Application\",\r\n \"contactEmails\": [],\r\n \"identifiers\": [],\r\n \"siteURLs\": [],\r\n \"jsOrigins\": [\r\n \"orgn1\",\r\n \"orgn2\"\r\n ],\r\n \"authStrategyIds\": [\r\n \"4d5006b8-80b0-4770-9a4f-32f176dd2e59\"\r\n ],\r\n \"version\": \"1.0\",\r\n \"id\": \"cf24b278-f126-4e77-bb10-e32e4a7f845e\",\r\n \"created\": \"2019-11-19 12:54:11 GMT\",\r\n \"lastupdated\": \"2019-11-19 15:08:15 GMT\",\r\n \"owner\": \"Administrator\",\r\n \"consumingAPIs\": [],\r\n \"accessTokens\": {\r\n \"apiAccessKey_credentials\": {\r\n \"apiAccessKey\": \"52dd7cf2172f7770a79cb699309eda289af863eb5ba67ce85d2cc7956220988a\",\r\n \"expirationInterval\": null,\r\n \"expirationDate\": null,\r\n \"expired\": false\r\n }\r\n }\r\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/Application"
+ }
+ },
+ "400" : {
+ "description" : "This status code indicates that the specified application could not be updated"
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -227,6 +308,17 @@
"description" : "This status code indicates that an application with the given ID could not be found in API Gateway."
}
},
+ "responsesObject" : {
+ "204" : {
+ "description" : "This status code indicates that the specified application has been successfully deleted from API Gateway."
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that an application with the given ID could not be found in API Gateway."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -268,6 +360,20 @@
"description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "This status code indicates that the specified application has been successfully updated in API Gateway.",
+ "schema" : {
+ "$ref" : "#/definitions/Application"
+ }
+ },
+ "400" : {
+ "description" : "This status code indicates that the specified application could not be updated"
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -277,7 +383,6 @@
"get" : {
"description" : "The method retrieves a map of access token endpoints for all the authorization servers configured",
"operationId" : "getAccessTokenEndpoints",
- "produces" : [ "application/json" ],
"parameters" : [ {
"name" : "applicationId",
"in" : "path",
@@ -299,6 +404,20 @@
"description" : "This status code indicates that an application with the given ID could not be found in API Gateway."
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "This status code indicates that a list of access token endpoints for the application are retrieved successfully.",
+ "examples" : {
+ "application/json" : "{\n \"local\": {\n \"uris\": {\n \"authorizeUrl\": \"http://vm:5555/invoke/pub.apigateway.oauth2/authorize\",\n \"accessTokenUrl\": \"http://vm:5555/invoke/pub.apigateway.oauth2/getAccessToken\",\n \"refreshTokenUrl\": \"http://vm:5555/invoke/pub.oauth/refreshAccessToken\"\n }\n }\n}"
+ }
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that an application with the given ID could not be found in API Gateway."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -337,6 +456,17 @@
"description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "This status code indicates that the access tokens are successfully regenerated for the application in API Gateway."
+ },
+ "400" : {
+ "description" : "This status code indicates that an application with the given ID could not be found in API Gateway"
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -368,6 +498,20 @@
"description" : "This status code indicates that an application with the given ID could not be found in API Gateway."
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "This status code indicates that a list of registered APIs for the application is retrieved successfully.",
+ "examples" : {
+ "application/json" : "{\n \"apiIDs\": [\n \"2aa651f4-2696-425b-96c4-440ad78b0305\"\n ]\n}"
+ }
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that an application with the given ID could not be found in API Gateway."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -409,6 +553,17 @@
"description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "This status code indicates that the given APIs have been successfully registered with the specified application in API Gateway."
+ },
+ "400" : {
+ "description" : "This status code indicates that an application with the given ID could not be found in API Gateway"
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -424,10 +579,7 @@
"description" : "This parameter specifies the ID of a registered API that is to be updated in API Gateway.",
"required" : true,
"schema" : {
- "type" : "array",
- "items" : {
- "type" : "string"
- }
+ "$ref" : "#/definitions/RegisterAPIModel"
},
"x-examples" : {
"application/json" : "{\r\n\t\"apiIDs\": [\r\n\t\t\"3de85431-d45b-418d-b5aa-0be5c3b5714d\",\r\n\t\t\"375db639-01f7-4488-b14f-09daae622e18\"\r\n\t]\r\n}"
@@ -450,6 +602,17 @@
"description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "This status code indicates that the registered API has been successfully updated in API Gateway."
+ },
+ "400" : {
+ "description" : "This status code indicates that an application with the given ID could not be found in API Gateway."
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -475,6 +638,20 @@
"description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "This status code indicates that the list of strategies is successfully retrieved.",
+ "examples" : {
+ "application/json" : "{\n \"strategies\": [\n {\n \"id\": \"e1f151e1-3210-4283-992b-b3f1d1cf6a92\",\n \"type\": \"OAUTH2\",\n \"authServerAlias\": \"local\",\n \"name\": \"test-oauth2-strategy\",\n \"description\": \"\",\n \"clientId\": \"e65b0fe2-d73d-4ea7-a92a-20c949e08235\",\n \"dcrConfig\": {\n \"allowedGrantTypes\": [\n \"authorization_code\",\n \"password\"\n ],\n \"applicationType\": \"WEB\",\n \"clientType\": \"PUBLIC\",\n \"clientName\": \"test-oauth2-strategy\",\n \"clientVersion\": \"1.0\",\n \"expirationInterval\": \"3600\",\n \"refreshCount\": \"0\",\n \"redirectUris\": [\n \"https://redirect.uri\"\n ]\n },\n \"clientRegistration\": {\n \"clientId\": \"e65b0fe2-d73d-4ea7-a92a-20c949e08235\",\n \"name\": \"test-oauth2-strategy\",\n \"version\": \"1.0\",\n \"type\": \"public\",\n \"tokenLifetime\": 3600,\n \"tokenRefreshLimit\": 0,\n \"clientSecret\": \"f3d2edb1-0bf4-47a8-9e34-775c1a943e70\",\n \"enabled\": true,\n \"redirectUris\": [\n \"https://redirect.uri\"\n ],\n \"clScopes\": [],\n \"authCodeAllowed\": true,\n \"implicitAllowed\": false,\n \"clientCredentialsAllowed\": false,\n \"resourceOwnerAllowed\": true\n }\n }\n ]\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/OneOfStrategyModel"
+ }
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -490,7 +667,7 @@
"description" : "This parameter describes the request payload of a strategy that is to be created in API Gateway.",
"required" : true,
"schema" : {
- "$ref" : "#/definitions/ScopedBaseStrategy"
+ "$ref" : "#/definitions/StrategyRequest"
},
"x-examples" : {
"application/json" : "{\n\"name\": \"Test\",\n\"description\": \"\",\n\"authServerAlias\": \"local\",\n\"type\": \"OAUTH2\",\n\"dcrConfig\": {\n\"allowedGrantTypes\": [\"authorization_code\",\n\"password\",\n\"implicit\"],\n\"scopes\": [],\n\"redirectUris\": [\"http://vm:5555/redirect\"],\n\"authServer\": \"local\",\n\"applicationType\": \"WEB\",\n\"clientType\": \"PUBLIC\",\n\"expirationInterval\": 3600,\n\"refreshCount\": \"0\"\n}\n} "
@@ -513,30 +690,21 @@
"description" : "This status code indicates that either the user didn't provide right credentials or the user doesn't have required privileges to access this API."
}
},
- "security" : [ {
- "Basic" : [ ]
- } ]
- },
- "delete" : {
- "description" : "The method deletes the specified strategy in API Gateway.",
- "operationId" : "deleteStrategy",
- "produces" : [ "application/json" ],
- "parameters" : [ {
- "name" : "ids",
- "in" : "query",
- "description" : "This parameter specifies the ID of a strategy that is to be deleted in API Gateway.",
- "required" : false,
- "type" : "string"
- } ],
- "responses" : {
- "204" : {
- "description" : "This status code indicates that the specified strategy has been successfully deleted from API Gateway."
+ "responsesObject" : {
+ "200" : {
+ "description" : "The method creates a strategy in API Gateway. The API request body must contain the payload for the strategy",
+ "examples" : {
+ "application/json" : "{\n \"strategy\": {\n \"id\": \"370f88ca-205e-45df-8e16-998088f32dc2\",\n \"type\": \"OAUTH2\",\n \"authServerAlias\": \"local\",\n \"name\": \"Test\",\n \"description\": \"\",\n \"clientId\": \"2b54de1c-a8fa-4965-a832-cacf6b656012\",\n \"dcrConfig\": {\n \"allowedGrantTypes\": [\n \"authorization_code\",\n \"password\",\n \"implicit\"\n ],\n \"applicationType\": \"WEB\",\n \"clientType\": \"PUBLIC\",\n \"clientName\": \"Test\",\n \"clientVersion\": \"1.0\",\n \"expirationInterval\": \"3600\",\n \"refreshCount\": \"0\",\n \"redirectUris\": [\n \"http://vm:5555/redirect\"\n ]\n },\n \"clientRegistration\": {\n \"clientId\": \"2b54de1c-a8fa-4965-a832-cacf6b656012\",\n \"name\": \"Test\",\n \"version\": \"1.0\",\n \"type\": \"public\",\n \"tokenLifetime\": 3600,\n \"tokenRefreshLimit\": 0,\n \"clientSecret\": \"6a3d98c3-e5b0-47fc-9acf-b454401cd87d\",\n \"enabled\": true,\n \"redirectUris\": [\n \"http://vm:5555/redirect\"\n ],\n \"clScopes\": [],\n \"authCodeAllowed\": true,\n \"implicitAllowed\": true,\n \"clientCredentialsAllowed\": false,\n \"resourceOwnerAllowed\": true\n }\n }\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/OneOfStrategyModel"
+ }
+ },
+ "400" : {
+ "description" : "This status code indicates that a strategy with the given ID already exists in API Gateway"
},
"401" : {
"description" : "This status code indicates that either the user didn't provide right credentials or the user doesn't have required privileges to access this API."
- },
- "404" : {
- "description" : "This status code indicates that a strategy with the given ID could not be found in API Gateway."
}
},
"security" : [ {
@@ -573,6 +741,23 @@
"description" : "This status code indicates that a strategy with the given ID could not be found in API Gateway."
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "This status code indicates that the details of the specified strategy are retrieved successfully.",
+ "examples" : {
+ "application/json" : "{\n \"strategy\": {\n \"id\": \"a2641013-701c-420d-9eba-30cd9da1f0f5\",\n \"type\": \"OAUTH2\",\n \"authServerAlias\": \"local\",\n \"name\": \"testapp-$sys-default-oauth\",\n \"clientId\": \"5b5e2fee-b786-4abe-9fd4-584c265d260a\",\n \"dcrConfig\": {\n \"allowedGrantTypes\": [\n \"implicit\",\n \"client_credentials\",\n \"authorization_code\"\n ],\n \"clientType\": \"CONFIDENTIAL\",\n \"clientName\": \"4425af88-a80d-4f6c-b6e0-84008c720889\",\n \"clientVersion\": \"1.0\",\n \"expirationInterval\": \"3600\",\n \"redirectUris\": []\n },\n \"clientRegistration\": {\n \"clientId\": \"5b5e2fee-b786-4abe-9fd4-584c265d260a\",\n \"name\": \"4425af88-a80d-4f6c-b6e0-84008c720889\",\n \"version\": \"1.0\",\n \"type\": \"confidential\",\n \"tokenLifetime\": 3600,\n \"tokenRefreshLimit\": 0,\n \"clientSecret\": \"1bd1bcd0-7eb2-4aa9-a50a-41c038ad92b2\",\n \"enabled\": true,\n \"redirectUris\": [\n \"https://placeholder_redirect_uri\"\n ],\n \"clScopes\": [],\n \"authCodeAllowed\": true,\n \"implicitAllowed\": true,\n \"clientCredentialsAllowed\": true,\n \"resourceOwnerAllowed\": false\n }\n }\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/OneOfStrategyModel"
+ }
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that a strategy with the given ID could not be found in API Gateway."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -588,7 +773,7 @@
"description" : "This parameter describes the request payload of a strategy that is to be updated in API Gateway.",
"required" : true,
"schema" : {
- "$ref" : "#/definitions/ScopedBaseStrategy"
+ "$ref" : "#/definitions/StrategyRequest"
},
"x-examples" : {
"application/json" : " {\n \"type\": \"OAUTH2\",\n \"authServerAlias\": \"local\",\n \"name\": \"testapp-$sys-default-oauth\",\n \"clientId\": \"5b5e2fee-b786-4abe-9fd4-584c265d260a\",\n \"dcrConfig\": {\n \"allowedGrantTypes\": [\n \"implicit\",\n \"client_credentials\",\n \"authorization_code\"\n ],\n \"clientType\": \"CONFIDENTIAL\",\n \"clientName\": \"4425af88-a80d-4f6c-b6e0-84008c720889\",\n \"clientVersion\": \"1.0\",\n \"expirationInterval\": \"3600\",\n \"redirectUris\": []\n },\n \"clientRegistration\": {\n \"clientId\": \"5b5e2fee-b786-4abe-9fd4-584c265d260a\",\n \"name\": \"4425af88-a80d-4f6c-b6e0-84008c720889\",\n \"version\": \"1.0\",\n \"type\": \"confidential\",\n \"tokenLifetime\": 3600,\n \"tokenRefreshLimit\": 0,\n \"clientSecret\": \"1bd1bcd0-7eb2-4aa9-a50a-41c038ad92b2\",\n \"enabled\": true,\n \"redirectUris\": [\n \"https://placeholder_redirect_uri\"\n ],\n \"clScopes\": [],\n \"authCodeAllowed\": true,\n \"implicitAllowed\": true,\n \"clientCredentialsAllowed\": true,\n \"resourceOwnerAllowed\": false\n }\n }\n"
@@ -617,6 +802,60 @@
"description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "This status code indicates that the specified strategy has been successfully updated in API Gateway.",
+ "examples" : {
+ "application/json" : "{\n \"strategy\": {\n \"id\": \"a2641013-701c-420d-9eba-30cd9da1f0f5\",\n \"type\": \"OAUTH2\",\n \"authServerAlias\": \"local\",\n \"name\": \"testapp-$sys-default-oauth\",\n \"clientId\": \"5b5e2fee-b786-4abe-9fd4-584c265d260a\",\n \"dcrConfig\": {\n \"allowedGrantTypes\": [\n \"implicit\",\n \"client_credentials\",\n \"authorization_code\"\n ],\n \"clientType\": \"CONFIDENTIAL\",\n \"clientName\": \"4425af88-a80d-4f6c-b6e0-84008c720889\",\n \"clientVersion\": \"1.0\",\n \"expirationInterval\": \"3600\",\n \"redirectUris\": []\n },\n \"clientRegistration\": {\n \"clientId\": \"5b5e2fee-b786-4abe-9fd4-584c265d260a\",\n \"name\": \"4425af88-a80d-4f6c-b6e0-84008c720889\",\n \"version\": \"1.0\",\n \"type\": \"confidential\",\n \"tokenLifetime\": 3600,\n \"tokenRefreshLimit\": 0,\n \"clientSecret\": \"1bd1bcd0-7eb2-4aa9-a50a-41c038ad92b2\",\n \"enabled\": true,\n \"redirectUris\": [],\n \"clScopes\": [],\n \"authCodeAllowed\": true,\n \"implicitAllowed\": true,\n \"clientCredentialsAllowed\": true,\n \"resourceOwnerAllowed\": false\n }\n }\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/OneOfStrategyModel"
+ }
+ },
+ "400" : {
+ "description" : "This status code indicates that the specified strategy could not be updated"
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ }
+ },
+ "security" : [ {
+ "Basic" : [ ]
+ } ]
+ },
+ "delete" : {
+ "description" : "The method deletes the specified strategy in API Gateway.",
+ "operationId" : "deleteStrategy",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "strategyId",
+ "in" : "path",
+ "description" : "This parameter specifies the ID of a strategy that is to be deleted in API Gateway.",
+ "required" : true,
+ "type" : "string"
+ } ],
+ "responses" : {
+ "204" : {
+ "description" : "This status code indicates that the specified strategy has been successfully deleted from API Gateway."
+ },
+ "401" : {
+ "description" : "This status code indicates that either the user didn't provide right credentials or the user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that a strategy with the given ID could not be found in API Gateway."
+ }
+ },
+ "responsesObject" : {
+ "204" : {
+ "description" : "This status code indicates that the specified strategy has been successfully deleted from API Gateway."
+ },
+ "401" : {
+ "description" : "This status code indicates that either the user didn't provide right credentials or the user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that a strategy with the given ID could not be found in API Gateway."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -640,7 +879,7 @@
"description" : "This parameter describes the request payload for the strategy to be refreshed in API Gateway.",
"required" : true,
"schema" : {
- "$ref" : "#/definitions/ScopedBaseStrategy"
+ "$ref" : "#/definitions/StrategyRequest"
},
"x-examples" : {
"application/json" : " {\n \"type\": \"OAUTH2\",\n \"authServerAlias\": \"local\",\n \"name\": \"testapp-$sys-default-oauth\",\n \"clientId\": \"5b5e2fee-b786-4abe-9fd4-584c265d260a\",\n \"dcrConfig\": {\n \"allowedGrantTypes\": [\n \"implicit\",\n \"client_credentials\",\n \"authorization_code\"\n ],\n \"clientType\": \"CONFIDENTIAL\",\n \"clientName\": \"4425af88-a80d-4f6c-b6e0-84008c720889\",\n \"clientVersion\": \"1.0\",\n \"expirationInterval\": \"3600\",\n \"redirectUris\": []\n },\n \"clientRegistration\": {\n \"clientId\": \"5b5e2fee-b786-4abe-9fd4-584c265d260a\",\n \"name\": \"4425af88-a80d-4f6c-b6e0-84008c720889\",\n \"version\": \"1.0\",\n \"type\": \"confidential\",\n \"tokenLifetime\": 3600,\n \"tokenRefreshLimit\": 0,\n \"clientSecret\": \"1bd1bcd0-7eb2-4aa9-a50a-41c038ad92b2\",\n \"enabled\": true,\n \"redirectUris\": [\n \"https://placeholder_redirect_uri\"\n ],\n \"clScopes\": [],\n \"authCodeAllowed\": true,\n \"implicitAllowed\": true,\n \"clientCredentialsAllowed\": true,\n \"resourceOwnerAllowed\": false\n }\n }\n"
@@ -663,6 +902,23 @@
"description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "This status code indicates that the specified strategy has been successfully updated in API Gateway",
+ "examples" : {
+ "application/json" : "{\n \"strategy\": {\n \"id\": \"a2641013-701c-420d-9eba-30cd9da1f0f5\",\n \"type\": \"OAUTH2\",\n \"authServerAlias\": \"local\",\n \"name\": \"testapp-$sys-default-oauth\",\n \"clientId\": \"5b5e2fee-b786-4abe-9fd4-584c265d260a\",\n \"dcrConfig\": {\n \"allowedGrantTypes\": [\n \"implicit\",\n \"client_credentials\",\n \"authorization_code\"\n ],\n \"clientType\": \"CONFIDENTIAL\",\n \"clientName\": \"4425af88-a80d-4f6c-b6e0-84008c720889\",\n \"clientVersion\": \"1.0\",\n \"expirationInterval\": \"3600\",\n \"redirectUris\": []\n },\n \"clientRegistration\": {\n \"clientId\": \"5b5e2fee-b786-4abe-9fd4-584c265d260a\",\n \"name\": \"4425af88-a80d-4f6c-b6e0-84008c720889\",\n \"version\": \"1.0\",\n \"type\": \"confidential\",\n \"tokenLifetime\": 3600,\n \"tokenRefreshLimit\": 0,\n \"clientSecret\": \"1bd1bcd0-7eb2-4aa9-a50a-41c038ad92b2\",\n \"enabled\": true,\n \"redirectUris\": [],\n \"clScopes\": [],\n \"authCodeAllowed\": true,\n \"implicitAllowed\": true,\n \"clientCredentialsAllowed\": true,\n \"resourceOwnerAllowed\": false\n }\n }\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/OneOfStrategyModel"
+ }
+ },
+ "400" : {
+ "description" : "This status code indicates that the specified strategy could not be refreshed"
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -1007,7 +1263,18 @@
"description" : "Accepts the configurations to be set for the oauth client, when using Dynamic Client Registration"
},
"GatewaySecret" : {
- "type" : "object"
+ "type" : "object",
+ "properties" : {
+ "cachedSecret" : {
+ "type" : "string"
+ },
+ "secret" : {
+ "type" : "string"
+ },
+ "xrayview" : {
+ "type" : "string"
+ }
+ }
},
"JWTAuthStrategy" : {
"type" : "object",
@@ -1412,7 +1679,19 @@
}
}
},
- "ScopedBaseStrategy" : {
+ "RegisterAPIModel" : {
+ "type" : "object",
+ "properties" : {
+ "apiIDs" : {
+ "type" : "array",
+ "description" : "List of api to be registered with the Application",
+ "items" : {
+ "type" : "string"
+ }
+ }
+ }
+ },
+ "StrategyRequest" : {
"type" : "object",
"properties" : {
"authServerAlias" : {
@@ -1420,7 +1699,8 @@
"description" : "The name of the authorization server alias"
},
"clientId" : {
- "type" : "string"
+ "type" : "string",
+ "description" : "The client ID for the strategy. This should be provided when the dynamic client registration is not used to generate the credentials for the strategy."
},
"clientRegistration" : {
"$ref" : "#/definitions/ClientRegistration"
@@ -1429,7 +1709,8 @@
"$ref" : "#/definitions/DynamicClientRegistrationConfig"
},
"description" : {
- "type" : "string"
+ "type" : "string",
+ "description" : "The description of the strategy."
},
"id" : {
"type" : "string",
@@ -1451,4 +1732,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/apigatewayservices/APIGatewayAvailability.json b/apigatewayservices/APIGatewayAvailability.json
index b87e34c..9a80016 100644
--- a/apigatewayservices/APIGatewayAvailability.json
+++ b/apigatewayservices/APIGatewayAvailability.json
@@ -22,7 +22,7 @@
"application/json" : "{\"status\":\"green\",\"ui\":{\"status\":\"green\",\"response_time_ms\":\"10\"},\"kibana\":{\"status\":{\"overall\":{\"state\":\"green\",\"nickname\":\"Looking good\",\"icon\":\"success\",\"uiColor\":\"secondary\"}},\"response_time_ms\":\"11\"}}"
},
"schema" : {
- "$ref" : "#/definitions/HealthCheckAdminResult",
+ "$ref" : "#/definitions/HealthCheckAdminResult"
}
},
"401" : {
@@ -41,7 +41,7 @@
"200" : {
"description" : "successful operation",
"schema" : {
- "$ref" : "#/definitions/HealthCheckAllResult",
+ "$ref" : "#/definitions/HealthCheckAllResult"
}
},
"401" : {
@@ -63,7 +63,7 @@
"application/json" : "{\"status\":\"green\",\"elasticsearch\":{\"cluster_name\":\"SAG_EventDataStore\",\"status\":\"yellow\"},\"is\":{\"status\":\"green\",\"response_time_ms\":\"30\",\"diskspace\":{\"status\":\"up\"},\"memory\":{\"status\":\"up\",\"freemem\":\"501744736\"}},\"terracotta\":{\"status\":\"green\",\"nodes\":\"1\",\"healthy_nodes\":\"1\",\"response_time_ms\":\"2\"}}"
},
"schema" : {
- "$ref" : "#/definitions/HealthCheckEngineResult",
+ "$ref" : "#/definitions/HealthCheckEngineResult"
}
},
"401" : {
@@ -85,7 +85,7 @@
"application/json" : "{\"status\":\"green\",\"destinations\":[{\"type\":\"centrasite\",\"name\":\"centrasite\",\"status\":\"not configured\",\"response_time_ms\":\"0\"},{\"type\":\"centrasite\",\"name\":\"centrasite_snmp\",\"status\":\"not configured\",\"response_time_ms\":\"0\"},{\"type\":\"api_portal\",\"name\":\"api_portal\",\"status\":\"green\",\"response_time_ms\":\"687\"},{\"type\":\"snmp\",\"name\":\"snmp\",\"status\":\"green\",\"response_time_ms\":\"1\"}],\"external_accounts\":[{\"type\":\"service_registry\",\"name\":\"service_registry\",\"status\":\"green\",\"response_time_ms\":\"0\"}]}"
},
"schema" : {
- "$ref" : "#/definitions/HealthCheckExternalResult",
+ "$ref" : "#/definitions/HealthCheckExternalResult"
}
},
"401" : {
@@ -119,13 +119,13 @@
"type" : "object",
"properties" : {
"admin" : {
- "$ref" : "#/definitions/HealthCheckAdminResult",
+ "$ref" : "#/definitions/HealthCheckAdminResult"
},
"engine" : {
- "$ref" : "#/definitions/HealthCheckEngineResult",
+ "$ref" : "#/definitions/HealthCheckEngineResult"
},
"external" : {
- "$ref" : "#/definitions/HealthCheckExternalResult",
+ "$ref" : "#/definitions/HealthCheckExternalResult"
}
}
},
diff --git a/apigatewayservices/APIGatewayPortManagement.json b/apigatewayservices/APIGatewayPortManagement.json
index 18b46ee..7fea0d3 100644
--- a/apigatewayservices/APIGatewayPortManagement.json
+++ b/apigatewayservices/APIGatewayPortManagement.json
@@ -390,8 +390,54 @@
}
}
},
+ "post" : {
+ "description" : "The POST defines the access mode for an API Gateway port configuration",
+ "operationId" : "createAccessMode",
+ "consumes" : [ "application/json" ],
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "listenerKey",
+ "in" : "path",
+ "description" : "The listenerKey parameter uniquely identifies a port configuration within the WmRoot package.",
+ "required" : true,
+ "type" : "string"
+ },
+ {
+ "in" : "body",
+ "name" : "body",
+ "description" : "The request contains the access mode information.",
+ "required" : true,
+ "schema" : {
+ "$ref" : "#/definitions/AccessModeType"
+ }
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "description" : "Access mode information updated successfully. The response body holds the updated access mode information.",
+ "schema" : {
+ "$ref" : "#/definitions/AccessModeType"
+ }
+ },
+ "404" : {
+ "description" : "Resorce not found, the specified port configuration can be found in the WmRoot package.",
+ "schema" : {
+ "$ref" : "#/definitions/MessageWithPortReference"
+ }
+ },
+ "401" : {
+ "description" : "Authentication failed, the provided credentials are invalid or the user does not have the required privileges."
+ },
+ "500" : {
+ "description" : "Server error, the API Gateway encountered an internal error.",
+ "schema" : {
+ "$ref" : "#/definitions/MessageWithPortReference"
+ }
+ }
+ }
+ },
"put" : {
- "description" : "The PUT updates the access mode for an API Gateway port configuration",
+ "description" : "The PUT updates the services for the access mode for an API Gateway port configuration",
"operationId" : "updateAccessMode",
"consumes" : [ "application/json" ],
"produces" : [ "application/json" ],
@@ -405,10 +451,10 @@
{
"in" : "body",
"name" : "body",
- "description" : "The request contains the updated access mode information.",
+ "description" : "The request contains the updated services access mode information.",
"required" : true,
"schema" : {
- "$ref" : "#/definitions/AccessMode"
+ "$ref" : "#/definitions/AccessModeServices"
}
}
],
@@ -416,7 +462,7 @@
"200" : {
"description" : "Access mode information updated successfully. The response body holds the updated access mode information.",
"schema" : {
- "$ref" : "#/definitions/AccessMode"
+ "$ref" : "#/definitions/AccessModeServices"
}
},
"404" : {
@@ -453,7 +499,7 @@
{
"in" : "body",
"name" : "body",
- "description" : "The request contains the updated IP access mode information.",
+ "description" : "The request contains the IP access mode information.",
"required" : true,
"schema" : {
"$ref" : "#/definitions/IPAccessMode"
@@ -484,7 +530,53 @@
}
}
},
- "put" : {
+ "post" : {
+ "description" : "The POST creates the ipAccessMode for an API Gateway port configuration",
+ "operationId" : "createIPAccessMode",
+ "consumes" : [ "application/json" ],
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "listenerKey",
+ "in" : "path",
+ "description" : "The listenerKey parameter uniquely identifies a port configuration within the WmRoot package.",
+ "required" : true,
+ "type" : "string"
+ },
+ {
+ "in" : "body",
+ "name" : "body",
+ "description" : "The request contains the ip access mode type information.",
+ "required" : true,
+ "schema" : {
+ "$ref" : "#/definitions/IPAccessModeType"
+ }
+ }
+ ],
+ "responses" : {
+ "200" : {
+ "description" : "IP access mode information updated successfully. The response body holds the requested IP access mode.",
+ "schema" : {
+ "$ref" : "#/definitions/IPAccessModeType"
+ }
+ },
+ "404" : {
+ "description" : "Resorce not found, the specified port configuration can be found in the WmRoot package.",
+ "schema" : {
+ "$ref" : "#/definitions/MessageWithPortReference"
+ }
+ },
+ "401" : {
+ "description" : "Authentication failed, the provided credentials are invalid or the user does not have the required privileges."
+ },
+ "500" : {
+ "description" : "Server error, the API Gateway encountered an internal error.",
+ "schema" : {
+ "$ref" : "#/definitions/MessageWithPortReference"
+ }
+ }
+ }
+ },
+ "put" : {
"description" : "The PUT updates the ipAccessMode for an API Gateway port configuration",
"operationId" : "updatedIPAccessMode",
"consumes" : [ "application/json" ],
@@ -495,12 +587,22 @@
"description" : "The listenerKey parameter uniquely identifies a port configuration within the WmRoot package.",
"required" : true,
"type" : "string"
- } ],
+ } ,
+ {
+ "in" : "body",
+ "name" : "body",
+ "description" : "The request contains update the ip access mode hosts list information.",
+ "required" : true,
+ "schema" : {
+ "$ref" : "#/definitions/IPAccessModeHostsList"
+ }
+ }
+ ],
"responses" : {
"200" : {
"description" : "IP access mode information updated successfully. The response body holds the requested IP access mode.",
"schema" : {
- "$ref" : "#/definitions/Port"
+ "$ref" : "#/definitions/IPAccessModeHostsList"
}
},
"404" : {
@@ -680,30 +782,62 @@
"AccessMode" : {
"type": "object",
"properties" : {
- "services": {
+ "accessModeSevices": {
+ "$ref" : "#/definitions/AccessModeServices"
+ },
+ "accessModeType": {
+ "$ref" : "#/definitions/AccessModeType"
+ }
+ }
+ },
+ "AccessModeType": {
+ "type": "object",
+ "properties" : {
+ "accessMode": {
+ "type" : "string"
+ }
+ }
+ },
+ "AccessModeServices": {
+ "type": "object",
+ "properties" : {
+ "services": {
"type" : "array",
"items" : {
"type" : "string"
}
- },
- "accessMode": {
- "type" : "string"
}
- }
- },
+ }
+ },
"IPAccessMode" : {
"type": "object",
"properties" : {
+ "ipAccessModeType": {
+ "$ref" : "#/definitions/IPAccessModeType"
+ },
+ "ipAccessModeHostsList": {
+ "$ref" : "#/definitions/IPAccessModeHostsList"
+ }
+ }
+ },
+ "IPAccessModeType" : {
+ "type": "object",
+ "properties" : {
"ipAccessType": {
"type" : "string"
- },
- "hostsList": {
+ }
+ }
+ },
+ "IPAccessModeHostsList" : {
+ "type": "object",
+ "properties" : {
+ "hostsList": {
"type" : "array",
"items" : {
"type" : "string"
}
}
- }
+ }
}
}
}
\ No newline at end of file
diff --git a/apigatewayservices/APIGatewaySearch.json b/apigatewayservices/APIGatewaySearch.json
index b536fc5..57bbfb8 100644
--- a/apigatewayservices/APIGatewaySearch.json
+++ b/apigatewayservices/APIGatewaySearch.json
@@ -216,7 +216,10 @@
"required" : [ "types" ],
"properties" : {
"aggregations" : {
- "$ref" : "#/definitions/IAggregation"
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/IAggregation"
+ }
},
"condition" : {
"type" : "string",
@@ -240,7 +243,10 @@
}
},
"scope" : {
- "$ref" : "#/definitions/SearchField"
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/SearchField"
+ }
},
"size" : {
"type" : "integer",
@@ -264,9 +270,12 @@
}
},
"types" : {
- "type" : "string",
+ "type" : "array",
"description" : "List of allowed types that can be searched across API Gateway.",
- "enum" : [ "USER", "GROUP", "USERS", "GROUPS", "ACCESSPROFILES", "LDAPGROUPS", "CDSGROUPS", "ASSERTION", "APPLICATION", "API", "ALIAS", "POLICY", "POLICY_ACTION", "PLAN", "PACKAGE", "ADMINISTRATOR_SETTING", "PORTAL_GATEWAY", "OAUTH2_SCOPE_DATA", "SUBSCRIPTION", "API_DOCUMENT", "APPROVAL_CONFIGURATION", "OUTBOUND_PROXY", "PROXY_BYPASS", "URL_ALIAS", "KEYSTORE", "TRUSTSTORE", "KERBEROS_SETTING", "JNDI_PROVIDER_ALIAS", "JMS_CONNECTION_ALIAS", "JMS_TRIGGER", "WEB_SERVICE_ENDPOINT_ALIAS", "ACCESS_CONTROL_LIST", "RULE", "MICROGATEWAY_GROUPS", "GATEWAY_SCOPE", "OAUTH2MATERIALIZEDTOKEN", "TRANSACTION_EVENTS", "LIFECYCLE_EVENTS", "POLICYVIOLATION_EVENTS", "MONITOR_EVENTS", "ERROR_EVENTS", "THREATPROTECTION_EVENTS", "PERFORMANCE_METRICS", "QUOTA_USAGE", "DASHBOARD", "AUDIT_LOG", "REQUEST_RESPONSE_TRACE_SPANS", "APPLICATION_LOG", "MEDIATOR_TRACE_SPANS", "SERVER_LOG_TRACE_SPANS" ]
+ "items" : {
+ "type" : "string",
+ "enum" : [ "USER", "GROUP", "USERS", "GROUPS", "ACCESSPROFILES", "LDAPGROUPS", "CDSGROUPS", "ASSERTION", "APPLICATION", "API", "ALIAS", "POLICY", "POLICY_ACTION", "PLAN", "PACKAGE", "ADMINISTRATOR_SETTING", "PORTAL_GATEWAY", "OAUTH2_SCOPE_DATA", "SUBSCRIPTION", "API_DOCUMENT", "APPROVAL_CONFIGURATION", "OUTBOUND_PROXY", "PROXY_BYPASS", "URL_ALIAS", "KEYSTORE", "TRUSTSTORE", "KERBEROS_SETTING", "JNDI_PROVIDER_ALIAS", "JMS_CONNECTION_ALIAS", "JMS_TRIGGER", "WEB_SERVICE_ENDPOINT_ALIAS", "ACCESS_CONTROL_LIST", "RULE", "MICROGATEWAY_GROUPS", "GATEWAY_SCOPE", "OAUTH2MATERIALIZEDTOKEN", "TRANSACTION_EVENTS", "LIFECYCLE_EVENTS", "POLICYVIOLATION_EVENTS", "MONITOR_EVENTS", "ERROR_EVENTS", "THREATPROTECTION_EVENTS", "PERFORMANCE_METRICS", "QUOTA_USAGE", "DASHBOARD", "AUDIT_LOG", "REQUEST_RESPONSE_TRACE_SPANS", "APPLICATION_LOG", "MEDIATOR_TRACE_SPANS", "SERVER_LOG_TRACE_SPANS" ]
+ }
}
},
"description" : "This defines the request structure to search across API Gateway"
@@ -332,4 +341,4 @@
} ]
}
}
-}
\ No newline at end of file
+}
diff --git a/apigatewayservices/APIGatewayServiceManagement.json b/apigatewayservices/APIGatewayServiceManagement.json
index 93de02a..f32e764 100644
--- a/apigatewayservices/APIGatewayServiceManagement.json
+++ b/apigatewayservices/APIGatewayServiceManagement.json
@@ -50,6 +50,20 @@
"description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "Returns the list of all APIs",
+ "examples" : {
+ "application/json" : "{\r\n \"apiResponse\": [\r\n {\r\n \"api\": {\r\n \"apiName\": \"ChuckNorrisAPI\",\r\n \"apiVersion\": \"v2\",\r\n \"apiDescription\": \"Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims about Norris' toughness, attitude, virility, sophistication, and masculinity.\",\r\n \"isActive\": false,\r\n \"type\": \"REST\",\r\n \"publishedPortals\": [],\r\n \"systemVersion\": 2,\r\n \"id\": \"46df4227-a100-486c-9580-0bf388ec6ec7\"\r\n },\r\n \"responseStatus\": \"SUCCESS\"\r\n },\r\n {\r\n \"api\": {\r\n \"apiName\": \"ChuckNorrisAPI\",\r\n \"apiVersion\": \"1.0\",\r\n \"apiDescription\": \"Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims about Norris' toughness, attitude, virility, sophistication, and masculinity.\",\r\n \"isActive\": false,\r\n \"type\": \"REST\",\r\n \"publishedPortals\": [],\r\n \"systemVersion\": 1,\r\n \"id\": \"25fb937a-8360-41ab-8be5-987b14fe631d\"\r\n },\r\n \"responseStatus\": \"SUCCESS\",\r\n \"teams\": [\r\n {\r\n \"id\": \"Administrators\",\r\n \"name\": \"Administrators\",\r\n \"canDelete\": \"false\"\r\n },\r\n {\r\n \"id\": \"Default\",\r\n \"name\": \"Default\",\r\n \"canDelete\": \"true\"\r\n }\r\n ]\r\n }\r\n ]\r\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/APIResponsesModel"
+ }
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -131,6 +145,23 @@
"description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "Returns the created API object",
+ "examples" : {
+ "application/json" : "{\r\n \"apiResponse\": {\r\n \"api\": {\r\n \"apiDefinition\": {\r\n \"type\": \"rest\",\r\n \"info\": {\r\n \"description\": \"Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims about Norris' toughness, attitude, virility, sophistication, and masculinity.\",\r\n \"version\": \"1.0\",\r\n \"title\": \"ChuckNorrisAPI\"\r\n },\r\n \"host\": \"api.chucknorris.io\",\r\n \"basePath\": \"/jokes\",\r\n \"schemes\": [\r\n \"https\"\r\n ],\r\n \"security\": [],\r\n \"paths\": {\r\n \"/random\": {\r\n \"get\": {\r\n \"summary\": \"GET\",\r\n \"description\": \"\",\r\n \"operationId\": \"GET\",\r\n \"produces\": [\r\n \"application/json\"\r\n ],\r\n \"responses\": {},\r\n \"enabled\": true\r\n },\r\n \"enabled\": true\r\n }\r\n },\r\n \"securityDefinitions\": {},\r\n \"definitions\": {},\r\n \"baseUriParameters\": [],\r\n \"externalDocs\": [],\r\n \"servers\": [\r\n {\r\n \"url\": \"https://api.chucknorris.io/jokes\"\r\n }\r\n ],\r\n \"components\": {\r\n \"schemas\": {}\r\n }\r\n },\r\n \"nativeEndpoint\": [\r\n {\r\n \"passSecurityHeaders\": true,\r\n \"uri\": \"https://api.chucknorris.io/jokes\",\r\n \"connectionTimeoutDuration\": 0,\r\n \"alias\": false\r\n }\r\n ],\r\n \"apiName\": \"ChuckNorris\",\r\n \"apiVersion\": \"1.0\",\r\n \"apiDescription\": \"Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims about Norris' toughness, attitude, virility, sophistication, and masculinity.\",\r\n \"maturityState\": \"Beta\",\r\n \"isActive\": false,\r\n \"type\": \"REST\",\r\n \"owner\": \"Administrator\",\r\n \"policies\": [\r\n \"08afbfa9-78e1-4c23-bb19-c0012464047e\"\r\n ],\r\n \"scopes\": [],\r\n \"publishedPortals\": [],\r\n \"creationDate\": \"2018-09-03 11:56:21 GMT\",\r\n \"systemVersion\": 1,\r\n \"id\": \"badc18e6-446f-4aa3-96cd-33e46bd40fb5\"\r\n },\r\n \"responseStatus\": \"SUCCESS\",\r\n \"versions\": [\r\n {\r\n \"versionNumber\": \"1.0\",\r\n \"apiId\": \"badc18e6-446f-4aa3-96cd-33e46bd40fb5\"\r\n }\r\n ],\r\n \"teams\": [\r\n {\r\n \"id\": \"Administrators\",\r\n \"name\": \"Administrators\",\r\n \"canDelete\": \"false\"\r\n },\r\n {\r\n \"id\": \"Default\",\r\n \"name\": \"Default\",\r\n \"canDelete\": \"true\"\r\n }\r\n ] }\r\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/APIResponseCreate"
+ }
+ },
+ "400" : {
+ "description" : "This status code shows when the user missed the mandatory fields like type, file/url/apiDefinition in the request or provide a invalid request body"
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -175,6 +206,26 @@
"description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "Returns the apiId along with the error when unsuccessful",
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/APIResponseDelete"
+ }
+ }
+ },
+ "204" : {
+ "description" : "Success"
+ },
+ "400" : {
+ "description" : "This response code returns when the mandatory parameter apiIds is missing in the query parameter"
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -224,6 +275,23 @@
"description" : "This status code indicates that the apiId specified is not found in the API Gateway"
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "If the format is swagger, returns the swagger content in json and raml returns the raml content in yaml. If the format is openapi, returns the open api content in json. If the format is odata, you get a zip file holding the OData metadata and service document.",
+ "examples" : {
+ "application/json" : "{\r\n \"apiResponse\": {\r\n \"api\": {\r\n \"apiDefinition\": {\r\n \"type\": \"rest\",\r\n \"info\": {\r\n \"description\": \"Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims about Norris' toughness, attitude, virility, sophistication, and masculinity.\",\r\n \"version\": \"1.0\",\r\n \"title\": \"ChuckNorrisAPI\"\r\n },\r\n \"host\": \"api.chucknorris.io\",\r\n \"basePath\": \"/jokes\",\r\n \"schemes\": [\r\n \"https\"\r\n ],\r\n \"security\": [],\r\n \"paths\": {\r\n \"/random\": {\r\n \"get\": {\r\n \"summary\": \"GET\",\r\n \"description\": \"\",\r\n \"operationId\": \"GET\",\r\n \"produces\": [\r\n \"application/json\"\r\n ],\r\n \"responses\": {},\r\n \"enabled\": true\r\n },\r\n \"enabled\": true\r\n }\r\n },\r\n \"securityDefinitions\": {},\r\n \"definitions\": {},\r\n \"baseUriParameters\": [],\r\n \"externalDocs\": [],\r\n \"servers\": [\r\n {\r\n \"url\": \"https://api.chucknorris.io/jokes\"\r\n }\r\n ],\r\n \"components\": {\r\n \"schemas\": {}\r\n }\r\n },\r\n \"nativeEndpoint\": [\r\n {\r\n \"passSecurityHeaders\": true,\r\n \"uri\": \"https://api.chucknorris.io/jokes\",\r\n \"connectionTimeoutDuration\": 0,\r\n \"alias\": false\r\n }\r\n ],\r\n \"apiName\": \"ChuckNorris\",\r\n \"apiVersion\": \"1.0\",\r\n \"apiDescription\": \"Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims about Norris' toughness, attitude, virility, sophistication, and masculinity.\",\r\n \"maturityState\": \"Beta\",\r\n \"isActive\": false,\r\n \"type\": \"REST\",\r\n \"owner\": \"Administrator\",\r\n \"policies\": [\r\n \"08afbfa9-78e1-4c23-bb19-c0012464047e\"\r\n ],\r\n \"scopes\": [],\r\n \"publishedPortals\": [],\r\n \"creationDate\": \"2018-09-03 11:56:21 GMT\",\r\n \"systemVersion\": 1,\r\n \"id\": \"badc18e6-446f-4aa3-96cd-33e46bd40fb5\"\r\n },\r\n \"responseStatus\": \"SUCCESS\",\r\n \"versions\": [\r\n {\r\n \"versionNumber\": \"1.0\",\r\n \"apiId\": \"badc18e6-446f-4aa3-96cd-33e46bd40fb5\"\r\n \r\n }\r\n ],\r\n \"teams\": [\r\n {\r\n \"id\": \"Administrators\",\r\n \"name\": \"Administrators\",\r\n \"canDelete\": \"false\"\r\n },\r\n {\r\n \"id\": \"Default\",\r\n \"name\": \"Default\",\r\n \"canDelete\": \"true\"\r\n }\r\n ] }\r\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/APIResponseGetAPI"
+ }
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that the apiId specified is not found in the API Gateway"
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -240,6 +308,14 @@
"required" : true,
"type" : "string",
"x-example" : "353bd366-47d4-4703-aecf-9cb40cdcc864"
+ }, {
+ "name" : "overwriteTags",
+ "in" : "query",
+ "description" : "When an API is updated using a URL / file, the existing tags will be overwritten if this value is true.",
+ "required" : false,
+ "type" : "boolean",
+ "default" : false,
+ "x-example" : true
}, {
"name" : "file",
"in" : "formData",
@@ -315,6 +391,26 @@
"description" : "This status code indicates that the apiId specified is not found in the API Gateway"
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "Returns the updated API object",
+ "examples" : {
+ "application/json" : "{\r\n \"apiResponse\": {\r\n \"api\": {\r\n \"apiDefinition\": {\r\n \"type\": \"rest\",\r\n \"info\": {\r\n \"description\": \"Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims about Norris' toughness, attitude, virility, sophistication, and masculinity.\",\r\n \"version\": \"1.0\",\r\n \"title\": \"ChuckNorrisAPI\"\r\n },\r\n \"host\": \"api.chucknorris.io\",\r\n \"basePath\": \"/jokes\",\r\n \"schemes\": [\r\n \"https\"\r\n ],\r\n \"security\": [],\r\n \"paths\": {\r\n \"/random\": {\r\n \"get\": {\r\n \"summary\": \"GET\",\r\n \"description\": \"\",\r\n \"operationId\": \"GET\",\r\n \"produces\": [\r\n \"application/json\"\r\n ],\r\n \"responses\": {},\r\n \"enabled\": true\r\n },\r\n \"enabled\": true\r\n }\r\n },\r\n \"securityDefinitions\": {},\r\n \"definitions\": {},\r\n \"baseUriParameters\": [],\r\n \"externalDocs\": [],\r\n \"servers\": [\r\n {\r\n \"url\": \"https://api.chucknorris.io/jokes\"\r\n }\r\n ],\r\n \"components\": {\r\n \"schemas\": {}\r\n }\r\n },\r\n \"nativeEndpoint\": [\r\n {\r\n \"passSecurityHeaders\": true,\r\n \"uri\": \"https://api.chucknorris.io/jokes\",\r\n \"connectionTimeoutDuration\": 0,\r\n \"alias\": false\r\n }\r\n ],\r\n \"apiName\": \"ChuckNorris\",\r\n \"apiVersion\": \"1.0\",\r\n \"apiDescription\": \"Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims about Norris' toughness, attitude, virility, sophistication, and masculinity.\",\r\n \"maturityState\": \"Beta\",\r\n \"isActive\": false,\r\n \"type\": \"REST\",\r\n \"owner\": \"Administrator\",\r\n \"policies\": [\r\n \"08afbfa9-78e1-4c23-bb19-c0012464047e\"\r\n ],\r\n \"scopes\": [],\r\n \"publishedPortals\": [],\r\n \"creationDate\": \"2018-09-03 11:56:21 GMT\",\r\n \"systemVersion\": 1,\r\n \"id\": \"badc18e6-446f-4aa3-96cd-33e46bd40fb5\"\r\n },\r\n \"responseStatus\": \"SUCCESS\",\r\n \"versions\": [\r\n {\r\n \"versionNumber\": \"1.0\",\r\n \"apiId\": \"badc18e6-446f-4aa3-96cd-33e46bd40fb5\"\r\n }\r\n ]\r\n }\r\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/APIResponseCreate"
+ }
+ },
+ "400" : {
+ "description" : "This status code shows when the user missed the mandatory fields like type, file/url/apiDefinition in the request or provide a invalid request body"
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that the apiId specified is not found in the API Gateway"
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -358,6 +454,26 @@
"description" : "This status code indicates that the apiId specified is not found in the API Gateway"
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "Returns the apiId along with the error when unsuccessful",
+ "schema" : {
+ "$ref" : "#/definitions/APIResponseDelete"
+ }
+ },
+ "204" : {
+ "description" : "Success"
+ },
+ "400" : {
+ "description" : "This response code returns when the deleted API is published to API portal or in active state"
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API"
+ },
+ "404" : {
+ "description" : "This status code indicates that the apiId specified is not found in the API Gateway"
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -396,6 +512,26 @@
"description" : "This status code indicates that the apiId specified is not found in the API Gateway"
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "Returns the API object after successful activation",
+ "examples" : {
+ "application/json" : "{\r\n \"apiResponse\": {\r\n \"api\": {\r\n \"apiDefinition\": {\r\n \"type\": \"rest\",\r\n \"info\": {\r\n \"description\": \"Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims about Norris' toughness, attitude, virility, sophistication, and masculinity.\",\r\n \"version\": \"1.0\",\r\n \"title\": \"ChuckNorrisAPI\"\r\n },\r\n \"host\": \"api.chucknorris.io\",\r\n \"basePath\": \"/jokes\",\r\n \"schemes\": [\r\n \"https\"\r\n ],\r\n \"security\": [],\r\n \"paths\": {\r\n \"/random\": {\r\n \"get\": {\r\n \"summary\": \"GET\",\r\n \"description\": \"\",\r\n \"operationId\": \"GET\",\r\n \"produces\": [\r\n \"application/json\"\r\n ],\r\n \"responses\": {},\r\n \"enabled\": true\r\n },\r\n \"enabled\": true\r\n }\r\n },\r\n \"securityDefinitions\": {},\r\n \"definitions\": {},\r\n \"baseUriParameters\": [],\r\n \"externalDocs\": [],\r\n \"servers\": [\r\n {\r\n \"url\": \"https://api.chucknorris.io/jokes\"\r\n }\r\n ],\r\n \"components\": {\r\n \"schemas\": {}\r\n }\r\n },\r\n \"nativeEndpoint\": [\r\n {\r\n \"passSecurityHeaders\": true,\r\n \"uri\": \"https://api.chucknorris.io/jokes\",\r\n \"connectionTimeoutDuration\": 0,\r\n \"alias\": false\r\n }\r\n ],\r\n \"apiName\": \"ChuckNorris\",\r\n \"apiVersion\": \"1.0\",\r\n \"apiDescription\": \"Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims about Norris' toughness, attitude, virility, sophistication, and masculinity.\",\r\n \"maturityState\": \"Beta\",\r\n \"isActive\": false,\r\n \"type\": \"REST\",\r\n \"owner\": \"Administrator\",\r\n \"policies\": [\r\n \"08afbfa9-78e1-4c23-bb19-c0012464047e\"\r\n ],\r\n \"scopes\": [],\r\n \"publishedPortals\": [],\r\n \"creationDate\": \"2018-09-03 11:56:21 GMT\",\r\n \"systemVersion\": 1,\r\n \"id\": \"badc18e6-446f-4aa3-96cd-33e46bd40fb5\"\r\n },\r\n \"responseStatus\": \"SUCCESS\",\r\n \"versions\": [\r\n {\r\n \"versionNumber\": \"1.0\",\r\n \"apiId\": \"badc18e6-446f-4aa3-96cd-33e46bd40fb5\"\r\n }\r\n ]\r\n }\r\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/APIResponse"
+ }
+ },
+ "400" : {
+ "description" : "This status code shows when the API is already in activated state or when no operations/resources are present or none are enabled"
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that the apiId specified is not found in the API Gateway"
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -421,10 +557,24 @@
"application/json" : "{\r\n \"applications\": [\r\n {\r\n \"name\": \"app1\",\r\n \"description\": null,\r\n \"contactEmails\": [],\r\n \"identifiers\": [],\r\n \"siteURLs\": [],\r\n \"version\": \"1.0\",\r\n \"id\": \"ae48cd69-421e-4bdf-a4d0-e86996a78f68\",\r\n \"created\": \"2017-03-13 13:12:03 GMT\",\r\n \"lastupdated\": null,\r\n \"consumingAPIs\": [\r\n \"25fb937a-8360-41ab-8be5-987b14fe631d\"\r\n ],\r\n \"accessTokens\": {\r\n \"apiAccessKey_credentials\": {\r\n \"apiAccessKey\": \"cec4b46b-3569-4f73-a561-172dd67c182a\",\r\n \"expirationInterval\": null\r\n },\r\n \"oauth_credentials\": {\r\n \"clientID\": \"40b78ed3-d171-4bd3-99db-51dd2fa71753\",\r\n \"clientSecret\": \"024b9525-6526-45c8-a66c-d192442064e1\",\r\n \"clientName\": \"app1-6b753c2a-0567-462d-a4ea-1b143ab7a381\",\r\n \"scopes\": [\r\n \"25fb937a-8360-41ab-8be5-987b14fe631d\"\r\n ],\r\n \"token_lifetime\": \"3600\",\r\n \"token_refresh_limit\": \"0\",\r\n \"redirect_uris\": [\r\n \"https://placeholder_redirect_uri\"\r\n ],\r\n \"Type\": \"confidential\"\r\n }\r\n }\r\n }\r\n ]\r\n}"
},
"schema" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/Application"
- }
+ "$ref" : "#/definitions/ApplicationList"
+ }
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that the apiId specified is not found in the API Gateway"
+ }
+ },
+ "responsesObject" : {
+ "200" : {
+ "description" : "Returns the list of associated applications",
+ "examples" : {
+ "application/json" : "{\r\n \"applications\": [\r\n {\r\n \"name\": \"app1\",\r\n \"description\": null,\r\n \"contactEmails\": [],\r\n \"identifiers\": [],\r\n \"siteURLs\": [],\r\n \"version\": \"1.0\",\r\n \"id\": \"ae48cd69-421e-4bdf-a4d0-e86996a78f68\",\r\n \"created\": \"2017-03-13 13:12:03 GMT\",\r\n \"lastupdated\": null,\r\n \"consumingAPIs\": [\r\n \"25fb937a-8360-41ab-8be5-987b14fe631d\"\r\n ],\r\n \"accessTokens\": {\r\n \"apiAccessKey_credentials\": {\r\n \"apiAccessKey\": \"cec4b46b-3569-4f73-a561-172dd67c182a\",\r\n \"expirationInterval\": null\r\n },\r\n \"oauth_credentials\": {\r\n \"clientID\": \"40b78ed3-d171-4bd3-99db-51dd2fa71753\",\r\n \"clientSecret\": \"024b9525-6526-45c8-a66c-d192442064e1\",\r\n \"clientName\": \"app1-6b753c2a-0567-462d-a4ea-1b143ab7a381\",\r\n \"scopes\": [\r\n \"25fb937a-8360-41ab-8be5-987b14fe631d\"\r\n ],\r\n \"token_lifetime\": \"3600\",\r\n \"token_refresh_limit\": \"0\",\r\n \"redirect_uris\": [\r\n \"https://placeholder_redirect_uri\"\r\n ],\r\n \"Type\": \"confidential\"\r\n }\r\n }\r\n }\r\n ]\r\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/ApplicationList"
}
},
"401" : {
@@ -472,6 +622,26 @@
"description" : "This status code indicates that the apiId specified is not found in the API Gateway"
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "Returns the API object after successful deactivation",
+ "examples" : {
+ "application/json" : "{\r\n \"apiResponse\": {\r\n \"api\": {\r\n \"apiDefinition\": {\r\n \"type\": \"rest\",\r\n \"info\": {\r\n \"description\": \"Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims about Norris' toughness, attitude, virility, sophistication, and masculinity.\",\r\n \"version\": \"1.0\",\r\n \"title\": \"ChuckNorrisAPI\"\r\n },\r\n \"host\": \"api.chucknorris.io\",\r\n \"basePath\": \"/jokes\",\r\n \"schemes\": [\r\n \"https\"\r\n ],\r\n \"security\": [],\r\n \"paths\": {\r\n \"/random\": {\r\n \"get\": {\r\n \"summary\": \"GET\",\r\n \"description\": \"\",\r\n \"operationId\": \"GET\",\r\n \"produces\": [\r\n \"application/json\"\r\n ],\r\n \"responses\": {},\r\n \"enabled\": true\r\n },\r\n \"enabled\": true\r\n }\r\n },\r\n \"securityDefinitions\": {},\r\n \"definitions\": {},\r\n \"baseUriParameters\": [],\r\n \"externalDocs\": [],\r\n \"servers\": [\r\n {\r\n \"url\": \"https://api.chucknorris.io/jokes\"\r\n }\r\n ],\r\n \"components\": {\r\n \"schemas\": {}\r\n }\r\n },\r\n \"nativeEndpoint\": [\r\n {\r\n \"passSecurityHeaders\": true,\r\n \"uri\": \"https://api.chucknorris.io/jokes\",\r\n \"connectionTimeoutDuration\": 0,\r\n \"alias\": false\r\n }\r\n ],\r\n \"apiName\": \"ChuckNorris\",\r\n \"apiVersion\": \"1.0\",\r\n \"apiDescription\": \"Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims about Norris' toughness, attitude, virility, sophistication, and masculinity.\",\r\n \"maturityState\": \"Beta\",\r\n \"isActive\": false,\r\n \"type\": \"REST\",\r\n \"owner\": \"Administrator\",\r\n \"policies\": [\r\n \"08afbfa9-78e1-4c23-bb19-c0012464047e\"\r\n ],\r\n \"scopes\": [],\r\n \"publishedPortals\": [],\r\n \"creationDate\": \"2018-09-03 11:56:21 GMT\",\r\n \"systemVersion\": 1,\r\n \"id\": \"badc18e6-446f-4aa3-96cd-33e46bd40fb5\"\r\n },\r\n \"responseStatus\": \"SUCCESS\",\r\n \"versions\": [\r\n {\r\n \"versionNumber\": \"1.0\",\r\n \"apiId\": \"badc18e6-446f-4aa3-96cd-33e46bd40fb5\"\r\n }\r\n ]\r\n }\r\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/APIResponse"
+ }
+ },
+ "400" : {
+ "description" : "This status code shows when the API is already in de-activated state"
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that the apiId specified is not found in the API Gateway"
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -519,6 +689,23 @@
"description" : "This status code indicates that the apiId specified is not found in the API Gateway"
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "Returns status of the operation along with request payload",
+ "schema" : {
+ "$ref" : "#/definitions/APIResponse"
+ }
+ },
+ "400" : {
+ "description" : "This status code shows when the user provide an invalid request body"
+ },
+ "401" : {
+ "description" : ""
+ },
+ "404" : {
+ "description" : "This status code indicates that the apiId specified is not found in the API Gateway"
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -554,6 +741,23 @@
"description" : "This status code indicates that the apiId specified is not found in the API Gateway"
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "Returns the list of global policy names",
+ "examples" : {
+ "application/json" : "{\r\n \"globalPolicies\": [\r\n \"GlobalLogInvocationPolicy\"\r\n ]\r\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/APIResponseGetGlobalPolicies"
+ }
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that the apiId specified is not found in the API Gateway"
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -601,6 +805,23 @@
"description" : "This status code indicates that the apiId specified is not found in the API Gateway"
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "Returns the updated API object",
+ "schema" : {
+ "$ref" : "#/definitions/APIResponse"
+ }
+ },
+ "400" : {
+ "description" : "This status code shows when the user missed the mandatory fields like type, file/url/apiDefinition in the request or provide a invalid request body"
+ },
+ "401" : {
+ "description" : ""
+ },
+ "404" : {
+ "description" : "This status code indicates that the apiId specified is not found in the API Gateway"
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -639,6 +860,26 @@
"description" : "This status code indicates that the apiId specified is not found in the API Gateway"
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "Returns the API object after successful disabling mocking of an API",
+ "examples" : {
+ "application/json" : "{\r\n \"apiResponse\": {\r\n \"api\": {\r\n \"apiDefinition\": {\r\n \"type\": \"rest\",\r\n \"info\": {\r\n \"description\": \"API to demonstrate mocking functionality in international developers day\",\r\n \"version\": \"v1\",\r\n \"title\": \"API_MOCKING\"\r\n },\r\n \"host\": \"localhost\",\r\n \"schemes\": [\r\n \"http\"\r\n ],\r\n \"consumes\": [\r\n \"application/json\"\r\n ],\r\n \"security\": [],\r\n \"paths\": {\r\n \"/conditionBasedMockedResponse\": {\r\n \"post\": {\r\n \"summary\": \"Configure condition and mocked response\",\r\n \"operationId\": \"conditionBasedMockedResponse\",\r\n \"produces\": [\r\n \"text/plain\"\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"200 response\",\r\n \"content\": {\r\n \"text/plain\": {\r\n \"example\": \"No condition evaluates to true. \\nSo API-Gateway sent this default response.\"\r\n }\r\n }\r\n }\r\n },\r\n \"mockedResponses\": {\r\n \"200\": {\r\n \"responseBody\": {\r\n \"text/plain\": \"No condition evaluates to true. \\nSo API-Gateway sent this default response.\"\r\n }\r\n }\r\n },\r\n \"enabled\": true\r\n },\r\n \"parameters\": [],\r\n \"displayName\": \"/conditionBasedMockedResponse\",\r\n \"enabled\": true\r\n },\r\n \"/customESBMockedResponse\": {\r\n \"post\": {\r\n \"summary\": \"Configure custom ESB mocked response\",\r\n \"operationId\": \"customESBMockedResponse\",\r\n \"produces\": [\r\n \"application/json\"\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"200 response\"\r\n }\r\n },\r\n \"mockedResponses\": {\r\n \"200\": {\r\n \"responseBody\": {\r\n \"application/json\": \"\"\r\n }\r\n }\r\n },\r\n \"enabled\": true\r\n },\r\n \"parameters\": [],\r\n \"displayName\": \"/customESBMockedResponse\",\r\n \"enabled\": true\r\n },\r\n \"/dynamicMockedResponse\": {\r\n \"post\": {\r\n \"summary\": \"Dynamic mocked response set\",\r\n \"operationId\": \"dynamicMockedResponse\",\r\n \"produces\": [\r\n \"application/json\"\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"200 response\"\r\n }\r\n },\r\n \"mockedResponses\": {\r\n \"200\": {\r\n \"responseBody\": {\r\n \"application/json\": \"\"\r\n }\r\n }\r\n },\r\n \"enabled\": true\r\n },\r\n \"parameters\": [],\r\n \"displayName\": \"/dynamicMockedResponse\",\r\n \"enabled\": true\r\n },\r\n \"/staticMockedResponse\": {\r\n \"post\": {\r\n \"summary\": \"Default mocked response from example\",\r\n \"operationId\": \"generateFromExample\",\r\n \"produces\": [\r\n \"application/json\",\r\n \"application/xml\"\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"200 response generated from example\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"example\": \"{\\\"resource\\\" : \\\"/generateFromExample\\\",\\\"description\\\" : \\\"Default mocked response from example for status code 200\\\"}\"\r\n },\r\n \"application/xml\": {\r\n \"example\": \"/generateFromExampleDefault mocked response from example for status code 200\"\r\n }\r\n }\r\n },\r\n \"201\": {\r\n \"description\": \"201 response generated from schema\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/Pet\"\r\n }\r\n },\r\n \"application/xml\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/Pet\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"mockedResponses\": {\r\n \"200\": {\r\n \"responseBody\": {\r\n \"application/json\": \"{\\\"resource\\\" : \\\"/generateFromExample\\\",\\\"description\\\" : \\\"Default mocked response from example for status code 200\\\"}\",\r\n \"application/xml\": \"/generateFromExampleDefault mocked response from example for status code 200\"\r\n }\r\n },\r\n \"201\": {\r\n \"responseBody\": {\r\n \"application/json\": \"{\\\"birthday\\\":2059397944,\\\"name\\\":\\\"\\\"}\",\r\n \"application/xml\": \"921604684\"\r\n }\r\n }\r\n },\r\n \"enabled\": true\r\n },\r\n \"parameters\": [],\r\n \"displayName\": \"/staticMockedResponse\",\r\n \"enabled\": true\r\n }\r\n },\r\n \"securityDefinitions\": {},\r\n \"definitions\": {},\r\n \"baseUriParameters\": [],\r\n \"externalDocs\": [],\r\n \"servers\": [\r\n {\r\n \"url\": \"http://localhost\"\r\n }\r\n ],\r\n \"components\": {\r\n \"schemas\": {\r\n \"Pet\": {\r\n \"required\": [\r\n \"name\"\r\n ],\r\n \"type\": \"object\",\r\n \"properties\": {\r\n \"birthday\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"name\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"nativeEndpoint\": [\r\n {\r\n \"passSecurityHeaders\": true,\r\n \"uri\": \"http://localhost\",\r\n \"connectionTimeoutDuration\": 0,\r\n \"alias\": false\r\n }\r\n ],\r\n \"apiName\": \"APIMocking\",\r\n \"apiVersion\": \"v1\",\r\n \"apiDescription\": \"API to demonstrate mocking functionality in international developers day\",\r\n \"maturityState\": \"Beta\",\r\n \"isActive\": false,\r\n \"type\": \"REST\",\r\n \"owner\": \"Administrator\",\r\n \"policies\": [\r\n \"19773e29-2838-4efc-aa04-793b48f4d22b\"\r\n ],\r\n \"scopes\": [],\r\n \"publishedPortals\": [],\r\n \"creationDate\": \"2018-11-01 13:44:58 GMT\",\r\n \"systemVersion\": 1,\r\n \"mockService\": {\r\n \"enableMock\": false\r\n },\r\n \"id\": \"afd8eb5e-bba8-447b-8e28-76aac23ba074\"\r\n },\r\n \"responseStatus\": \"SUCCESS\",\r\n \"versions\": [\r\n {\r\n \"versionNumber\": \"v1\",\r\n \"apiId\": \"afd8eb5e-bba8-447b-8e28-76aac23ba074\"\r\n }\r\n ]\r\n }\r\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/APIResponse"
+ }
+ },
+ "400" : {
+ "description" : "This status code shows when the API is already in activated state or in mocked state"
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that the apiId specified is not found in the API Gateway"
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -685,6 +926,78 @@
"description" : "This status code indicates that the apiId specified is not found in the API Gateway"
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "Returns the API object after successfully enabling mocking of an API",
+ "examples" : {
+ "application/json" : "{\r\n \"apiResponse\": {\r\n \"api\": {\r\n \"apiDefinition\": {\r\n \"type\": \"rest\",\r\n \"info\": {\r\n \"description\": \"API to demonstrate mocking functionality in international developers day\",\r\n \"version\": \"v1\",\r\n \"title\": \"API_MOCKING\"\r\n },\r\n \"host\": \"localhost\",\r\n \"schemes\": [\r\n \"http\"\r\n ],\r\n \"consumes\": [\r\n \"application/json\"\r\n ],\r\n \"security\": [],\r\n \"paths\": {\r\n \"/conditionBasedMockedResponse\": {\r\n \"post\": {\r\n \"summary\": \"Configure condition and mocked response\",\r\n \"operationId\": \"conditionBasedMockedResponse\",\r\n \"produces\": [\r\n \"text/plain\"\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"200 response\",\r\n \"content\": {\r\n \"text/plain\": {\r\n \"example\": \"No condition evaluates to true. \\nSo API-Gateway sent this default response.\"\r\n }\r\n }\r\n }\r\n },\r\n \"mockedResponses\": {\r\n \"200\": {\r\n \"responseBody\": {\r\n \"text/plain\": \"No condition evaluates to true. \\nSo API-Gateway sent this default response.\"\r\n }\r\n }\r\n },\r\n \"enabled\": true\r\n },\r\n \"parameters\": [],\r\n \"displayName\": \"/conditionBasedMockedResponse\",\r\n \"enabled\": true\r\n },\r\n \"/customESBMockedResponse\": {\r\n \"post\": {\r\n \"summary\": \"Configure custom ESB mocked response\",\r\n \"operationId\": \"customESBMockedResponse\",\r\n \"produces\": [\r\n \"application/json\"\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"200 response\"\r\n }\r\n },\r\n \"mockedResponses\": {\r\n \"200\": {\r\n \"responseBody\": {\r\n \"application/json\": \"\"\r\n }\r\n }\r\n },\r\n \"enabled\": true\r\n },\r\n \"parameters\": [],\r\n \"displayName\": \"/customESBMockedResponse\",\r\n \"enabled\": true\r\n },\r\n \"/dynamicMockedResponse\": {\r\n \"post\": {\r\n \"summary\": \"Dynamic mocked response set\",\r\n \"operationId\": \"dynamicMockedResponse\",\r\n \"produces\": [\r\n \"application/json\"\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"200 response\"\r\n }\r\n },\r\n \"mockedResponses\": {\r\n \"200\": {\r\n \"responseBody\": {\r\n \"application/json\": \"\"\r\n }\r\n }\r\n },\r\n \"enabled\": true\r\n },\r\n \"parameters\": [],\r\n \"displayName\": \"/dynamicMockedResponse\",\r\n \"enabled\": true\r\n },\r\n \"/staticMockedResponse\": {\r\n \"post\": {\r\n \"summary\": \"Default mocked response from example\",\r\n \"operationId\": \"generateFromExample\",\r\n \"produces\": [\r\n \"application/json\",\r\n \"application/xml\"\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"description\": \"200 response generated from example\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"example\": \"{\\\"resource\\\" : \\\"/generateFromExample\\\",\\\"description\\\" : \\\"Default mocked response from example for status code 200\\\"}\"\r\n },\r\n \"application/xml\": {\r\n \"example\": \"/generateFromExampleDefault mocked response from example for status code 200\"\r\n }\r\n }\r\n },\r\n \"201\": {\r\n \"description\": \"201 response generated from schema\",\r\n \"content\": {\r\n \"application/json\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/Pet\"\r\n }\r\n },\r\n \"application/xml\": {\r\n \"schema\": {\r\n \"$ref\": \"#/components/schemas/Pet\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"mockedResponses\": {\r\n \"200\": {\r\n \"responseBody\": {\r\n \"application/json\": \"{\\\"resource\\\" : \\\"/generateFromExample\\\",\\\"description\\\" : \\\"Default mocked response from example for status code 200\\\"}\",\r\n \"application/xml\": \"/generateFromExampleDefault mocked response from example for status code 200\"\r\n }\r\n },\r\n \"201\": {\r\n \"responseBody\": {\r\n \"application/json\": \"{\\\"birthday\\\":2059397944,\\\"name\\\":\\\"\\\"}\",\r\n \"application/xml\": \"921604684\"\r\n }\r\n }\r\n },\r\n \"enabled\": true\r\n },\r\n \"parameters\": [],\r\n \"displayName\": \"/staticMockedResponse\",\r\n \"enabled\": true\r\n }\r\n },\r\n \"securityDefinitions\": {},\r\n \"definitions\": {},\r\n \"baseUriParameters\": [],\r\n \"externalDocs\": [],\r\n \"servers\": [\r\n {\r\n \"url\": \"http://localhost\"\r\n }\r\n ],\r\n \"components\": {\r\n \"schemas\": {\r\n \"Pet\": {\r\n \"required\": [\r\n \"name\"\r\n ],\r\n \"type\": \"object\",\r\n \"properties\": {\r\n \"birthday\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int32\"\r\n },\r\n \"name\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"nativeEndpoint\": [\r\n {\r\n \"passSecurityHeaders\": true,\r\n \"uri\": \"http://localhost\",\r\n \"connectionTimeoutDuration\": 0,\r\n \"alias\": false\r\n }\r\n ],\r\n \"apiName\": \"APIMocking\",\r\n \"apiVersion\": \"v1\",\r\n \"apiDescription\": \"API to demonstrate mocking functionality in international developers day\",\r\n \"maturityState\": \"Beta\",\r\n \"isActive\": false,\r\n \"type\": \"REST\",\r\n \"owner\": \"Administrator\",\r\n \"policies\": [\r\n \"19773e29-2838-4efc-aa04-793b48f4d22b\"\r\n ],\r\n \"scopes\": [],\r\n \"publishedPortals\": [],\r\n \"creationDate\": \"2018-11-01 13:44:58 GMT\",\r\n \"systemVersion\": 1,\r\n \"mockService\": {\r\n \"enableMock\": true\r\n },\r\n \"id\": \"afd8eb5e-bba8-447b-8e28-76aac23ba074\"\r\n },\r\n \"responseStatus\": \"SUCCESS\",\r\n \"versions\": [\r\n {\r\n \"versionNumber\": \"v1\",\r\n \"apiId\": \"afd8eb5e-bba8-447b-8e28-76aac23ba074\"\r\n }\r\n ]\r\n }\r\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/APIResponse"
+ }
+ },
+ "400" : {
+ "description" : "This status code shows when the API is already in activated state or when invalid json or xml is provided in the example part of the operation"
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that the apiId specified is not found in the API Gateway"
+ }
+ },
+ "security" : [ {
+ "Basic" : [ ]
+ } ]
+ }
+ },
+ "/apis/{apiId}/packages" : {
+ "get" : {
+ "description" : "Retrieves the list of packages of an API",
+ "operationId" : "getPackagesForAPI",
+ "produces" : [ "application/json" ],
+ "parameters" : [ {
+ "name" : "apiId",
+ "in" : "path",
+ "description" : "API Id for the API to find the associated packages",
+ "required" : true,
+ "type" : "string",
+ "x-example" : "353bd366-47d4-4703-aecf-9cb40cdcc864"
+ } ],
+ "responses" : {
+ "200" : {
+ "description" : "Returns the list of associated packages",
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/Package"
+ }
+ }
+ },
+ "401" : {
+ "description" : ""
+ },
+ "404" : {
+ "description" : "This status code indicates that the apiId specified is not found in the API Gateway"
+ }
+ },
+ "responsesObject" : {
+ "200" : {
+ "description" : "Returns the list of associated packages",
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/Package"
+ }
+ }
+ },
+ "401" : {
+ "description" : ""
+ },
+ "404" : {
+ "description" : "This status code indicates that the apiId specified is not found in the API Gateway"
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -725,6 +1038,20 @@
"description" : "This status code indicates that the apiId specified is not found in the API Gateway"
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "If the format is swagger, returns the swagger content in json. If the format is wsdl, returns the wsdl content in xml. If the format is graphql, returns the GraphQL schema content in graphql",
+ "schema" : {
+ "$ref" : "#/definitions/APIResponseGetAPI"
+ }
+ },
+ "401" : {
+ "description" : ""
+ },
+ "404" : {
+ "description" : "This status code indicates that the apiId specified is not found in the API Gateway"
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -775,6 +1102,26 @@
"description" : "This status code indicates that the apiId specified is not found in the API Gateway"
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "Returns the API object after successful publish",
+ "examples" : {
+ "application/json" : "{\r\n \"apiResponse\": {\r\n \"api\": {\r\n \"apiDefinition\": {\r\n \"type\": \"rest\",\r\n \"info\": {\r\n \"vendorExtensions\": {},\r\n \"description\": \"Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims about Norris' toughness, attitude, virility, sophistication, and masculinity.\",\r\n \"version\": \"1.0\",\r\n \"title\": \"ChuckNorrisAPI\"\r\n },\r\n \"host\": \"api.chucknorris.io\",\r\n \"basePath\": \"/jokes\",\r\n \"schemes\": [\r\n \"https\"\r\n ],\r\n \"paths\": {\r\n \"/random\": {\r\n \"get\": {\r\n \"summary\": \"GET\",\r\n \"description\": \"\",\r\n \"operationId\": \"GET\",\r\n \"produces\": [\r\n \"application/json\"\r\n ],\r\n \"parameters\": [],\r\n \"responses\": {},\r\n \"enabled\": true\r\n },\r\n \"enabled\": true\r\n }\r\n },\r\n \"definitions\": {}\r\n },\r\n \"nativeEndpoint\": [\r\n {\r\n \"passSecurityHeaders\": true,\r\n \"uri\": \"https://api.chucknorris.io/jokes\",\r\n \"connectionTimeoutDuration\": 0,\r\n \"alias\": false\r\n }\r\n ],\r\n \"apiName\": \"ChuckNorrisAPI\",\r\n \"apiVersion\": \"1.0\",\r\n \"apiDescription\": \"Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims about Norris' toughness, attitude, virility, sophistication, and masculinity.\",\r\n \"maturityState\": \"Beta\",\r\n \"isActive\": false,\r\n \"type\": \"REST\",\r\n \"owner\": \"Administrator\",\r\n \"policies\": [\r\n \"879068cd-8628-4f2a-b903-4e6613ca12ba\"\r\n ],\r\n \"referencedFiles\": {\r\n \"ChuckNorrisAPI.json\": \"{\\r\\n \\\"swagger\\\": \\\"2.0\\\",\\r\\n \\\"info\\\": {\\r\\n \\\"description\\\": \\\"Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims about Norris' toughness, attitude, virility, sophistication, and masculinity.\\\",\\r\\n \\\"title\\\": \\\"ChuckNorrisAPI\\\",\\r\\n \\\"version\\\": \\\"1.0\\\"\\r\\n },\\r\\n \\\"host\\\": \\\"api.chucknorris.io\\\",\\r\\n \\\"basePath\\\": \\\"/jokes\\\",\\r\\n \\\"schemes\\\": [\\r\\n \\\"https\\\"\\r\\n ],\\r\\n \\\"paths\\\": {\\r\\n \\\"/random\\\": {\\r\\n \\\"get\\\": {\\r\\n \\\"summary\\\": \\\"GET\\\",\\r\\n \\\"deprecated\\\": false,\\r\\n \\\"produces\\\": [\\r\\n \\\"application/json\\\"\\r\\n ],\\r\\n \\\"description\\\": \\\"\\\",\\r\\n \\\"operationId\\\": \\\"GET\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n}\\r\\n\"\r\n },\r\n \"scopes\": [],\r\n \"publishedPortals\": [],\r\n \"creationDate\": \"2017-03-13 09:38:30 GMT\",\r\n \"systemVersion\": 1,\r\n \"id\": \"25fb937a-8360-41ab-8be5-987b14fe631d\",\r\n \"oauth2ScopeName\": \"25fb937a-8360-41ab-8be5-987b14fe631d\"\r\n },\r\n \"responseStatus\": \"SUCCESS\"\r\n }\r\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/APIResponseCreate"
+ }
+ },
+ "400" : {
+ "description" : "This status code shows when the user missed the mandatory portalGatewayId or invalid portalGatewayId in the request body"
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that the apiId specified is not found in the API Gateway"
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -800,10 +1147,24 @@
"application/json" : "{\r\n \"scopeReferences\": [\r\n {\r\n \"references\": [\r\n {\r\n \"resourcePath\": \"/random\",\r\n \"supportedOperations\": []\r\n }\r\n ],\r\n \"scope\": {\r\n \"name\": \"Get_Scopes\",\r\n \"description\": \"Dummy description of the scope\",\r\n \"policies\": [\r\n \"db1a42f4-e038-4a1b-82f4-8fee6fbd5687\"\r\n ]\r\n }\r\n }\r\n ]\r\n}"
},
"schema" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/ScopeResourceIndex"
- }
+ "$ref" : "#/definitions/ScopeReferences"
+ }
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that the apiId specified is not found in the API Gateway"
+ }
+ },
+ "responsesObject" : {
+ "200" : {
+ "description" : "Returns API scopes",
+ "examples" : {
+ "application/json" : "{\r\n \"scopeReferences\": [\r\n {\r\n \"references\": [\r\n {\r\n \"resourcePath\": \"/random\",\r\n \"supportedOperations\": []\r\n }\r\n ],\r\n \"scope\": {\r\n \"name\": \"Get_Scopes\",\r\n \"description\": \"Dummy description of the scope\",\r\n \"policies\": [\r\n \"db1a42f4-e038-4a1b-82f4-8fee6fbd5687\"\r\n ]\r\n }\r\n }\r\n ]\r\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/ScopeReferences"
}
},
"401" : {
@@ -845,10 +1206,24 @@
"application/json" : "{\r\n \"scopeReferences\": [\r\n {\r\n \"references\": [\r\n {\r\n \"resourcePath\": \"/random\",\r\n \"supportedOperations\": []\r\n }\r\n ],\r\n \"scope\": {\r\n \"name\": \"Get_Scopes\",\r\n \"description\": \"Dummy description of the scope\",\r\n \"policies\": [\r\n \"db1a42f4-e038-4a1b-82f4-8fee6fbd5687\"\r\n ]\r\n }\r\n }\r\n ]\r\n}"
},
"schema" : {
- "type" : "array",
- "items" : {
- "$ref" : "#/definitions/ScopeResourceIndex"
- }
+ "$ref" : "#/definitions/ScopeReferences"
+ }
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that the apiId specified is not found in the API Gateway or scopeName is not found in the list of scopes"
+ }
+ },
+ "responsesObject" : {
+ "200" : {
+ "description" : "Returns API scopes",
+ "examples" : {
+ "application/json" : "{\r\n \"scopeReferences\": [\r\n {\r\n \"references\": [\r\n {\r\n \"resourcePath\": \"/random\",\r\n \"supportedOperations\": []\r\n }\r\n ],\r\n \"scope\": {\r\n \"name\": \"Get_Scopes\",\r\n \"description\": \"Dummy description of the scope\",\r\n \"policies\": [\r\n \"db1a42f4-e038-4a1b-82f4-8fee6fbd5687\"\r\n ]\r\n }\r\n }\r\n ]\r\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/ScopeReferences"
}
},
"401" : {
@@ -899,6 +1274,29 @@
"description" : "This status code indicates that the apiId specified is not found in the API Gateway"
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "Returns the source files along with the root file name",
+ "examples" : {
+ "multipart/mixed" : "Message-ID: <296841806.5.1489555643275.JavaMail.MRIZ@MCMRIZ01>\r\nMIME-Version: 1.0\r\nContent-Type: multipart/mixed; \r\n\tboundary=\"----=_Part_4_1098332532.1489555643274\"\r\n\r\n------=_Part_4_1098332532.1489555643274\r\ncontent-type: application/zip\r\nContent-Disposition: attachment; filename=\"echoService.zip\"\r\n\r\nfile content in zip format\r\n------=_Part_4_1098332532.1489555643274\r\ncontent-type: text/plain\r\nContent-Disposition: inline; name=\"rootFileName\"\r\n\r\necho.wsdl\r\n------=_Part_4_1098332532.1489555643274--"
+ },
+ "schema" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/Multipart"
+ }
+ }
+ },
+ "400" : {
+ "description" : "This status code returns when the specified API is not a SOAP API"
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that the apiId specified is not found in the API Gateway"
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -937,6 +1335,26 @@
"description" : "This status code indicates that the apiId specified is not found in the API Gateway"
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "Returns the API object after disabling tracing for an API",
+ "examples" : {
+ "application/json" : "{\r\n \"apiDefinition\": {\r\n \"type\": \"rest\",\r\n \"info\": {\r\n \"description\": \"Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims about Norris' toughness, attitude, virility, sophistication, and masculinity.\",\r\n \"version\": \"1.0\",\r\n \"title\": \"ChuckNorrisAPI\"\r\n },\r\n \"host\": \"api.chucknorris.io\",\r\n \"basePath\": \"/jokes\",\r\n \"schemes\": [\r\n \"https\"\r\n ],\r\n \"security\": [],\r\n \"paths\": {\r\n \"/random\": {\r\n \"get\": {\r\n \"summary\": \"GET\",\r\n \"description\": \"\",\r\n \"operationId\": \"GET\",\r\n \"produces\": [\r\n \"application/json\"\r\n ],\r\n \"responses\": {},\r\n \"enabled\": true\r\n },\r\n \"enabled\": true\r\n }\r\n },\r\n \"securityDefinitions\": {},\r\n \"definitions\": {},\r\n \"baseUriParameters\": [],\r\n \"externalDocs\": [],\r\n \"servers\": [\r\n {\r\n \"url\": \"https://api.chucknorris.io/jokes\"\r\n }\r\n ],\r\n \"components\": {\r\n \"schemas\": {}\r\n }\r\n },\r\n \"nativeEndpoint\": [\r\n {\r\n \"passSecurityHeaders\": true,\r\n \"uri\": \"https://api.chucknorris.io/jokes\",\r\n \"connectionTimeoutDuration\": 0,\r\n \"alias\": false\r\n }\r\n ],\r\n \"apiName\": \"ChuckNorris\",\r\n \"apiVersion\": \"1.0\",\r\n \"apiDescription\": \"Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims about Norris' toughness, attitude, virility, sophistication, and masculinity.\",\r\n \"maturityState\": \"Beta\",\r\n \"isActive\": false,\r\n \"type\": \"REST\",\r\n \"owner\": \"Administrator\",\r\n \"policies\": [\r\n \"08afbfa9-78e1-4c23-bb19-c0012464047e\"\r\n ],\r\n \"scopes\": [],\r\n \"publishedPortals\": [],\r\n \"creationDate\": \"2018-09-03 11:56:21 GMT\",\r\n \"systemVersion\": 1,\r\n \"id\": \"badc18e6-446f-4aa3-96cd-33e46bd40fb5\",\r\n \"tracingEnabled\": \"false\" }"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/GatewayAPI"
+ }
+ },
+ "400" : {
+ "description" : "This status code shows when there is error while disabling tracing"
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that the apiId specified is not found in the API Gateway"
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -975,6 +1393,26 @@
"description" : "This status code indicates that the apiId specified is not found in the API Gateway"
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "Returns the API object after successfully enabling tracing",
+ "examples" : {
+ "application/json" : "{\r\n \"apiDefinition\": {\r\n \"type\": \"rest\",\r\n \"info\": {\r\n \"description\": \"Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims about Norris' toughness, attitude, virility, sophistication, and masculinity.\",\r\n \"version\": \"1.0\",\r\n \"title\": \"ChuckNorrisAPI\"\r\n },\r\n \"host\": \"api.chucknorris.io\",\r\n \"basePath\": \"/jokes\",\r\n \"schemes\": [\r\n \"https\"\r\n ],\r\n \"security\": [],\r\n \"paths\": {\r\n \"/random\": {\r\n \"get\": {\r\n \"summary\": \"GET\",\r\n \"description\": \"\",\r\n \"operationId\": \"GET\",\r\n \"produces\": [\r\n \"application/json\"\r\n ],\r\n \"responses\": {},\r\n \"enabled\": true\r\n },\r\n \"enabled\": true\r\n }\r\n },\r\n \"securityDefinitions\": {},\r\n \"definitions\": {},\r\n \"baseUriParameters\": [],\r\n \"externalDocs\": [],\r\n \"servers\": [\r\n {\r\n \"url\": \"https://api.chucknorris.io/jokes\"\r\n }\r\n ],\r\n \"components\": {\r\n \"schemas\": {}\r\n }\r\n },\r\n \"nativeEndpoint\": [\r\n {\r\n \"passSecurityHeaders\": true,\r\n \"uri\": \"https://api.chucknorris.io/jokes\",\r\n \"connectionTimeoutDuration\": 0,\r\n \"alias\": false\r\n }\r\n ],\r\n \"apiName\": \"ChuckNorris\",\r\n \"apiVersion\": \"1.0\",\r\n \"apiDescription\": \"Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims about Norris' toughness, attitude, virility, sophistication, and masculinity.\",\r\n \"maturityState\": \"Beta\",\r\n \"isActive\": false,\r\n \"type\": \"REST\",\r\n \"owner\": \"Administrator\",\r\n \"policies\": [\r\n \"08afbfa9-78e1-4c23-bb19-c0012464047e\"\r\n ],\r\n \"scopes\": [],\r\n \"publishedPortals\": [],\r\n \"creationDate\": \"2018-09-03 11:56:21 GMT\",\r\n \"systemVersion\": 1,\r\n \"id\": \"badc18e6-446f-4aa3-96cd-33e46bd40fb5\",\r\n \"tracingEnabled\": \"true\" }"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/GatewayAPI"
+ }
+ },
+ "400" : {
+ "description" : "This status code shows error while enabling tracing for the API."
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that the apiId specified is not found in the API Gateway"
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -1013,6 +1451,26 @@
"description" : "This status code indicates that the apiId specified is not found in the API Gateway"
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "Returns the API object after successful unpublish",
+ "examples" : {
+ "application/json" : "{\r\n \"apiResponse\": {\r\n \"api\": {\r\n \"apiDefinition\": {\r\n \"type\": \"rest\",\r\n \"info\": {\r\n \"vendorExtensions\": {},\r\n \"description\": \"Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims about Norris' toughness, attitude, virility, sophistication, and masculinity.\",\r\n \"version\": \"1.0\",\r\n \"title\": \"ChuckNorrisAPI\"\r\n },\r\n \"host\": \"api.chucknorris.io\",\r\n \"basePath\": \"/jokes\",\r\n \"schemes\": [\r\n \"https\"\r\n ],\r\n \"paths\": {\r\n \"/random\": {\r\n \"get\": {\r\n \"summary\": \"GET\",\r\n \"description\": \"\",\r\n \"operationId\": \"GET\",\r\n \"produces\": [\r\n \"application/json\"\r\n ],\r\n \"parameters\": [],\r\n \"responses\": {},\r\n \"enabled\": true\r\n },\r\n \"enabled\": true\r\n }\r\n },\r\n \"definitions\": {}\r\n },\r\n \"nativeEndpoint\": [\r\n {\r\n \"passSecurityHeaders\": true,\r\n \"uri\": \"https://api.chucknorris.io/jokes\",\r\n \"connectionTimeoutDuration\": 0,\r\n \"alias\": false\r\n }\r\n ],\r\n \"apiName\": \"ChuckNorrisAPI\",\r\n \"apiVersion\": \"1.0\",\r\n \"apiDescription\": \"Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims about Norris' toughness, attitude, virility, sophistication, and masculinity.\",\r\n \"maturityState\": \"Beta\",\r\n \"isActive\": false,\r\n \"type\": \"REST\",\r\n \"owner\": \"Administrator\",\r\n \"policies\": [\r\n \"879068cd-8628-4f2a-b903-4e6613ca12ba\"\r\n ],\r\n \"referencedFiles\": {\r\n \"ChuckNorrisAPI.json\": \"{\\r\\n \\\"swagger\\\": \\\"2.0\\\",\\r\\n \\\"info\\\": {\\r\\n \\\"description\\\": \\\"Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims about Norris' toughness, attitude, virility, sophistication, and masculinity.\\\",\\r\\n \\\"title\\\": \\\"ChuckNorrisAPI\\\",\\r\\n \\\"version\\\": \\\"1.0\\\"\\r\\n },\\r\\n \\\"host\\\": \\\"api.chucknorris.io\\\",\\r\\n \\\"basePath\\\": \\\"/jokes\\\",\\r\\n \\\"schemes\\\": [\\r\\n \\\"https\\\"\\r\\n ],\\r\\n \\\"paths\\\": {\\r\\n \\\"/random\\\": {\\r\\n \\\"get\\\": {\\r\\n \\\"summary\\\": \\\"GET\\\",\\r\\n \\\"deprecated\\\": false,\\r\\n \\\"produces\\\": [\\r\\n \\\"application/json\\\"\\r\\n ],\\r\\n \\\"description\\\": \\\"\\\",\\r\\n \\\"operationId\\\": \\\"GET\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n}\\r\\n\"\r\n },\r\n \"scopes\": [],\r\n \"publishedPortals\": [],\r\n \"creationDate\": \"2017-03-13 09:38:30 GMT\",\r\n \"systemVersion\": 1,\r\n \"id\": \"25fb937a-8360-41ab-8be5-987b14fe631d\",\r\n \"oauth2ScopeName\": \"25fb937a-8360-41ab-8be5-987b14fe631d\"\r\n },\r\n \"responseStatus\": \"SUCCESS\"\r\n }\r\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/APIResponseCreate"
+ }
+ },
+ "400" : {
+ "description" : "This status code shows when the user missed the mandatory portalGatewayId or invalid portalGatewayId in the request body"
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that the apiId specified is not found in the API Gateway"
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -1048,6 +1506,23 @@
"description" : "This status code indicates that the apiId specified is not found in the API Gateway"
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "Returns the API versions",
+ "examples" : {
+ "application/json" : "{\r\n \"apiResponse\": {\r\n \"api\": {\r\n \"apiDefinition\": {\r\n \"type\": \"rest\",\r\n \"info\": {\r\n \"description\": \"Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims about Norris' toughness, attitude, virility, sophistication, and masculinity.\",\r\n \"version\": \"1.0\",\r\n \"title\": \"ChuckNorrisAPI\"\r\n },\r\n \"host\": \"api.chucknorris.io\",\r\n \"basePath\": \"/jokes\",\r\n \"schemes\": [\r\n \"https\"\r\n ],\r\n \"security\": [],\r\n \"paths\": {\r\n \"/random\": {\r\n \"get\": {\r\n \"summary\": \"GET\",\r\n \"description\": \"\",\r\n \"operationId\": \"GET\",\r\n \"produces\": [\r\n \"application/json\"\r\n ],\r\n \"responses\": {},\r\n \"enabled\": true\r\n },\r\n \"enabled\": true\r\n }\r\n },\r\n \"securityDefinitions\": {},\r\n \"definitions\": {},\r\n \"baseUriParameters\": [],\r\n \"externalDocs\": [],\r\n \"servers\": [\r\n {\r\n \"url\": \"https://api.chucknorris.io/jokes\"\r\n }\r\n ],\r\n \"components\": {\r\n \"schemas\": {}\r\n }\r\n },\r\n \"nativeEndpoint\": [\r\n {\r\n \"passSecurityHeaders\": true,\r\n \"uri\": \"https://api.chucknorris.io/jokes\",\r\n \"connectionTimeoutDuration\": 0,\r\n \"alias\": false\r\n }\r\n ],\r\n \"apiName\": \"ChuckNorris\",\r\n \"apiVersion\": \"1.0\",\r\n \"apiDescription\": \"Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims about Norris' toughness, attitude, virility, sophistication, and masculinity.\",\r\n \"maturityState\": \"Beta\",\r\n \"isActive\": false,\r\n \"type\": \"REST\",\r\n \"owner\": \"Administrator\",\r\n \"policies\": [\r\n \"08afbfa9-78e1-4c23-bb19-c0012464047e\"\r\n ],\r\n \"scopes\": [],\r\n \"publishedPortals\": [],\r\n \"creationDate\": \"2018-09-03 11:56:21 GMT\",\r\n \"systemVersion\": 1,\r\n \"id\": \"badc18e6-446f-4aa3-96cd-33e46bd40fb5\"\r\n },\r\n \"responseStatus\": \"SUCCESS\",\r\n \"versions\": [\r\n {\r\n \"versionNumber\": \"1.0\",\r\n \"apiId\": \"badc18e6-446f-4aa3-96cd-33e46bd40fb5\"\r\n }\r\n ]\r\n }\r\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/APIResponseGetAPIs"
+ }
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that the apiId specified is not found in the API Gateway"
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -1096,6 +1571,26 @@
"description" : "Not Found"
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "Return the newly created version of the API",
+ "examples" : {
+ "application/json" : "{\r\n \"apiResponse\": {\r\n \"api\": {\r\n \"apiDefinition\": {\r\n \"type\": \"rest\",\r\n \"info\": {\r\n \"description\": \"Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims about Norris' toughness, attitude, virility, sophistication, and masculinity.\",\r\n \"version\": \"1.0\",\r\n \"title\": \"ChuckNorrisAPI\"\r\n },\r\n \"host\": \"api.chucknorris.io\",\r\n \"basePath\": \"/jokes\",\r\n \"schemes\": [\r\n \"https\"\r\n ],\r\n \"security\": [],\r\n \"paths\": {\r\n \"/random\": {\r\n \"get\": {\r\n \"summary\": \"GET\",\r\n \"description\": \"\",\r\n \"operationId\": \"GET\",\r\n \"produces\": [\r\n \"application/json\"\r\n ],\r\n \"responses\": {},\r\n \"enabled\": true\r\n },\r\n \"enabled\": true\r\n }\r\n },\r\n \"securityDefinitions\": {},\r\n \"definitions\": {},\r\n \"baseUriParameters\": [],\r\n \"externalDocs\": [],\r\n \"servers\": [\r\n {\r\n \"url\": \"https://api.chucknorris.io/jokes\"\r\n }\r\n ],\r\n \"components\": {\r\n \"schemas\": {}\r\n }\r\n },\r\n \"nativeEndpoint\": [\r\n {\r\n \"passSecurityHeaders\": true,\r\n \"uri\": \"https://api.chucknorris.io/jokes\",\r\n \"connectionTimeoutDuration\": 0,\r\n \"alias\": false\r\n }\r\n ],\r\n \"apiName\": \"ChuckNorris\",\r\n \"apiVersion\": \"1.0\",\r\n \"apiDescription\": \"Chuck Norris facts are satirical factoids about martial artist and actor Chuck Norris that have become an Internet phenomenon and as a result have become widespread in popular culture. The 'facts' are normally absurd hyperbolic claims about Norris' toughness, attitude, virility, sophistication, and masculinity.\",\r\n \"maturityState\": \"Beta\",\r\n \"isActive\": false,\r\n \"type\": \"REST\",\r\n \"owner\": \"Administrator\",\r\n \"policies\": [\r\n \"08afbfa9-78e1-4c23-bb19-c0012464047e\"\r\n ],\r\n \"scopes\": [],\r\n \"publishedPortals\": [],\r\n \"creationDate\": \"2018-09-03 11:56:21 GMT\",\r\n \"systemVersion\": 1,\r\n \"id\": \"badc18e6-446f-4aa3-96cd-33e46bd40fb5\"\r\n },\r\n \"responseStatus\": \"SUCCESS\",\r\n \"versions\": [\r\n {\r\n \"versionNumber\": \"1.0\",\r\n \"apiId\": \"badc18e6-446f-4aa3-96cd-33e46bd40fb5\"\r\n }\r\n ]\r\n }\r\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/APIResponse"
+ }
+ },
+ "400" : {
+ "description" : "This status code returns when the specified api is not the latest version or if the newApiVersion is empty"
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "Not Found"
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -1128,6 +1623,20 @@
"description" : "This status code indicates that Publish Info for the apiId specified is not found in API Gateway"
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "Returns the integration server publish info for the API",
+ "schema" : {
+ "$ref" : "#/definitions/ServiceRegistryPublishGetResponse"
+ }
+ },
+ "401" : {
+ "description" : ""
+ },
+ "404" : {
+ "description" : "This status code indicates that Publish Info for the apiId specified is not found in API Gateway"
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -1162,6 +1671,23 @@
"description" : "This status code indicates that API with given apiId is not found in API Gateway"
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "Returns the status of the publish operations given in the request.",
+ "schema" : {
+ "$ref" : "#/definitions/ServiceRegistryPublishPutResponse"
+ }
+ },
+ "400" : {
+ "description" : "This status code indicates an invalid request body"
+ },
+ "401" : {
+ "description" : ""
+ },
+ "404" : {
+ "description" : "This status code indicates that API with given apiId is not found in API Gateway"
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -1187,6 +1713,20 @@
"description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "This status code indicates that a list of the available OAuth scopes are retrieved successfully.",
+ "examples" : {
+ "application/json" : "{\r\n\t\"scopes\": [\r\n\t\t{\r\n\t\t\t\"id\": \"ef084e4a-c30b-40f5-8ed9-2a6b7fb6ca34\",\r\n\t\t\t\"scopeName\": \"scopeMapping2\",\r\n\t\t\t\"scopeDescription\": \"scopeMapping2 description\",\r\n\t\t\t\"audience\": \"audienceName\",\r\n\t\t\t\"apiScopes\": [\r\n\t\t\t\t\"911c700d-1344-4d3e-9495-4f4e93cc8cce\"\r\n\t\t\t],\r\n\t\t\t\"requiredAuthScopes\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"authServerAlias\": \"local\",\r\n\t\t\t\t\t\"scopeName\": \"scope1\"\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"id\": \"9f8f2cbb-e993-4935-aa3c-ee513c9badbb\",\r\n\t\t\t\"scopeName\": \"scopeMapping1\",\r\n\t\t\t\"scopeDescription\": \"scopeMapping1 description\",\r\n\t\t\t\"audience\": \"audienceName\",\r\n\t\t\t\"apiScopes\": [\r\n\t\t\t\t\"911c700d-1344-4d3e-9495-4f4e93cc8cce\"\r\n\t\t\t],\r\n\t\t\t\"requiredAuthScopes\": [\r\n\t\t\t\t{\r\n\t\t\t\t\t\"authServerAlias\": \"local\",\r\n\t\t\t\t\t\"scopeName\": \"scope1\"\r\n\t\t\t\t}\r\n\t\t\t]\r\n\t\t}\r\n\t]\r\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/GatewayScope"
+ }
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -1225,6 +1765,23 @@
"description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
}
},
+ "responsesObject" : {
+ "201" : {
+ "description" : "This status code indicates that the OAuth scope has been successfully created in API Gateway.",
+ "examples" : {
+ "application/json" : "{\r\n\t\"scope\": {\r\n\t\t\"id\": \"d550df0c-78c4-4139-918c-f354f77ccf9c\",\r\n\t\t\"scopeName\": \"scopeMapping\",\r\n\t\t\"scopeDescription\": \"scopeMapping description\",\r\n\t\t\"audience\": \"audienceName\",\r\n\t\t\"apiScopes\": [\r\n\t\t\t\"911c700d-1344-4d3e-9495-4f4e93cc8cce\"\r\n\t\t],\r\n\t\t\"requiredAuthScopes\": [\r\n\t\t\t{\r\n\t\t\t\t\"authServerAlias\": \"local\",\r\n\t\t\t\t\"scopeName\": \"scope1\"\r\n\t\t\t}\r\n\t\t]\r\n\t}\r\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/GatewayScope"
+ }
+ },
+ "400" : {
+ "description" : "This status code indicates that the input values given in the request body is wrong."
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -1259,6 +1816,23 @@
"description" : "This status code indicates that an OAuth scope with the given ID could not be found in API Gateway."
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "This status code indicates that the details of the specified OAuth scope are retrieved successfully.",
+ "examples" : {
+ "application/json" : "{\r\n\t\"scope\": {\r\n\t\t\"id\": \"51143fe6-7790-4c58-aa66-e4f2f0f2e3cd\",\r\n\t\t\"scopeName\": \"scopeMapping1\",\r\n\t\t\"scopeDescription\": \"scopeMapping1\",\r\n\t\t\"audience\": \"\",\r\n\t\t\"apiScopes\": [\r\n\t\t\t\"911c700d-1344-4d3e-9495-4f4e93cc8cce\"\r\n\t\t],\r\n\t\t\"requiredAuthScopes\": [\r\n\t\t\t{\r\n\t\t\t\t\"authServerAlias\": \"local\",\r\n\t\t\t\t\"scopeName\": \"scope1\"\r\n\t\t\t}\r\n\t\t]\r\n\t}\r\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/GatewayScope"
+ }
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that an OAuth scope with the given ID could not be found in API Gateway."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -1303,6 +1877,23 @@
"description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "This status code indicates that the OAuth scope has been successfully updated in API Gateway.",
+ "examples" : {
+ "application/json" : "{\r\n\t\"scope\": {\r\n\t\t\"id\": \"51143fe6-7790-4c58-aa66-e4f2f0f2e3cd\",\r\n\t\t\"scopeName\": \"scopeMapping1\",\r\n\t\t\"scopeDescription\": \"scopeMapping1\",\r\n\t\t\"audience\": \"\",\r\n\t\t\"apiScopes\": [\r\n\t\t\t\"911c700d-1344-4d3e-9495-4f4e93cc8cce\"\r\n\t\t],\r\n\t\t\"requiredAuthScopes\": [\r\n\t\t\t{\r\n\t\t\t\t\"authServerAlias\": \"local\",\r\n\t\t\t\t\"scopeName\": \"scope1\"\r\n\t\t\t}\r\n\t\t]\r\n\t}\r\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/GatewayScope"
+ }
+ },
+ "400" : {
+ "description" : "This status code indicates that the input values given in the request body is wrong."
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -1329,6 +1920,17 @@
"description" : "This status code indicates that an OAuth scope with the given ID could not be found in API Gateway."
}
},
+ "responsesObject" : {
+ "204" : {
+ "description" : "This status code indicates that the specified OAuth scope has been successfully deleted from API Gateway."
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that an OAuth scope with the given ID could not be found in API Gateway."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -1364,6 +1966,23 @@
"description" : "This status code indicates that Publish Info for the apiId specified is not found in API Gateway"
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "Returns the service registry publish info for the API",
+ "examples" : {
+ "application/json" : "{\r\n \"publishInfo\": {\r\n \"apiId\": \"afe8b72e-e1a5-47c6-9b43-e7f12858c091\",\r\n \"serviceRegistryPublishInfo\": [\r\n {\r\n \"serviceRegistryId\": \"aec973cd-1e4c-4a93-93a4-950e32d39156\",\r\n \"status\": \"PUBLISHED\",\r\n \"name\": \"MyServiceConsul\",\r\n \"gatewayEndpoints\": [\r\n {\r\n \"gatewayEndpoint\": \"http://localhost:5555/ws/calc/1\",\r\n \"status\": \"PUBLISHED\"\r\n },\r\n {\r\n \"gatewayEndpoint\": \"http://localhost:1111/ws/calc/1\",\r\n \"status\": \"NEW\"\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/ServiceRegistryPublishGetResponse"
+ }
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that Publish Info for the apiId specified is not found in API Gateway"
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -1404,6 +2023,26 @@
"description" : "This status code indicates that API with given apiId is not found in API Gateway"
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "Returns the status of the publish operations given in the request.",
+ "examples" : {
+ "application/json" : "{\r\n \"publishResponse\": {\r\n \"apiId\": \"afe8b72e-e1a5-47c6-9b43-e7f12858c091\",\r\n \"apiName\": \"CalcService\",\r\n \"apiVersion\": \"10.3\",\r\n \"serviceRegistryPublishResponses\": [\r\n {\r\n \"serviceRegistryId\": \"aec973cd-1e4c-4a93-93a4-950e32d39156\",\r\n \"serviceRegistryName\": \"MyServiceConsul\",\r\n \"status\": \"PUBLISHED\",\r\n \"gatewayEndpoints\": [\r\n {\r\n \"gatewayEndpoint\": \"http://localhost:5555/ws/calc/1\",\r\n \"status\": \"PUBLISHED\",\r\n }\r\n ],\r\n \"success\": true,\r\n \"description\": \"Publish successful\"\r\n }\r\n ]\r\n }\r\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/ServiceRegistryPublishPutResponse"
+ }
+ },
+ "400" : {
+ "description" : "This status code indicates an invalid request body"
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that API with given apiId is not found in API Gateway"
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -1440,6 +2079,20 @@
"description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "Returns the service registry unpublish response",
+ "examples" : {
+ "application/json" : "{\r\n \"unpublishResponse\": {\r\n \"apiId\": \"afe8b72e-e1a5-47c6-9b43-e7f12858c091\",\r\n \"apiName\": \"CalcService\",\r\n \"apiVersion\": \"10.3\",\r\n \"serviceRegistryUnpublishResponses\": [\r\n {\r\n \"serviceRegistryId\": \"aec973cd-1e4c-4a93-93a4-950e32d39156\",\r\n \"serviceRegistryName\": \"MyServiceConsul\",\r\n \"success\": true,\r\n \"description\": \" Unpublish successful\"\r\n }\r\n ]\r\n }\r\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/ServiceRegistryUnpublishPutResponse"
+ }
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -1474,6 +2127,17 @@
"description" : "This status code indicates an error occurred while creating the export archive for the selected tracer events."
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "This prompts a download of the archive for the selected events."
+ },
+ "401" : {
+ "description" : "This status code indicates that the authentication information is not provided or is invalid"
+ },
+ "500" : {
+ "description" : "This status code indicates an error occurred while creating the export archive for the selected tracer events."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -1512,6 +2176,26 @@
"description" : "This status code indicates that an error occurred while processing the imported archive."
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "This response is returned when the archive has been read and processed successfully.",
+ "examples" : {
+ "application/json" : "{\n \"apiId\":\"188f02ae-2c41-43bf-bbf5-c412121c9c95\",\n \"apiType\":\"REST\",\n \"transaction_events\":[\n {\n \"correlationID\":\"APIGW:7b317c35-3712-444e-ad3a-36d2cb6e160e:750\",\n \"creationDate\":1628678814401,\n \"status\":\"SUCCESS\",\n \"statusCode\":200\n },\n {\n \"correlationID\":\"APIGW:831d6eab-397d-47c8-9e16-2603c7c9b70e:753\",\n \"creationDate\":1628678669675,\n \"status\":\"SUCCESS\",\n \"statusCode\":200\n },\n {\n \"correlationID\":\"APIGW:02de6530-6bfa-45e0-a8d6-f1ced4e5ceb1:753\",\n \"creationDate\":1628678657411,\n \"status\":\"FAILURE\",\n \"statusCode\":404\n },\n {\n \"correlationID\":\"APIGW:60e732a2-6d5f-4f9f-ad3c-4f081d485993:371\",\n \"creationDate\":1628678639851,\n \"status\":\"SUCCESS\",\n \"statusCode\":200\n }\n ],\n \"traceInfo\":[\n {\n \"APIGW:02de6530-6bfa-45e0-a8d6-f1ced4e5ceb1:753\":[\n {\n \"spanId\":\"35b61968\",\n \"parentId\":\"6acaa3dd\",\n \"prevSpanId\":null,\n \"startTime\":514338192923900,\n \"endTime\":514339319670000,\n \"startDate\":1628678657411,\n \"endDate\":1628678658538,\n \"originalSpanId\":\"5c623516\",\n \"trace\":{\n \"type\":\"MediatorHttpHandler\",\n \"input\":{\n \n },\n \"output\":{\n \n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"6acaa3dd\",\n \"parentId\":\"root\",\n \"prevSpanId\":\"first\",\n \"startTime\":0,\n \"endTime\":0,\n \"startDate\":0,\n \"endDate\":0,\n \"originalSpanId\":\"6acaa3dd\",\n \"trace\":{\n \"logs\":[\n \"2021-08-11 16:14:18 IST [YAI.0101.0018I] (tid=753) [apigw1011][SAG-7SJT3D3][APIGW:02de6530-6bfa-45e0-a8d6-f1ced4e5ceb1:753:3fcd8e1df41b4ab48b81e698bb9a6011:6acaa3dd~root~first] Error occurred while processing the request, Error: Native service provider error. Code : 404 \"\n ],\n \"infoType\":\"serverLogInfo\"\n },\n \"id\":\"c1fbd258-ff4d-4f73-8c4b-058da61a976c\",\n \"correlationID\":\"APIGW:02de6530-6bfa-45e0-a8d6-f1ced4e5ceb1:753\",\n \"entityId\":\"c1fbd258-ff4d-4f73-8c4b-058da61a976c\"\n },\n {\n \"spanId\":\"46d1afad\",\n \"parentId\":\"5c623516\",\n \"prevSpanId\":null,\n \"startTime\":514338193028700,\n \"endTime\":514339319667100,\n \"startDate\":1628678657412,\n \"endDate\":1628678658538,\n \"originalSpanId\":\"30a19a12\",\n \"trace\":{\n \"type\":\"insequence\",\n \"input\":{\n \"stages\":[\n \"transport\",\n \"IAM\",\n \"LMT\",\n \"requestPayloadProcessing\",\n \"routing\"\n ],\n \"order\":\"insequence\",\n \"serviceType\":\"REST\"\n },\n \"output\":{\n \"transport\":true,\n \"IAM\":true,\n \"LMT\":true,\n \"requestPayloadProcessing\":true,\n \"routing\":false\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"e3d18aa5\",\n \"parentId\":\"30a19a12\",\n \"prevSpanId\":null,\n \"startTime\":514338193048700,\n \"endTime\":514338193101900,\n \"startDate\":1628678657412,\n \"endDate\":1628678657412,\n \"originalSpanId\":\"b75a88ca\",\n \"trace\":{\n \"type\":\"transport\",\n \"input\":{\n \"policies\":[\n \"entryProtocolPolicy\"\n ]\n },\n \"output\":{\n \"entryProtocolPolicy\":true\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"3d97b00e\",\n \"parentId\":\"b75a88ca\",\n \"prevSpanId\":null,\n \"startTime\":514338193078100,\n \"endTime\":514338193095900,\n \"startDate\":1628678657412,\n \"endDate\":1628678657412,\n \"originalSpanId\":\"c4b202ad\",\n \"trace\":{\n \"type\":\"entryProtocolPolicy\",\n \"input\":{\n \"Transport protocol from client\":\"http\"\n },\n \"output\":{\n \"Result\":\"SUCCESS\"\n },\n \"config\":{\n \"policyConfig\":{\n \"id\":\"5bbb3b4f-a498-4af8-a963-bcb6fe24eb0d\",\n \"names\":[\n {\n \"value\":\"Enable HTTP / HTTPS\",\n \"locale\":\"en\"\n }\n ],\n \"templateKey\":\"entryProtocolPolicy\",\n \"parameters\":[\n {\n \"templateKey\":\"protocol\",\n \"values\":[\n \"http\"\n ]\n }\n ],\n \"active\":false\n }\n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"f442cd25\",\n \"parentId\":\"30a19a12\",\n \"prevSpanId\":\"b75a88ca\",\n \"startTime\":514338193107500,\n \"endTime\":514338193112000,\n \"startDate\":1628678657412,\n \"endDate\":1628678657412,\n \"originalSpanId\":\"b675bb01\",\n \"trace\":{\n \"type\":\"IAM\",\n \"input\":{\n \"policies\":[\n \n ]\n },\n \"output\":{\n \n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"bbacf4f0\",\n \"parentId\":\"30a19a12\",\n \"prevSpanId\":\"b675bb01\",\n \"startTime\":514338193118200,\n \"endTime\":514338193133500,\n \"startDate\":1628678657412,\n \"endDate\":1628678657412,\n \"originalSpanId\":\"8baabbde\",\n \"trace\":{\n \"type\":\"LMT\",\n \"input\":{\n \"policies\":[\n \"monitorServicePerformance\"\n ]\n },\n \"output\":{\n \"monitorServicePerformance\":true\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"6927facc\",\n \"parentId\":\"8baabbde\",\n \"prevSpanId\":null,\n \"startTime\":514338193124600,\n \"endTime\":514338193131400,\n \"startDate\":1628678657412,\n \"endDate\":1628678657412,\n \"originalSpanId\":\"9dba8538\",\n \"trace\":{\n \"type\":\"monitorServicePerformance\",\n \"input\":{\n \n },\n \"output\":{\n \"Result\":\"SUCCESS\"\n },\n \"config\":{\n \"policyConfig\":{\n \"id\":\"d438b92e-4287-4e7c-9178-6710079d8b14\",\n \"names\":[\n {\n \"value\":\"Monitor Performance\",\n \"locale\":\"en\"\n }\n ],\n \"templateKey\":\"monitorServicePerformance\",\n \"parameters\":[\n {\n \"templateKey\":\"alertInterval\",\n \"values\":[\n \"1\"\n ]\n },\n {\n \"templateKey\":\"alertIntervalUnit\",\n \"values\":[\n \"minutes\"\n ]\n },\n {\n \"templateKey\":\"alertFrequency\",\n \"values\":[\n \"always\"\n ]\n },\n {\n \"templateKey\":\"alertMessage\",\n \"values\":[\n \"Alert for more than 5 requests in a minute!\"\n ]\n },\n {\n \"templateKey\":\"monitorRules\",\n \"parameters\":[\n {\n \"templateKey\":\"monitorRuleName\",\n \"values\":[\n \"requestCount\"\n ]\n },\n {\n \"templateKey\":\"monitorRuleOperator\",\n \"values\":[\n \"GT\"\n ]\n },\n {\n \"templateKey\":\"value\",\n \"values\":[\n \"5\"\n ]\n }\n ]\n },\n {\n \"templateKey\":\"destination\",\n \"parameters\":[\n {\n \"templateKey\":\"destinationType\",\n \"values\":[\n \"GATEWAY\"\n ]\n }\n ]\n },\n {\n \"templateKey\":\"destination\",\n \"parameters\":[\n {\n \"templateKey\":\"destinationType\",\n \"values\":[\n \"SMTP\"\n ]\n },\n {\n \"templateKey\":\"emailTo\",\n \"values\":[\n \"dsan@softwareag.com\"\n ]\n }\n ]\n }\n ],\n \"active\":false\n }\n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"7caaab43\",\n \"parentId\":\"9dba8538\",\n \"prevSpanId\":null,\n \"startTime\":514338193129700,\n \"endTime\":514338193130200,\n \"startDate\":1628678657412,\n \"endDate\":1628678657412,\n \"originalSpanId\":\"3b15898e\",\n \"trace\":{\n \"type\":\"PgMenPolicyMediator\",\n \"input\":{\n \n },\n \"output\":{\n \n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"cf6ea7ed\",\n \"parentId\":\"30a19a12\",\n \"prevSpanId\":\"8baabbde\",\n \"startTime\":514338193137200,\n \"endTime\":514338193140100,\n \"startDate\":1628678657412,\n \"endDate\":1628678657412,\n \"originalSpanId\":\"4530055e\",\n \"trace\":{\n \"type\":\"requestPayloadProcessing\",\n \"input\":{\n \"policies\":[\n \n ]\n },\n \"output\":{\n \n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"6046a772\",\n \"parentId\":\"30a19a12\",\n \"prevSpanId\":\"4530055e\",\n \"startTime\":514338193145900,\n \"endTime\":514339319662100,\n \"startDate\":1628678657412,\n \"endDate\":1628678658538,\n \"originalSpanId\":\"5417b471\",\n \"trace\":{\n \"type\":\"routing\",\n \"input\":{\n \"policies\":[\n \"callbackURLReplacer\",\n \"straightThroughRouting\"\n ]\n },\n \"output\":{\n \"callbackURLReplacer\":true,\n \"straightThroughRouting\":false\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"5417b471\",\n \"parentId\":\"30a19a12\",\n \"prevSpanId\":\"4530055e\",\n \"startTime\":0,\n \"endTime\":0,\n \"startDate\":0,\n \"endDate\":0,\n \"originalSpanId\":\"5417b471\",\n \"trace\":{\n \"logs\":[\n \"2021-08-11 16:14:18 IST [YAI.0002.9999E] (tid=753) [apigw1011][SAG-7SJT3D3][APIGW:02de6530-6bfa-45e0-a8d6-f1ced4e5ceb1:753:3fcd8e1df41b4ab48b81e698bb9a6011:5417b471~30a19a12~4530055e][POL:straightThroughRouting]O---> Exception : Unexpected error during mediation Native service provider error. Code : 404 \"\n ],\n \"infoType\":\"serverLogInfo\"\n },\n \"id\":\"49530b72-4712-44eb-8085-95351fb21835\",\n \"correlationID\":\"APIGW:02de6530-6bfa-45e0-a8d6-f1ced4e5ceb1:753\",\n \"entityId\":\"49530b72-4712-44eb-8085-95351fb21835\"\n },\n {\n \"spanId\":\"0b598051\",\n \"parentId\":\"5417b471\",\n \"prevSpanId\":null,\n \"startTime\":514338193154900,\n \"endTime\":514338193160900,\n \"startDate\":1628678657412,\n \"endDate\":1628678657412,\n \"originalSpanId\":\"ef0f3580\",\n \"trace\":{\n \"type\":\"callbackURLReplacer\",\n \"input\":{\n \n },\n \"output\":{\n \"Result\":\"SUCCESS\"\n },\n \"config\":{\n \"policyConfig\":{\n \"id\":\"callbackURLReplacer\",\n \"names\":[\n {\n \"value\":\"Default Callback URL Replacer Action for API \",\n \"locale\":\"English\"\n }\n ],\n \"templateKey\":\"callbackURLReplacer\",\n \"parameters\":[\n \n ],\n \"active\":false\n }\n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"c5f4cdfd\",\n \"parentId\":\"5417b471\",\n \"prevSpanId\":\"ef0f3580\",\n \"startTime\":514338193166800,\n \"endTime\":514339318798100,\n \"startDate\":1628678657412,\n \"endDate\":1628678658537,\n \"originalSpanId\":\"a3b18776\",\n \"trace\":{\n \"type\":\"straightThroughRouting\",\n \"input\":{\n \"Alias Values Map\":{\n \"${sys:resource_path}\":\"${sys:resource_path}\",\n \"https://xkcd.com/\":\"https://xkcd.com/\"\n }\n },\n \"output\":{\n \"Result\":\"FAILURE\",\n \"Reason\":\" Native service provider error. Code : 404\"\n },\n \"config\":{\n \"policyConfig\":{\n \"id\":\"cb966575-0e0c-490d-b8f6-a6ed4d5caca1\",\n \"names\":[\n {\n \"value\":\"Straight Through Routing\",\n \"locale\":\"en\"\n }\n ],\n \"templateKey\":\"straightThroughRouting\",\n \"parameters\":[\n {\n \"templateKey\":\"endpointUri\",\n \"values\":[\n \"https://xkcd.com/${sys:resource_path}\"\n ]\n },\n {\n \"templateKey\":\"method\",\n \"values\":[\n \"CUSTOM\"\n ]\n }\n ],\n \"active\":false\n }\n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"73446a73\",\n \"parentId\":\"a3b18776\",\n \"prevSpanId\":null,\n \"startTime\":514338193185400,\n \"endTime\":514339318789500,\n \"startDate\":1628678657412,\n \"endDate\":1628678658537,\n \"originalSpanId\":\"45068c14\",\n \"trace\":{\n \"type\":\"NATIVE_SERVICE_CALL\",\n \"request\":{\n \"payload\":null,\n \"method\":\"GET\",\n \"externalURL\":\"https://xkcd.com/8565/info.0.json\",\n \"headers\":{\n \"User-Agent\":\"PostmanRuntime/7.28.1\",\n \"Accept-Encoding\":\"gzip, deflate, br\",\n \"Accept\":\"*/*\",\n \"Content-Type\":\"application/x-www-form-urlencoded\"\n },\n \"queryParameters\":{\n \n },\n \"payloadMimeType\":null\n },\n \"response\":{\n \"payload\":\"\\r\\n
Codestin Search App\\r\\n\\r\\n404 Not Found
\\r\\n
nginx\\r\\n\\r\\n\\r\\n\",\n \"payloadMimeType\":\"text/html\",\n \"statusCode\":404,\n \"statusMessage\":\"Not Found\",\n \"headers\":{\n \"X-Cache\":\"MISS\",\n \"Server\":\"nginx\",\n \"Connection\":\"keep-alive\",\n \"Date\":\"Wed, 11 Aug 2021 10:44:17 GMT\",\n \"Via\":\"1.1 varnish\",\n \"X-Timer\":\"S1628678657.899837,VS0,VE845\",\n \"Accept-Ranges\":\"bytes\",\n \"X-Served-By\":\"cache-qpg1221-QPG\",\n \"Vary\":\"Accept-Encoding\",\n \"X-Cache-Hits\":\"0\",\n \"Age\":\"0\",\n \"Content-Type\":\"application/json\"\n }\n },\n \"infoType\":\"requestResponseTraceInfo\"\n }\n },\n {\n \"spanId\":\"45068c14\",\n \"parentId\":\"a3b18776\",\n \"prevSpanId\":\"first\",\n \"startTime\":0,\n \"endTime\":0,\n \"startDate\":0,\n \"endDate\":0,\n \"originalSpanId\":\"45068c14\",\n \"trace\":{\n \"logs\":[\n \"2021-08-11 16:14:18 IST [YAI.0104.0004I] (tid=753) [apigw1011][SAG-7SJT3D3][APIGW:02de6530-6bfa-45e0-a8d6-f1ced4e5ceb1:753:3fcd8e1df41b4ab48b81e698bb9a6011:45068c14~a3b18776~first][POL:straightThroughRouting]O---> Native service provider error. Code : 404 \"\n ],\n \"infoType\":\"serverLogInfo\"\n },\n \"id\":\"a5f25d27-3d64-417b-8dbf-6d79705e1a0a\",\n \"correlationID\":\"APIGW:02de6530-6bfa-45e0-a8d6-f1ced4e5ceb1:753\",\n \"entityId\":\"a5f25d27-3d64-417b-8dbf-6d79705e1a0a\"\n },\n {\n \"spanId\":\"e641fd2b\",\n \"parentId\":\"45068c14\",\n \"prevSpanId\":null,\n \"startTime\":514339279306400,\n \"endTime\":514339317973000,\n \"startDate\":1628678658498,\n \"endDate\":1628678658536,\n \"originalSpanId\":\"60b7bf2b\",\n \"trace\":{\n \"type\":\"faultsequence\",\n \"input\":{\n \"stages\":[\n \"responseFaultProcessing\"\n ],\n \"order\":\"faultsequence\",\n \"serviceType\":\"REST\"\n },\n \"output\":{\n \"responseFaultProcessing\":true\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"566a4704\",\n \"parentId\":\"60b7bf2b\",\n \"prevSpanId\":null,\n \"startTime\":514339279574100,\n \"endTime\":514339317743300,\n \"startDate\":1628678658498,\n \"endDate\":1628678658536,\n \"originalSpanId\":\"22e924fb\",\n \"trace\":{\n \"type\":\"responseFaultProcessing\",\n \"input\":{\n \n },\n \"output\":{\n \n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"52533f4b\",\n \"parentId\":\"root\",\n \"prevSpanId\":null,\n \"startTime\":514338192198900,\n \"endTime\":514339323529500,\n \"startDate\":1628678657411,\n \"endDate\":1628678658541,\n \"originalSpanId\":\"6acaa3dd\",\n \"trace\":{\n \"type\":\"clientRequestResponse\",\n \"request\":{\n \"headers\":{\n \"Accept\":\"*/*\",\n \"User-Agent\":\"PostmanRuntime/7.28.1\",\n \"Connection\":\"keep-alive\",\n \"Host\":\"sag-7sjt3d3:11155\",\n \"Accept-Encoding\":\"gzip, deflate, br\",\n \"Content-Type\":\"application/x-www-form-urlencoded\"\n },\n \"method\":\"get\",\n \"resourcePath\":\"/{id}/info.0.json\",\n \"queryParameters\":{\n \n },\n \"payload\":null,\n \"payloadMimeType\":null\n },\n \"response\":{\n \"headers\":{\n \"Accept-Ranges\":\"bytes\",\n \"X-Cache\":\"MISS\",\n \"X-Served-By\":\"cache-qpg1221-QPG\",\n \"Vary\":\"Accept-Encoding\",\n \"X-Cache-Hits\":\"0\",\n \"Age\":\"0\",\n \"Via\":\"1.1 varnish\",\n \"X-Timer\":\"S1628678657.899837,VS0,VE845\",\n \"Content-Type\":\"application/json\"\n },\n \"statusCode\":404,\n \"statusMessage\":\"Not Found\",\n \"payload\":\"\\r\\nCodestin Search App\\r\\n\\r\\n404 Not Found
\\r\\n
nginx\\r\\n\\r\\n\\r\\n\",\n \"payloadMimeType\":\"text/html\"\n },\n \"infoType\":\"requestResponseTraceInfo\"\n }\n }\n ]\n },\n {\n \"APIGW:60e732a2-6d5f-4f9f-ad3c-4f081d485993:371\":[\n {\n \"spanId\":\"ed7b7472\",\n \"parentId\":\"23c8771b\",\n \"prevSpanId\":null,\n \"startTime\":514320637005400,\n \"endTime\":514321829713100,\n \"startDate\":1628678639855,\n \"endDate\":1628678641047,\n \"originalSpanId\":\"970b8be4\",\n \"trace\":{\n \"type\":\"MediatorHttpHandler\",\n \"input\":{\n \n },\n \"output\":{\n \"insequence\":true,\n \"outsequence\":true\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"97b6a123\",\n \"parentId\":\"970b8be4\",\n \"prevSpanId\":null,\n \"startTime\":514320637114900,\n \"endTime\":514321829629300,\n \"startDate\":1628678639855,\n \"endDate\":1628678641047,\n \"originalSpanId\":\"63c9152b\",\n \"trace\":{\n \"type\":\"insequence\",\n \"input\":{\n \"stages\":[\n \"transport\",\n \"IAM\",\n \"LMT\",\n \"requestPayloadProcessing\",\n \"routing\"\n ],\n \"order\":\"insequence\",\n \"serviceType\":\"REST\"\n },\n \"output\":{\n \"transport\":true,\n \"IAM\":true,\n \"LMT\":true,\n \"requestPayloadProcessing\":true,\n \"routing\":true\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"43b138db\",\n \"parentId\":\"63c9152b\",\n \"prevSpanId\":null,\n \"startTime\":514320637135300,\n \"endTime\":514320637177100,\n \"startDate\":1628678639855,\n \"endDate\":1628678639855,\n \"originalSpanId\":\"78e32f15\",\n \"trace\":{\n \"type\":\"transport\",\n \"input\":{\n \"policies\":[\n \"entryProtocolPolicy\"\n ]\n },\n \"output\":{\n \"entryProtocolPolicy\":true\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"d5163982\",\n \"parentId\":\"78e32f15\",\n \"prevSpanId\":null,\n \"startTime\":514320637150800,\n \"endTime\":514320637170600,\n \"startDate\":1628678639855,\n \"endDate\":1628678639855,\n \"originalSpanId\":\"da5db0fd\",\n \"trace\":{\n \"type\":\"entryProtocolPolicy\",\n \"input\":{\n \"Transport protocol from client\":\"http\"\n },\n \"output\":{\n \"Result\":\"SUCCESS\"\n },\n \"config\":{\n \"policyConfig\":{\n \"id\":\"5bbb3b4f-a498-4af8-a963-bcb6fe24eb0d\",\n \"names\":[\n {\n \"value\":\"Enable HTTP / HTTPS\",\n \"locale\":\"en\"\n }\n ],\n \"templateKey\":\"entryProtocolPolicy\",\n \"parameters\":[\n {\n \"templateKey\":\"protocol\",\n \"values\":[\n \"http\"\n ]\n }\n ],\n \"active\":false\n }\n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"52883bf9\",\n \"parentId\":\"63c9152b\",\n \"prevSpanId\":\"78e32f15\",\n \"startTime\":514320637183600,\n \"endTime\":514320637188000,\n \"startDate\":1628678639855,\n \"endDate\":1628678639855,\n \"originalSpanId\":\"3c20e466\",\n \"trace\":{\n \"type\":\"IAM\",\n \"input\":{\n \"policies\":[\n \n ]\n },\n \"output\":{\n \n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"9735fcb1\",\n \"parentId\":\"63c9152b\",\n \"prevSpanId\":\"3c20e466\",\n \"startTime\":514320637193200,\n \"endTime\":514320637210400,\n \"startDate\":1628678639855,\n \"endDate\":1628678639855,\n \"originalSpanId\":\"6a610585\",\n \"trace\":{\n \"type\":\"LMT\",\n \"input\":{\n \"policies\":[\n \"monitorServicePerformance\"\n ]\n },\n \"output\":{\n \"monitorServicePerformance\":true\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"bb57e75b\",\n \"parentId\":\"6a610585\",\n \"prevSpanId\":null,\n \"startTime\":514320637200100,\n \"endTime\":514320637207900,\n \"startDate\":1628678639855,\n \"endDate\":1628678639855,\n \"originalSpanId\":\"36cf6364\",\n \"trace\":{\n \"type\":\"monitorServicePerformance\",\n \"input\":{\n \n },\n \"output\":{\n \"Result\":\"SUCCESS\"\n },\n \"config\":{\n \"policyConfig\":{\n \"id\":\"d438b92e-4287-4e7c-9178-6710079d8b14\",\n \"names\":[\n {\n \"value\":\"Monitor Performance\",\n \"locale\":\"en\"\n }\n ],\n \"templateKey\":\"monitorServicePerformance\",\n \"parameters\":[\n {\n \"templateKey\":\"alertInterval\",\n \"values\":[\n \"1\"\n ]\n },\n {\n \"templateKey\":\"alertIntervalUnit\",\n \"values\":[\n \"minutes\"\n ]\n },\n {\n \"templateKey\":\"alertFrequency\",\n \"values\":[\n \"always\"\n ]\n },\n {\n \"templateKey\":\"alertMessage\",\n \"values\":[\n \"Alert for more than 5 requests in a minute!\"\n ]\n },\n {\n \"templateKey\":\"monitorRules\",\n \"parameters\":[\n {\n \"templateKey\":\"monitorRuleName\",\n \"values\":[\n \"requestCount\"\n ]\n },\n {\n \"templateKey\":\"monitorRuleOperator\",\n \"values\":[\n \"GT\"\n ]\n },\n {\n \"templateKey\":\"value\",\n \"values\":[\n \"5\"\n ]\n }\n ]\n },\n {\n \"templateKey\":\"destination\",\n \"parameters\":[\n {\n \"templateKey\":\"destinationType\",\n \"values\":[\n \"GATEWAY\"\n ]\n }\n ]\n },\n {\n \"templateKey\":\"destination\",\n \"parameters\":[\n {\n \"templateKey\":\"destinationType\",\n \"values\":[\n \"SMTP\"\n ]\n },\n {\n \"templateKey\":\"emailTo\",\n \"values\":[\n \"dsan@softwareag.com\"\n ]\n }\n ]\n }\n ],\n \"active\":false\n }\n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"ddf6df55\",\n \"parentId\":\"36cf6364\",\n \"prevSpanId\":null,\n \"startTime\":514320637205900,\n \"endTime\":514320637206400,\n \"startDate\":1628678639855,\n \"endDate\":1628678639855,\n \"originalSpanId\":\"b03302f0\",\n \"trace\":{\n \"type\":\"PgMenPolicyMediator\",\n \"input\":{\n \n },\n \"output\":{\n \n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"181b7e74\",\n \"parentId\":\"63c9152b\",\n \"prevSpanId\":\"6a610585\",\n \"startTime\":514320637216300,\n \"endTime\":514320637220000,\n \"startDate\":1628678639855,\n \"endDate\":1628678639855,\n \"originalSpanId\":\"d2683d4b\",\n \"trace\":{\n \"type\":\"requestPayloadProcessing\",\n \"input\":{\n \"policies\":[\n \n ]\n },\n \"output\":{\n \n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"7dec8e8c\",\n \"parentId\":\"63c9152b\",\n \"prevSpanId\":\"d2683d4b\",\n \"startTime\":514320637224800,\n \"endTime\":514321829621900,\n \"startDate\":1628678639855,\n \"endDate\":1628678641047,\n \"originalSpanId\":\"bc38e607\",\n \"trace\":{\n \"type\":\"routing\",\n \"input\":{\n \"policies\":[\n \"callbackURLReplacer\",\n \"straightThroughRouting\"\n ]\n },\n \"output\":{\n \"callbackURLReplacer\":true,\n \"straightThroughRouting\":true\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"3f5c789a\",\n \"parentId\":\"bc38e607\",\n \"prevSpanId\":null,\n \"startTime\":514320637234500,\n \"endTime\":514320637242600,\n \"startDate\":1628678639855,\n \"endDate\":1628678639855,\n \"originalSpanId\":\"19b79359\",\n \"trace\":{\n \"type\":\"callbackURLReplacer\",\n \"input\":{\n \n },\n \"output\":{\n \"Result\":\"SUCCESS\"\n },\n \"config\":{\n \"policyConfig\":{\n \"id\":\"callbackURLReplacer\",\n \"names\":[\n {\n \"value\":\"Default Callback URL Replacer Action for API \",\n \"locale\":\"English\"\n }\n ],\n \"templateKey\":\"callbackURLReplacer\",\n \"parameters\":[\n \n ],\n \"active\":false\n }\n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"e90094d0\",\n \"parentId\":\"bc38e607\",\n \"prevSpanId\":\"19b79359\",\n \"startTime\":514320637247800,\n \"endTime\":514321829607800,\n \"startDate\":1628678639855,\n \"endDate\":1628678641047,\n \"originalSpanId\":\"e6c96e20\",\n \"trace\":{\n \"type\":\"straightThroughRouting\",\n \"input\":{\n \"Alias Values Map\":{\n \"${sys:resource_path}\":\"${sys:resource_path}\",\n \"https://xkcd.com/\":\"https://xkcd.com/\"\n }\n },\n \"output\":{\n \"Result\":\"SUCCESS\"\n },\n \"config\":{\n \"policyConfig\":{\n \"id\":\"cb966575-0e0c-490d-b8f6-a6ed4d5caca1\",\n \"names\":[\n {\n \"value\":\"Straight Through Routing\",\n \"locale\":\"en\"\n }\n ],\n \"templateKey\":\"straightThroughRouting\",\n \"parameters\":[\n {\n \"templateKey\":\"endpointUri\",\n \"values\":[\n \"https://xkcd.com/${sys:resource_path}\"\n ]\n },\n {\n \"templateKey\":\"method\",\n \"values\":[\n \"CUSTOM\"\n ]\n }\n ],\n \"active\":false\n }\n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"8347ea95\",\n \"parentId\":\"e6c96e20\",\n \"prevSpanId\":null,\n \"startTime\":514320637269600,\n \"endTime\":514321829589600,\n \"startDate\":1628678639855,\n \"endDate\":1628678641047,\n \"originalSpanId\":\"8c2b869a\",\n \"trace\":{\n \"type\":\"NATIVE_SERVICE_CALL\",\n \"request\":{\n \"payload\":null,\n \"method\":\"GET\",\n \"externalURL\":\"https://xkcd.com/1000/info.0.json\",\n \"headers\":{\n \"Accept\":\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8\",\n \"Upgrade-Insecure-Requests\":\"1\",\n \"User-Agent\":\"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0\",\n \"Accept-Language\":\"en-US,en;q=0.5\",\n \"Accept-Encoding\":\"gzip, deflate\",\n \"Content-Type\":\"application/x-www-form-urlencoded\"\n },\n \"queryParameters\":{\n \n },\n \"payloadMimeType\":null\n },\n \"response\":{\n \"statusCode\":200,\n \"statusMessage\":\"OK\",\n \"headers\":{\n \"X-Cache\":\"MISS\",\n \"Server\":\"nginx\",\n \"Connection\":\"keep-alive\",\n \"Last-Modified\":\"Wed, 11 Aug 2021 04:00:03 GMT\",\n \"Date\":\"Wed, 11 Aug 2021 10:44:00 GMT\",\n \"Via\":\"1.1 varnish\",\n \"X-Timer\":\"S1628678639.483034,VS0,VE814\",\n \"Accept-Ranges\":\"bytes\",\n \"Cache-Control\":\"max-age=300\",\n \"ETag\":\"W/\\\"61134b43-26f\\\"\",\n \"X-Served-By\":\"cache-qpg1277-QPG\",\n \"Content-Encoding\":\"gzip\",\n \"Vary\":\"Accept-Encoding\",\n \"Expires\":\"Wed, 11 Aug 2021 10:49:00 GMT\",\n \"X-Cache-Hits\":\"0\",\n \"Age\":\"0\",\n \"Content-Type\":\"application/json\"\n },\n \"payload\":\"{\\\"month\\\": \\\"1\\\", \\\"num\\\": 1000, \\\"link\\\": \\\"https://xkcd.com/1000/large/\\\", \\\"year\\\": \\\"2012\\\", \\\"news\\\": \\\"\\\", \\\"safe_title\\\": \\\"1000 Comics\\\", \\\"transcript\\\": \\\"[[1000 characters, numerous of which have appeared previously in other comics, are arranged to create the number \\\\\\\"1000\\\\\\\". Two more people stand in the foreground commenting on the formation]]\\\\n\\\\nPerson 1: WOOOO!\\\\nPerson 2: Wow - Just 24 to go until a big round-number milestone!\\\\n\\\\n{{Title text: Thank you for making me feel less alone.}}\\\", \\\"alt\\\": \\\"Thank you for making me feel less alone.\\\", \\\"img\\\": \\\"https://imgs.xkcd.com/comics/1000_comics.png\\\", \\\"title\\\": \\\"1000 Comics\\\", \\\"day\\\": \\\"6\\\"}\",\n \"payloadMimeType\":\"application/json\"\n },\n \"infoType\":\"requestResponseTraceInfo\"\n }\n },\n {\n \"spanId\":\"69ece5ac\",\n \"parentId\":\"970b8be4\",\n \"prevSpanId\":\"63c9152b\",\n \"startTime\":514321829651200,\n \"endTime\":514321829710800,\n \"startDate\":1628678641047,\n \"endDate\":1628678641047,\n \"originalSpanId\":\"dca63c3d\",\n \"trace\":{\n \"type\":\"outsequence\",\n \"input\":{\n \"stages\":[\n \"responseProcessing\",\n \"urlRewriterProcessing\"\n ],\n \"order\":\"outsequence\",\n \"serviceType\":\"REST\"\n },\n \"output\":{\n \"responseProcessing\":true,\n \"urlRewriterProcessing\":true\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"2dd1c9a1\",\n \"parentId\":\"dca63c3d\",\n \"prevSpanId\":null,\n \"startTime\":514321829682000,\n \"endTime\":514321829693600,\n \"startDate\":1628678641047,\n \"endDate\":1628678641047,\n \"originalSpanId\":\"0a61508c\",\n \"trace\":{\n \"type\":\"responseProcessing\",\n \"input\":{\n \"policies\":[\n \n ]\n },\n \"output\":{\n \n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"8807be83\",\n \"parentId\":\"dca63c3d\",\n \"prevSpanId\":\"0a61508c\",\n \"startTime\":514321829702300,\n \"endTime\":514321829707300,\n \"startDate\":1628678641047,\n \"endDate\":1628678641047,\n \"originalSpanId\":\"f73cbfc5\",\n \"trace\":{\n \"type\":\"urlRewriterProcessing\",\n \"input\":{\n \"policies\":[\n \n ]\n },\n \"output\":{\n \n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"a3809cf4\",\n \"parentId\":\"root\",\n \"prevSpanId\":null,\n \"startTime\":514320633288600,\n \"endTime\":514321829967400,\n \"startDate\":1628678639851,\n \"endDate\":1628678641048,\n \"originalSpanId\":\"23c8771b\",\n \"trace\":{\n \"type\":\"clientRequestResponse\",\n \"request\":{\n \"headers\":{\n \"Accept\":\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8\",\n \"Upgrade-Insecure-Requests\":\"1\",\n \"User-Agent\":\"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0\",\n \"Connection\":\"keep-alive\",\n \"Host\":\"sag-7sjt3d3:11155\",\n \"Accept-Language\":\"en-US,en;q=0.5\",\n \"Accept-Encoding\":\"gzip, deflate\",\n \"Content-Type\":\"application/x-www-form-urlencoded\"\n },\n \"method\":\"get\",\n \"resourcePath\":\"/{id}/info.0.json\",\n \"queryParameters\":{\n \n },\n \"payload\":null,\n \"payloadMimeType\":null\n },\n \"response\":{\n \"payload\":\"{\\\"month\\\": \\\"1\\\", \\\"num\\\": 1000, \\\"link\\\": \\\"https://xkcd.com/1000/large/\\\", \\\"year\\\": \\\"2012\\\", \\\"news\\\": \\\"\\\", \\\"safe_title\\\": \\\"1000 Comics\\\", \\\"transcript\\\": \\\"[[1000 characters, numerous of which have appeared previously in other comics, are arranged to create the number \\\\\\\"1000\\\\\\\". Two more people stand in the foreground commenting on the formation]]\\\\n\\\\nPerson 1: WOOOO!\\\\nPerson 2: Wow - Just 24 to go until a big round-number milestone!\\\\n\\\\n{{Title text: Thank you for making me feel less alone.}}\\\", \\\"alt\\\": \\\"Thank you for making me feel less alone.\\\", \\\"img\\\": \\\"https://imgs.xkcd.com/comics/1000_comics.png\\\", \\\"title\\\": \\\"1000 Comics\\\", \\\"day\\\": \\\"6\\\"}\",\n \"payloadMimeType\":\"application/json\",\n \"headers\":{\n \"X-Cache\":\"MISS\",\n \"Last-Modified\":\"Wed, 11 Aug 2021 04:00:03 GMT\",\n \"Via\":\"1.1 varnish\",\n \"X-Timer\":\"S1628678639.483034,VS0,VE814\",\n \"Accept-Ranges\":\"bytes\",\n \"Cache-Control\":\"max-age=300\",\n \"ETag\":\"W/\\\"61134b43-26f\\\"\",\n \"X-Served-By\":\"cache-qpg1277-QPG\",\n \"Content-Encoding\":\"gzip\",\n \"Vary\":\"Accept-Encoding\",\n \"Expires\":\"Wed, 11 Aug 2021 10:49:00 GMT\",\n \"X-Cache-Hits\":\"0\",\n \"Age\":\"0\",\n \"Content-Type\":\"application/json\"\n },\n \"statusCode\":200,\n \"statusMessage\":\"OK\"\n },\n \"infoType\":\"requestResponseTraceInfo\"\n }\n }\n ]\n },\n {\n \"APIGW:7b317c35-3712-444e-ad3a-36d2cb6e160e:750\":[\n {\n \"spanId\":\"84a023d5\",\n \"parentId\":\"b6a5690d\",\n \"prevSpanId\":null,\n \"startTime\":514495183582100,\n \"endTime\":514495485354900,\n \"startDate\":1628678814402,\n \"endDate\":1628678814703,\n \"originalSpanId\":\"6eb0fb8b\",\n \"trace\":{\n \"type\":\"MediatorHttpHandler\",\n \"input\":{\n \n },\n \"output\":{\n \"insequence\":true,\n \"outsequence\":true\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"35a4e0b6\",\n \"parentId\":\"6eb0fb8b\",\n \"prevSpanId\":null,\n \"startTime\":514495183931800,\n \"endTime\":514495485297000,\n \"startDate\":1628678814402,\n \"endDate\":1628678814703,\n \"originalSpanId\":\"654bcd69\",\n \"trace\":{\n \"type\":\"insequence\",\n \"input\":{\n \"stages\":[\n \"transport\",\n \"IAM\",\n \"LMT\",\n \"requestPayloadProcessing\",\n \"routing\"\n ],\n \"order\":\"insequence\",\n \"serviceType\":\"REST\"\n },\n \"output\":{\n \"transport\":true,\n \"IAM\":true,\n \"LMT\":true,\n \"requestPayloadProcessing\":true,\n \"routing\":true\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"85a7ee53\",\n \"parentId\":\"654bcd69\",\n \"prevSpanId\":null,\n \"startTime\":514495183955300,\n \"endTime\":514495184013600,\n \"startDate\":1628678814402,\n \"endDate\":1628678814402,\n \"originalSpanId\":\"117781de\",\n \"trace\":{\n \"type\":\"transport\",\n \"input\":{\n \"policies\":[\n \"entryProtocolPolicy\"\n ]\n },\n \"output\":{\n \"entryProtocolPolicy\":true\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"6cdc228d\",\n \"parentId\":\"117781de\",\n \"prevSpanId\":null,\n \"startTime\":514495183986600,\n \"endTime\":514495184007400,\n \"startDate\":1628678814402,\n \"endDate\":1628678814402,\n \"originalSpanId\":\"34818d50\",\n \"trace\":{\n \"type\":\"entryProtocolPolicy\",\n \"input\":{\n \"Transport protocol from client\":\"http\"\n },\n \"output\":{\n \"Result\":\"SUCCESS\"\n },\n \"config\":{\n \"policyConfig\":{\n \"id\":\"5bbb3b4f-a498-4af8-a963-bcb6fe24eb0d\",\n \"names\":[\n {\n \"value\":\"Enable HTTP / HTTPS\",\n \"locale\":\"en\"\n }\n ],\n \"templateKey\":\"entryProtocolPolicy\",\n \"parameters\":[\n {\n \"templateKey\":\"protocol\",\n \"values\":[\n \"http\"\n ]\n }\n ],\n \"active\":false\n }\n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"4384aa99\",\n \"parentId\":\"654bcd69\",\n \"prevSpanId\":\"117781de\",\n \"startTime\":514495184020600,\n \"endTime\":514495184025000,\n \"startDate\":1628678814402,\n \"endDate\":1628678814402,\n \"originalSpanId\":\"906794f3\",\n \"trace\":{\n \"type\":\"IAM\",\n \"input\":{\n \"policies\":[\n \n ]\n },\n \"output\":{\n \n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"fa437c57\",\n \"parentId\":\"654bcd69\",\n \"prevSpanId\":\"906794f3\",\n \"startTime\":514495184029500,\n \"endTime\":514495184043800,\n \"startDate\":1628678814402,\n \"endDate\":1628678814402,\n \"originalSpanId\":\"bb73ab80\",\n \"trace\":{\n \"type\":\"LMT\",\n \"input\":{\n \"policies\":[\n \"monitorServicePerformance\"\n ]\n },\n \"output\":{\n \"monitorServicePerformance\":true\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"cc478132\",\n \"parentId\":\"bb73ab80\",\n \"prevSpanId\":null,\n \"startTime\":514495184035300,\n \"endTime\":514495184041800,\n \"startDate\":1628678814402,\n \"endDate\":1628678814402,\n \"originalSpanId\":\"23c42088\",\n \"trace\":{\n \"type\":\"monitorServicePerformance\",\n \"input\":{\n \n },\n \"output\":{\n \"Result\":\"SUCCESS\"\n },\n \"config\":{\n \"policyConfig\":{\n \"id\":\"d438b92e-4287-4e7c-9178-6710079d8b14\",\n \"names\":[\n {\n \"value\":\"Monitor Performance\",\n \"locale\":\"en\"\n }\n ],\n \"templateKey\":\"monitorServicePerformance\",\n \"parameters\":[\n {\n \"templateKey\":\"alertInterval\",\n \"values\":[\n \"1\"\n ]\n },\n {\n \"templateKey\":\"alertIntervalUnit\",\n \"values\":[\n \"minutes\"\n ]\n },\n {\n \"templateKey\":\"alertFrequency\",\n \"values\":[\n \"always\"\n ]\n },\n {\n \"templateKey\":\"alertMessage\",\n \"values\":[\n \"Alert for more than 5 requests in a minute!\"\n ]\n },\n {\n \"templateKey\":\"monitorRules\",\n \"parameters\":[\n {\n \"templateKey\":\"monitorRuleName\",\n \"values\":[\n \"requestCount\"\n ]\n },\n {\n \"templateKey\":\"monitorRuleOperator\",\n \"values\":[\n \"GT\"\n ]\n },\n {\n \"templateKey\":\"value\",\n \"values\":[\n \"5\"\n ]\n }\n ]\n },\n {\n \"templateKey\":\"destination\",\n \"parameters\":[\n {\n \"templateKey\":\"destinationType\",\n \"values\":[\n \"GATEWAY\"\n ]\n }\n ]\n },\n {\n \"templateKey\":\"destination\",\n \"parameters\":[\n {\n \"templateKey\":\"destinationType\",\n \"values\":[\n \"SMTP\"\n ]\n },\n {\n \"templateKey\":\"emailTo\",\n \"values\":[\n \"dsan@softwareag.com\"\n ]\n }\n ]\n }\n ],\n \"active\":false\n }\n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"431a312a\",\n \"parentId\":\"23c42088\",\n \"prevSpanId\":null,\n \"startTime\":514495184040000,\n \"endTime\":514495184040500,\n \"startDate\":1628678814402,\n \"endDate\":1628678814402,\n \"originalSpanId\":\"f51598f1\",\n \"trace\":{\n \"type\":\"PgMenPolicyMediator\",\n \"input\":{\n \n },\n \"output\":{\n \n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"44fbbfbe\",\n \"parentId\":\"654bcd69\",\n \"prevSpanId\":\"bb73ab80\",\n \"startTime\":514495184047300,\n \"endTime\":514495184050200,\n \"startDate\":1628678814402,\n \"endDate\":1628678814402,\n \"originalSpanId\":\"bb37b33f\",\n \"trace\":{\n \"type\":\"requestPayloadProcessing\",\n \"input\":{\n \"policies\":[\n \n ]\n },\n \"output\":{\n \n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"9fb4a596\",\n \"parentId\":\"654bcd69\",\n \"prevSpanId\":\"bb37b33f\",\n \"startTime\":514495184054100,\n \"endTime\":514495485292100,\n \"startDate\":1628678814402,\n \"endDate\":1628678814703,\n \"originalSpanId\":\"406f4331\",\n \"trace\":{\n \"type\":\"routing\",\n \"input\":{\n \"policies\":[\n \"callbackURLReplacer\",\n \"straightThroughRouting\"\n ]\n },\n \"output\":{\n \"callbackURLReplacer\":true,\n \"straightThroughRouting\":true\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"db3fde9f\",\n \"parentId\":\"406f4331\",\n \"prevSpanId\":null,\n \"startTime\":514495184062500,\n \"endTime\":514495184069600,\n \"startDate\":1628678814402,\n \"endDate\":1628678814402,\n \"originalSpanId\":\"85f06d83\",\n \"trace\":{\n \"type\":\"callbackURLReplacer\",\n \"input\":{\n \n },\n \"output\":{\n \"Result\":\"SUCCESS\"\n },\n \"config\":{\n \"policyConfig\":{\n \"id\":\"callbackURLReplacer\",\n \"names\":[\n {\n \"value\":\"Default Callback URL Replacer Action for API \",\n \"locale\":\"English\"\n }\n ],\n \"templateKey\":\"callbackURLReplacer\",\n \"parameters\":[\n \n ],\n \"active\":false\n }\n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"cffc3b9c\",\n \"parentId\":\"406f4331\",\n \"prevSpanId\":\"85f06d83\",\n \"startTime\":514495184073900,\n \"endTime\":514495485281800,\n \"startDate\":1628678814402,\n \"endDate\":1628678814703,\n \"originalSpanId\":\"59547365\",\n \"trace\":{\n \"type\":\"straightThroughRouting\",\n \"input\":{\n \"Alias Values Map\":{\n \"${sys:resource_path}\":\"${sys:resource_path}\",\n \"https://xkcd.com/\":\"https://xkcd.com/\"\n }\n },\n \"output\":{\n \"Result\":\"SUCCESS\"\n },\n \"config\":{\n \"policyConfig\":{\n \"id\":\"cb966575-0e0c-490d-b8f6-a6ed4d5caca1\",\n \"names\":[\n {\n \"value\":\"Straight Through Routing\",\n \"locale\":\"en\"\n }\n ],\n \"templateKey\":\"straightThroughRouting\",\n \"parameters\":[\n {\n \"templateKey\":\"endpointUri\",\n \"values\":[\n \"https://xkcd.com/${sys:resource_path}\"\n ]\n },\n {\n \"templateKey\":\"method\",\n \"values\":[\n \"CUSTOM\"\n ]\n }\n ],\n \"active\":false\n }\n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"50e39296\",\n \"parentId\":\"59547365\",\n \"prevSpanId\":null,\n \"startTime\":514495184095100,\n \"endTime\":514495485268500,\n \"startDate\":1628678814402,\n \"endDate\":1628678814703,\n \"originalSpanId\":\"255e6afa\",\n \"trace\":{\n \"type\":\"NATIVE_SERVICE_CALL\",\n \"request\":{\n \"payload\":null,\n \"method\":\"GET\",\n \"externalURL\":\"https://xkcd.com/1000/info.0.json\",\n \"headers\":{\n \"Accept\":\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8\",\n \"Cache-Control\":\"no-cache\",\n \"Upgrade-Insecure-Requests\":\"1\",\n \"User-Agent\":\"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0\",\n \"Accept-Language\":\"en-US,en;q=0.5\",\n \"Accept-Encoding\":\"gzip, deflate\",\n \"DNT\":\"1\",\n \"Pragma\":\"no-cache\",\n \"Content-Type\":\"application/x-www-form-urlencoded\"\n },\n \"queryParameters\":{\n \n },\n \"payloadMimeType\":null\n },\n \"response\":{\n \"statusCode\":200,\n \"statusMessage\":\"OK\",\n \"headers\":{\n \"X-Cache\":\"HIT\",\n \"Server\":\"nginx\",\n \"Connection\":\"keep-alive\",\n \"Last-Modified\":\"Wed, 11 Aug 2021 04:00:03 GMT\",\n \"Date\":\"Wed, 11 Aug 2021 10:46:53 GMT\",\n \"Via\":\"1.1 varnish\",\n \"X-Timer\":\"S1628678814.948810,VS0,VE0\",\n \"Accept-Ranges\":\"bytes\",\n \"Cache-Control\":\"max-age=300\",\n \"ETag\":\"W/\\\"61134b43-26f\\\"\",\n \"X-Served-By\":\"cache-qpg1278-QPG\",\n \"Content-Encoding\":\"gzip\",\n \"Vary\":\"Accept-Encoding\",\n \"Expires\":\"Wed, 11 Aug 2021 10:49:00 GMT\",\n \"X-Cache-Hits\":\"1\",\n \"Age\":\"174\",\n \"Content-Type\":\"application/json\"\n },\n \"payload\":\"{\\\"month\\\": \\\"1\\\", \\\"num\\\": 1000, \\\"link\\\": \\\"https://xkcd.com/1000/large/\\\", \\\"year\\\": \\\"2012\\\", \\\"news\\\": \\\"\\\", \\\"safe_title\\\": \\\"1000 Comics\\\", \\\"transcript\\\": \\\"[[1000 characters, numerous of which have appeared previously in other comics, are arranged to create the number \\\\\\\"1000\\\\\\\". Two more people stand in the foreground commenting on the formation]]\\\\n\\\\nPerson 1: WOOOO!\\\\nPerson 2: Wow - Just 24 to go until a big round-number milestone!\\\\n\\\\n{{Title text: Thank you for making me feel less alone.}}\\\", \\\"alt\\\": \\\"Thank you for making me feel less alone.\\\", \\\"img\\\": \\\"https://imgs.xkcd.com/comics/1000_comics.png\\\", \\\"title\\\": \\\"1000 Comics\\\", \\\"day\\\": \\\"6\\\"}\",\n \"payloadMimeType\":\"application/json\"\n },\n \"infoType\":\"requestResponseTraceInfo\"\n }\n },\n {\n \"spanId\":\"0f9b80d7\",\n \"parentId\":\"6eb0fb8b\",\n \"prevSpanId\":\"654bcd69\",\n \"startTime\":514495485312800,\n \"endTime\":514495485353200,\n \"startDate\":1628678814703,\n \"endDate\":1628678814703,\n \"originalSpanId\":\"bab53110\",\n \"trace\":{\n \"type\":\"outsequence\",\n \"input\":{\n \"stages\":[\n \"responseProcessing\",\n \"urlRewriterProcessing\"\n ],\n \"order\":\"outsequence\",\n \"serviceType\":\"REST\"\n },\n \"output\":{\n \"responseProcessing\":true,\n \"urlRewriterProcessing\":true\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"4518b634\",\n \"parentId\":\"bab53110\",\n \"prevSpanId\":null,\n \"startTime\":514495485334900,\n \"endTime\":514495485343300,\n \"startDate\":1628678814703,\n \"endDate\":1628678814703,\n \"originalSpanId\":\"81ed1c53\",\n \"trace\":{\n \"type\":\"responseProcessing\",\n \"input\":{\n \"policies\":[\n \n ]\n },\n \"output\":{\n \n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"648db11d\",\n \"parentId\":\"bab53110\",\n \"prevSpanId\":\"81ed1c53\",\n \"startTime\":514495485348500,\n \"endTime\":514495485351400,\n \"startDate\":1628678814703,\n \"endDate\":1628678814703,\n \"originalSpanId\":\"dfbe4a07\",\n \"trace\":{\n \"type\":\"urlRewriterProcessing\",\n \"input\":{\n \"policies\":[\n \n ]\n },\n \"output\":{\n \n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"eb97ad8d\",\n \"parentId\":\"root\",\n \"prevSpanId\":null,\n \"startTime\":514495182878600,\n \"endTime\":514495485503200,\n \"startDate\":1628678814401,\n \"endDate\":1628678814703,\n \"originalSpanId\":\"b6a5690d\",\n \"trace\":{\n \"type\":\"clientRequestResponse\",\n \"request\":{\n \"headers\":{\n \"Accept\":\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8\",\n \"Cache-Control\":\"no-cache\",\n \"Upgrade-Insecure-Requests\":\"1\",\n \"User-Agent\":\"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0\",\n \"Connection\":\"keep-alive\",\n \"Host\":\"sag-7sjt3d3:11155\",\n \"Accept-Language\":\"en-US,en;q=0.5\",\n \"Accept-Encoding\":\"gzip, deflate\",\n \"DNT\":\"1\",\n \"Pragma\":\"no-cache\",\n \"Content-Type\":\"application/x-www-form-urlencoded\"\n },\n \"method\":\"get\",\n \"resourcePath\":\"/{id}/info.0.json\",\n \"queryParameters\":{\n \n },\n \"payload\":null,\n \"payloadMimeType\":null\n },\n \"response\":{\n \"payload\":\"{\\\"month\\\": \\\"1\\\", \\\"num\\\": 1000, \\\"link\\\": \\\"https://xkcd.com/1000/large/\\\", \\\"year\\\": \\\"2012\\\", \\\"news\\\": \\\"\\\", \\\"safe_title\\\": \\\"1000 Comics\\\", \\\"transcript\\\": \\\"[[1000 characters, numerous of which have appeared previously in other comics, are arranged to create the number \\\\\\\"1000\\\\\\\". Two more people stand in the foreground commenting on the formation]]\\\\n\\\\nPerson 1: WOOOO!\\\\nPerson 2: Wow - Just 24 to go until a big round-number milestone!\\\\n\\\\n{{Title text: Thank you for making me feel less alone.}}\\\", \\\"alt\\\": \\\"Thank you for making me feel less alone.\\\", \\\"img\\\": \\\"https://imgs.xkcd.com/comics/1000_comics.png\\\", \\\"title\\\": \\\"1000 Comics\\\", \\\"day\\\": \\\"6\\\"}\",\n \"payloadMimeType\":\"application/json\",\n \"headers\":{\n \"X-Cache\":\"HIT\",\n \"Last-Modified\":\"Wed, 11 Aug 2021 04:00:03 GMT\",\n \"Via\":\"1.1 varnish\",\n \"X-Timer\":\"S1628678814.948810,VS0,VE0\",\n \"Accept-Ranges\":\"bytes\",\n \"Cache-Control\":\"max-age=300\",\n \"ETag\":\"W/\\\"61134b43-26f\\\"\",\n \"X-Served-By\":\"cache-qpg1278-QPG\",\n \"Content-Encoding\":\"gzip\",\n \"Vary\":\"Accept-Encoding\",\n \"Expires\":\"Wed, 11 Aug 2021 10:49:00 GMT\",\n \"X-Cache-Hits\":\"1\",\n \"Age\":\"174\",\n \"Content-Type\":\"application/json\"\n },\n \"statusCode\":200,\n \"statusMessage\":\"OK\"\n },\n \"infoType\":\"requestResponseTraceInfo\"\n }\n }\n ]\n },\n {\n \"APIGW:831d6eab-397d-47c8-9e16-2603c7c9b70e:753\":[\n {\n \"spanId\":\"52c224e4\",\n \"parentId\":\"4716e884\",\n \"prevSpanId\":null,\n \"startTime\":514350457137700,\n \"endTime\":514350699861200,\n \"startDate\":1628678669675,\n \"endDate\":1628678669918,\n \"originalSpanId\":\"c7988d36\",\n \"trace\":{\n \"type\":\"MediatorHttpHandler\",\n \"input\":{\n \n },\n \"output\":{\n \"insequence\":true,\n \"outsequence\":true\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"e569bced\",\n \"parentId\":\"c7988d36\",\n \"prevSpanId\":null,\n \"startTime\":514350457237200,\n \"endTime\":514350699788100,\n \"startDate\":1628678669676,\n \"endDate\":1628678669918,\n \"originalSpanId\":\"76a31600\",\n \"trace\":{\n \"type\":\"insequence\",\n \"input\":{\n \"stages\":[\n \"transport\",\n \"IAM\",\n \"LMT\",\n \"requestPayloadProcessing\",\n \"routing\"\n ],\n \"order\":\"insequence\",\n \"serviceType\":\"REST\"\n },\n \"output\":{\n \"transport\":true,\n \"IAM\":true,\n \"LMT\":true,\n \"requestPayloadProcessing\":true,\n \"routing\":true\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"783afab7\",\n \"parentId\":\"76a31600\",\n \"prevSpanId\":null,\n \"startTime\":514350457256300,\n \"endTime\":514350457291100,\n \"startDate\":1628678669676,\n \"endDate\":1628678669676,\n \"originalSpanId\":\"d2fde21e\",\n \"trace\":{\n \"type\":\"transport\",\n \"input\":{\n \"policies\":[\n \"entryProtocolPolicy\"\n ]\n },\n \"output\":{\n \"entryProtocolPolicy\":true\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"b69bd153\",\n \"parentId\":\"d2fde21e\",\n \"prevSpanId\":null,\n \"startTime\":514350457269700,\n \"endTime\":514350457285600,\n \"startDate\":1628678669676,\n \"endDate\":1628678669676,\n \"originalSpanId\":\"d79e47f9\",\n \"trace\":{\n \"type\":\"entryProtocolPolicy\",\n \"input\":{\n \"Transport protocol from client\":\"http\"\n },\n \"output\":{\n \"Result\":\"SUCCESS\"\n },\n \"config\":{\n \"policyConfig\":{\n \"id\":\"5bbb3b4f-a498-4af8-a963-bcb6fe24eb0d\",\n \"names\":[\n {\n \"value\":\"Enable HTTP / HTTPS\",\n \"locale\":\"en\"\n }\n ],\n \"templateKey\":\"entryProtocolPolicy\",\n \"parameters\":[\n {\n \"templateKey\":\"protocol\",\n \"values\":[\n \"http\"\n ]\n }\n ],\n \"active\":false\n }\n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"a4e90859\",\n \"parentId\":\"76a31600\",\n \"prevSpanId\":\"d2fde21e\",\n \"startTime\":514350457297000,\n \"endTime\":514350457301100,\n \"startDate\":1628678669676,\n \"endDate\":1628678669676,\n \"originalSpanId\":\"8d28b0ab\",\n \"trace\":{\n \"type\":\"IAM\",\n \"input\":{\n \"policies\":[\n \n ]\n },\n \"output\":{\n \n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"3cb7e809\",\n \"parentId\":\"76a31600\",\n \"prevSpanId\":\"8d28b0ab\",\n \"startTime\":514350457305300,\n \"endTime\":514350457319800,\n \"startDate\":1628678669676,\n \"endDate\":1628678669676,\n \"originalSpanId\":\"ec3894fa\",\n \"trace\":{\n \"type\":\"LMT\",\n \"input\":{\n \"policies\":[\n \"monitorServicePerformance\"\n ]\n },\n \"output\":{\n \"monitorServicePerformance\":true\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"1de3ed78\",\n \"parentId\":\"ec3894fa\",\n \"prevSpanId\":null,\n \"startTime\":514350457311400,\n \"endTime\":514350457317700,\n \"startDate\":1628678669676,\n \"endDate\":1628678669676,\n \"originalSpanId\":\"69aad21c\",\n \"trace\":{\n \"type\":\"monitorServicePerformance\",\n \"input\":{\n \n },\n \"output\":{\n \"Result\":\"SUCCESS\"\n },\n \"config\":{\n \"policyConfig\":{\n \"id\":\"d438b92e-4287-4e7c-9178-6710079d8b14\",\n \"names\":[\n {\n \"value\":\"Monitor Performance\",\n \"locale\":\"en\"\n }\n ],\n \"templateKey\":\"monitorServicePerformance\",\n \"parameters\":[\n {\n \"templateKey\":\"alertInterval\",\n \"values\":[\n \"1\"\n ]\n },\n {\n \"templateKey\":\"alertIntervalUnit\",\n \"values\":[\n \"minutes\"\n ]\n },\n {\n \"templateKey\":\"alertFrequency\",\n \"values\":[\n \"always\"\n ]\n },\n {\n \"templateKey\":\"alertMessage\",\n \"values\":[\n \"Alert for more than 5 requests in a minute!\"\n ]\n },\n {\n \"templateKey\":\"monitorRules\",\n \"parameters\":[\n {\n \"templateKey\":\"monitorRuleName\",\n \"values\":[\n \"requestCount\"\n ]\n },\n {\n \"templateKey\":\"monitorRuleOperator\",\n \"values\":[\n \"GT\"\n ]\n },\n {\n \"templateKey\":\"value\",\n \"values\":[\n \"5\"\n ]\n }\n ]\n },\n {\n \"templateKey\":\"destination\",\n \"parameters\":[\n {\n \"templateKey\":\"destinationType\",\n \"values\":[\n \"GATEWAY\"\n ]\n }\n ]\n },\n {\n \"templateKey\":\"destination\",\n \"parameters\":[\n {\n \"templateKey\":\"destinationType\",\n \"values\":[\n \"SMTP\"\n ]\n },\n {\n \"templateKey\":\"emailTo\",\n \"values\":[\n \"dsan@softwareag.com\"\n ]\n }\n ]\n }\n ],\n \"active\":false\n }\n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"542ea59e\",\n \"parentId\":\"69aad21c\",\n \"prevSpanId\":null,\n \"startTime\":514350457315700,\n \"endTime\":514350457316400,\n \"startDate\":1628678669676,\n \"endDate\":1628678669676,\n \"originalSpanId\":\"d03c6efd\",\n \"trace\":{\n \"type\":\"PgMenPolicyMediator\",\n \"input\":{\n \n },\n \"output\":{\n \n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"4ccade99\",\n \"parentId\":\"76a31600\",\n \"prevSpanId\":\"ec3894fa\",\n \"startTime\":514350457324700,\n \"endTime\":514350457328900,\n \"startDate\":1628678669676,\n \"endDate\":1628678669676,\n \"originalSpanId\":\"3a038e40\",\n \"trace\":{\n \"type\":\"requestPayloadProcessing\",\n \"input\":{\n \"policies\":[\n \n ]\n },\n \"output\":{\n \n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"0f4d099a\",\n \"parentId\":\"76a31600\",\n \"prevSpanId\":\"3a038e40\",\n \"startTime\":514350457333000,\n \"endTime\":514350699779300,\n \"startDate\":1628678669676,\n \"endDate\":1628678669918,\n \"originalSpanId\":\"5d706f23\",\n \"trace\":{\n \"type\":\"routing\",\n \"input\":{\n \"policies\":[\n \"callbackURLReplacer\",\n \"straightThroughRouting\"\n ]\n },\n \"output\":{\n \"callbackURLReplacer\":true,\n \"straightThroughRouting\":true\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"dc87a5a4\",\n \"parentId\":\"5d706f23\",\n \"prevSpanId\":null,\n \"startTime\":514350457341400,\n \"endTime\":514350457347600,\n \"startDate\":1628678669676,\n \"endDate\":1628678669676,\n \"originalSpanId\":\"518c5d56\",\n \"trace\":{\n \"type\":\"callbackURLReplacer\",\n \"input\":{\n \n },\n \"output\":{\n \"Result\":\"SUCCESS\"\n },\n \"config\":{\n \"policyConfig\":{\n \"id\":\"callbackURLReplacer\",\n \"names\":[\n {\n \"value\":\"Default Callback URL Replacer Action for API \",\n \"locale\":\"English\"\n }\n ],\n \"templateKey\":\"callbackURLReplacer\",\n \"parameters\":[\n \n ],\n \"active\":false\n }\n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"f407184c\",\n \"parentId\":\"5d706f23\",\n \"prevSpanId\":\"518c5d56\",\n \"startTime\":514350457352000,\n \"endTime\":514350699769000,\n \"startDate\":1628678669676,\n \"endDate\":1628678669918,\n \"originalSpanId\":\"936ce3f8\",\n \"trace\":{\n \"type\":\"straightThroughRouting\",\n \"input\":{\n \"Alias Values Map\":{\n \"${sys:resource_path}\":\"${sys:resource_path}\",\n \"https://xkcd.com/\":\"https://xkcd.com/\"\n }\n },\n \"output\":{\n \"Result\":\"SUCCESS\"\n },\n \"config\":{\n \"policyConfig\":{\n \"id\":\"cb966575-0e0c-490d-b8f6-a6ed4d5caca1\",\n \"names\":[\n {\n \"value\":\"Straight Through Routing\",\n \"locale\":\"en\"\n }\n ],\n \"templateKey\":\"straightThroughRouting\",\n \"parameters\":[\n {\n \"templateKey\":\"endpointUri\",\n \"values\":[\n \"https://xkcd.com/${sys:resource_path}\"\n ]\n },\n {\n \"templateKey\":\"method\",\n \"values\":[\n \"CUSTOM\"\n ]\n }\n ],\n \"active\":false\n }\n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"f8fbf1fb\",\n \"parentId\":\"936ce3f8\",\n \"prevSpanId\":null,\n \"startTime\":514350457370700,\n \"endTime\":514350699755700,\n \"startDate\":1628678669676,\n \"endDate\":1628678669918,\n \"originalSpanId\":\"7c41755f\",\n \"trace\":{\n \"type\":\"NATIVE_SERVICE_CALL\",\n \"request\":{\n \"payload\":null,\n \"method\":\"GET\",\n \"externalURL\":\"https://xkcd.com/856/info.0.json\",\n \"headers\":{\n \"User-Agent\":\"PostmanRuntime/7.28.1\",\n \"Accept-Encoding\":\"gzip, deflate, br\",\n \"Accept\":\"*/*\",\n \"Content-Type\":\"application/x-www-form-urlencoded\"\n },\n \"queryParameters\":{\n \n },\n \"payloadMimeType\":null\n },\n \"response\":{\n \"statusCode\":200,\n \"statusMessage\":\"OK\",\n \"headers\":{\n \"X-Cache\":\"HIT\",\n \"Server\":\"nginx\",\n \"Connection\":\"keep-alive\",\n \"Last-Modified\":\"Wed, 11 Aug 2021 04:00:03 GMT\",\n \"Date\":\"Wed, 11 Aug 2021 10:44:29 GMT\",\n \"Via\":\"1.1 varnish\",\n \"X-Timer\":\"S1628678669.173788,VS0,VE0\",\n \"Accept-Ranges\":\"bytes\",\n \"Cache-Control\":\"max-age=300\",\n \"ETag\":\"W/\\\"61134b43-8ca\\\"\",\n \"X-Served-By\":\"cache-qpg1249-QPG\",\n \"Content-Encoding\":\"gzip\",\n \"Vary\":\"Accept-Encoding\",\n \"Expires\":\"Wed, 11 Aug 2021 10:49:22 GMT\",\n \"X-Cache-Hits\":\"1\",\n \"Age\":\"7\",\n \"Content-Type\":\"application/json\"\n },\n \"payload\":\"{\\\"month\\\": \\\"2\\\", \\\"num\\\": 856, \\\"link\\\": \\\"\\\", \\\"year\\\": \\\"2011\\\", \\\"news\\\": \\\"\\\", \\\"safe_title\\\": \\\"Trochee Fixation\\\", \\\"transcript\\\": \\\"Girl: Robot ninja! Pirate doctor laser monkey! Narwhal zombie badger hobo bacon kitty captain penguin raptor jesus!\\\\n\\\\nScientist (to guy): We'd been seeing this brain damage for years, but only recently did our linguists identify the pattern behind it.\\\\n\\\\nScientist: The patients fixate on animals and types of people whose names are trochees (two syllables, with the accent on the first).\\\\n\\\\nThe malfunction causes a rush of dopamine whenever these trocheese are heard or spoken.\\\\n[[Chart shows \\\\\\\"internet\\\\\\\" and \\\\\\\"brain,\\\\\\\" with arrows marked \\\\\\\"trochees\\\\\\\" traveling both ways between them. An arrow marked \\\\\\\"dopamine\\\\\\\" loops from the brain back to the brain.]]\\\\n\\\\nThe warning signs appear in childhood:\\\\n[[Child sits in front of TV.]]\\\\nChild: Yeah! Mighty teenage morphin' ninja power mutant turtle rangers!\\\\nSocial reinforcement focuses the fixation on a few dozen words.\\\\nGuy (off-panel): Is there a cure?\\\\n\\\\n[[Girl is reclining under a big machine pointed at her face.]]\\\\nScientist: We're about to try a radical trocheeotomy.\\\\nGuy: Rip out her vocal chords? I'm in favor.\\\\nScientist: No, we're modifying her vocabulary* to erase the words she's fixated on.\\\\n*Digitoneurolinguistic hacking! It's totally real! Ask Neal Stephenson.\\\\n\\\\nScientist: Either the gap will be filled by normal words, or she'll just generate a new set of trochees.\\\\nScientist: Here goes.\\\\n[[She pulls the lever on a large panel.]]\\\\n<>\\\\n\\\\n[[Girl is waking up.]]\\\\nGirl: ... GzZhRmPh ...\\\\nGirl ... banjo turtle!\\\\nGirl: Jetpack ferret pizza lawyer! Dentist hamster wombat plumber turkey jester hindu cowboy hooker bobcat scrapple!\\\\nScientist (off-panel): Sigh.\\\\nScientist: Time for plan B.\\\\nScientist: Someone get a brick.\\\\n\\\\n{{Title text: If you Huffman-coded all the 'random' things everyone on the internet has said over the years, you'd wind up with, like, 30 or 40 bytes *tops*.}}\\\", \\\"alt\\\": \\\"If you Huffman-coded all the 'random' things everyone on the internet has said over the years, you'd wind up with, like, 30 or 40 bytes *tops*.\\\", \\\"img\\\": \\\"https://imgs.xkcd.com/comics/trochee_fixation.png\\\", \\\"title\\\": \\\"Trochee Fixation\\\", \\\"day\\\": \\\"4\\\"}\",\n \"payloadMimeType\":\"application/json\"\n },\n \"infoType\":\"requestResponseTraceInfo\"\n }\n },\n {\n \"spanId\":\"e8a7f5ec\",\n \"parentId\":\"c7988d36\",\n \"prevSpanId\":\"76a31600\",\n \"startTime\":514350699804200,\n \"endTime\":514350699859200,\n \"startDate\":1628678669918,\n \"endDate\":1628678669918,\n \"originalSpanId\":\"d23bdad8\",\n \"trace\":{\n \"type\":\"outsequence\",\n \"input\":{\n \"stages\":[\n \"responseProcessing\",\n \"urlRewriterProcessing\"\n ],\n \"order\":\"outsequence\",\n \"serviceType\":\"REST\"\n },\n \"output\":{\n \"responseProcessing\":true,\n \"urlRewriterProcessing\":true\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"abffda68\",\n \"parentId\":\"d23bdad8\",\n \"prevSpanId\":null,\n \"startTime\":514350699838500,\n \"endTime\":514350699847800,\n \"startDate\":1628678669918,\n \"endDate\":1628678669918,\n \"originalSpanId\":\"92baaec9\",\n \"trace\":{\n \"type\":\"responseProcessing\",\n \"input\":{\n \"policies\":[\n \n ]\n },\n \"output\":{\n \n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"63522eae\",\n \"parentId\":\"d23bdad8\",\n \"prevSpanId\":\"92baaec9\",\n \"startTime\":514350699853900,\n \"endTime\":514350699857000,\n \"startDate\":1628678669918,\n \"endDate\":1628678669918,\n \"originalSpanId\":\"7343563e\",\n \"trace\":{\n \"type\":\"urlRewriterProcessing\",\n \"input\":{\n \"policies\":[\n \n ]\n },\n \"output\":{\n \n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"e3d42c9f\",\n \"parentId\":\"root\",\n \"prevSpanId\":null,\n \"startTime\":514350456463400,\n \"endTime\":514350700020800,\n \"startDate\":1628678669675,\n \"endDate\":1628678669918,\n \"originalSpanId\":\"4716e884\",\n \"trace\":{\n \"type\":\"clientRequestResponse\",\n \"request\":{\n \"headers\":{\n \"Accept\":\"*/*\",\n \"User-Agent\":\"PostmanRuntime/7.28.1\",\n \"Connection\":\"keep-alive\",\n \"Host\":\"sag-7sjt3d3:11155\",\n \"Accept-Encoding\":\"gzip, deflate, br\",\n \"Content-Type\":\"application/x-www-form-urlencoded\"\n },\n \"method\":\"get\",\n \"resourcePath\":\"/{id}/info.0.json\",\n \"queryParameters\":{\n \n },\n \"payload\":null,\n \"payloadMimeType\":null\n },\n \"response\":{\n \"payload\":\"{\\\"month\\\": \\\"2\\\", \\\"num\\\": 856, \\\"link\\\": \\\"\\\", \\\"year\\\": \\\"2011\\\", \\\"news\\\": \\\"\\\", \\\"safe_title\\\": \\\"Trochee Fixation\\\", \\\"transcript\\\": \\\"Girl: Robot ninja! Pirate doctor laser monkey! Narwhal zombie badger hobo bacon kitty captain penguin raptor jesus!\\\\n\\\\nScientist (to guy): We'd been seeing this brain damage for years, but only recently did our linguists identify the pattern behind it.\\\\n\\\\nScientist: The patients fixate on animals and types of people whose names are trochees (two syllables, with the accent on the first).\\\\n\\\\nThe malfunction causes a rush of dopamine whenever these trocheese are heard or spoken.\\\\n[[Chart shows \\\\\\\"internet\\\\\\\" and \\\\\\\"brain,\\\\\\\" with arrows marked \\\\\\\"trochees\\\\\\\" traveling both ways between them. An arrow marked \\\\\\\"dopamine\\\\\\\" loops from the brain back to the brain.]]\\\\n\\\\nThe warning signs appear in childhood:\\\\n[[Child sits in front of TV.]]\\\\nChild: Yeah! Mighty teenage morphin' ninja power mutant turtle rangers!\\\\nSocial reinforcement focuses the fixation on a few dozen words.\\\\nGuy (off-panel): Is there a cure?\\\\n\\\\n[[Girl is reclining under a big machine pointed at her face.]]\\\\nScientist: We're about to try a radical trocheeotomy.\\\\nGuy: Rip out her vocal chords? I'm in favor.\\\\nScientist: No, we're modifying her vocabulary* to erase the words she's fixated on.\\\\n*Digitoneurolinguistic hacking! It's totally real! Ask Neal Stephenson.\\\\n\\\\nScientist: Either the gap will be filled by normal words, or she'll just generate a new set of trochees.\\\\nScientist: Here goes.\\\\n[[She pulls the lever on a large panel.]]\\\\n<>\\\\n\\\\n[[Girl is waking up.]]\\\\nGirl: ... GzZhRmPh ...\\\\nGirl ... banjo turtle!\\\\nGirl: Jetpack ferret pizza lawyer! Dentist hamster wombat plumber turkey jester hindu cowboy hooker bobcat scrapple!\\\\nScientist (off-panel): Sigh.\\\\nScientist: Time for plan B.\\\\nScientist: Someone get a brick.\\\\n\\\\n{{Title text: If you Huffman-coded all the 'random' things everyone on the internet has said over the years, you'd wind up with, like, 30 or 40 bytes *tops*.}}\\\", \\\"alt\\\": \\\"If you Huffman-coded all the 'random' things everyone on the internet has said over the years, you'd wind up with, like, 30 or 40 bytes *tops*.\\\", \\\"img\\\": \\\"https://imgs.xkcd.com/comics/trochee_fixation.png\\\", \\\"title\\\": \\\"Trochee Fixation\\\", \\\"day\\\": \\\"4\\\"}\",\n \"payloadMimeType\":\"application/json\",\n \"headers\":{\n \"X-Cache\":\"HIT\",\n \"Last-Modified\":\"Wed, 11 Aug 2021 04:00:03 GMT\",\n \"Via\":\"1.1 varnish\",\n \"X-Timer\":\"S1628678669.173788,VS0,VE0\",\n \"Accept-Ranges\":\"bytes\",\n \"Cache-Control\":\"max-age=300\",\n \"ETag\":\"W/\\\"61134b43-8ca\\\"\",\n \"X-Served-By\":\"cache-qpg1249-QPG\",\n \"Content-Encoding\":\"gzip\",\n \"Vary\":\"Accept-Encoding\",\n \"Expires\":\"Wed, 11 Aug 2021 10:49:22 GMT\",\n \"X-Cache-Hits\":\"1\",\n \"Age\":\"7\",\n \"Content-Type\":\"application/json\"\n },\n \"statusCode\":200,\n \"statusMessage\":\"OK\"\n },\n \"infoType\":\"requestResponseTraceInfo\"\n }\n }\n ]\n }\n ]\n}"
+ },
+ "schema" : {
+ "$ref" : "#/definitions/ImportTraceInfoResponse"
+ }
+ },
+ "400" : {
+ "description" : "A bad request error occurs if the imported archive could not be processed or if it is an invalid file or when the file size exceeds 50 MB."
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "500" : {
+ "description" : "This status code indicates that an error occurred while processing the imported archive."
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -1553,6 +2237,29 @@
"description" : "This status code indicates that the correlationID specified is not found in the API Gateway"
}
},
+ "responsesObject" : {
+ "200" : {
+ "description" : "Retrieve trace information for an API invocation event specified by its correlationID.",
+ "examples" : {
+ "application/json" : "{\n \"trace\":{\n \"APIGW:7b317c35-3712-444e-ad3a-36d2cb6e160e:750\":[\n {\n \"spanId\":\"e1204f1f\",\n \"parentId\":\"b6a5690d\",\n \"prevSpanId\":null,\n \"startTime\":514495183582100,\n \"endTime\":514495485354900,\n \"startDate\":1628678814402,\n \"endDate\":1628678814703,\n \"originalSpanId\":\"6eb0fb8b\",\n \"trace\":{\n \"type\":\"MediatorHttpHandler\",\n \"input\":{\n \n },\n \"output\":{\n \"insequence\":true,\n \"outsequence\":true\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"d351a4ae\",\n \"parentId\":\"6eb0fb8b\",\n \"prevSpanId\":null,\n \"startTime\":514495183931800,\n \"endTime\":514495485297000,\n \"startDate\":1628678814402,\n \"endDate\":1628678814703,\n \"originalSpanId\":\"654bcd69\",\n \"trace\":{\n \"type\":\"insequence\",\n \"input\":{\n \"serviceType\":\"REST\",\n \"stages\":[\n \"transport\",\n \"IAM\",\n \"LMT\",\n \"requestPayloadProcessing\",\n \"routing\"\n ],\n \"order\":\"insequence\"\n },\n \"output\":{\n \"requestPayloadProcessing\":true,\n \"routing\":true,\n \"LMT\":true,\n \"IAM\":true,\n \"transport\":true\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"dc4ccff1\",\n \"parentId\":\"654bcd69\",\n \"prevSpanId\":null,\n \"startTime\":514495183955300,\n \"endTime\":514495184013600,\n \"startDate\":1628678814402,\n \"endDate\":1628678814402,\n \"originalSpanId\":\"117781de\",\n \"trace\":{\n \"type\":\"transport\",\n \"input\":{\n \"policies\":[\n \"entryProtocolPolicy\"\n ]\n },\n \"output\":{\n \"entryProtocolPolicy\":true\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"4fe15666\",\n \"parentId\":\"117781de\",\n \"prevSpanId\":null,\n \"startTime\":514495183986600,\n \"endTime\":514495184007400,\n \"startDate\":1628678814402,\n \"endDate\":1628678814402,\n \"originalSpanId\":\"34818d50\",\n \"trace\":{\n \"type\":\"entryProtocolPolicy\",\n \"input\":{\n \"Transport protocol from client\":\"http\"\n },\n \"output\":{\n \"Result\":\"SUCCESS\"\n },\n \"config\":{\n \"policyConfig\":{\n \"names\":[\n {\n \"locale\":\"en\",\n \"value\":\"Enable HTTP / HTTPS\"\n }\n ],\n \"active\":false,\n \"id\":\"5bbb3b4f-a498-4af8-a963-bcb6fe24eb0d\",\n \"parameters\":[\n {\n \"values\":[\n \"http\"\n ],\n \"templateKey\":\"protocol\"\n }\n ],\n \"templateKey\":\"entryProtocolPolicy\"\n }\n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"46653dfe\",\n \"parentId\":\"654bcd69\",\n \"prevSpanId\":\"117781de\",\n \"startTime\":514495184020600,\n \"endTime\":514495184025000,\n \"startDate\":1628678814402,\n \"endDate\":1628678814402,\n \"originalSpanId\":\"906794f3\",\n \"trace\":{\n \"type\":\"IAM\",\n \"input\":{\n \"policies\":[\n \n ]\n },\n \"output\":{\n \n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"a88935e6\",\n \"parentId\":\"654bcd69\",\n \"prevSpanId\":\"906794f3\",\n \"startTime\":514495184029500,\n \"endTime\":514495184043800,\n \"startDate\":1628678814402,\n \"endDate\":1628678814402,\n \"originalSpanId\":\"bb73ab80\",\n \"trace\":{\n \"type\":\"LMT\",\n \"input\":{\n \"policies\":[\n \"monitorServicePerformance\"\n ]\n },\n \"output\":{\n \"monitorServicePerformance\":true\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"78fd8c3f\",\n \"parentId\":\"bb73ab80\",\n \"prevSpanId\":null,\n \"startTime\":514495184035300,\n \"endTime\":514495184041800,\n \"startDate\":1628678814402,\n \"endDate\":1628678814402,\n \"originalSpanId\":\"23c42088\",\n \"trace\":{\n \"type\":\"monitorServicePerformance\",\n \"input\":{\n \n },\n \"output\":{\n \"Result\":\"SUCCESS\"\n },\n \"config\":{\n \"policyConfig\":{\n \"names\":[\n {\n \"locale\":\"en\",\n \"value\":\"Monitor Performance\"\n }\n ],\n \"active\":false,\n \"id\":\"d438b92e-4287-4e7c-9178-6710079d8b14\",\n \"parameters\":[\n {\n \"values\":[\n \"1\"\n ],\n \"templateKey\":\"alertInterval\"\n },\n {\n \"values\":[\n \"minutes\"\n ],\n \"templateKey\":\"alertIntervalUnit\"\n },\n {\n \"values\":[\n \"always\"\n ],\n \"templateKey\":\"alertFrequency\"\n },\n {\n \"values\":[\n \"Alert for more than 5 requests in a minute!\"\n ],\n \"templateKey\":\"alertMessage\"\n },\n {\n \"parameters\":[\n {\n \"values\":[\n \"requestCount\"\n ],\n \"templateKey\":\"monitorRuleName\"\n },\n {\n \"values\":[\n \"GT\"\n ],\n \"templateKey\":\"monitorRuleOperator\"\n },\n {\n \"values\":[\n \"5\"\n ],\n \"templateKey\":\"value\"\n }\n ],\n \"templateKey\":\"monitorRules\"\n },\n {\n \"parameters\":[\n {\n \"values\":[\n \"GATEWAY\"\n ],\n \"templateKey\":\"destinationType\"\n }\n ],\n \"templateKey\":\"destination\"\n },\n {\n \"parameters\":[\n {\n \"values\":[\n \"SMTP\"\n ],\n \"templateKey\":\"destinationType\"\n },\n {\n \"values\":[\n \"dsan@softwareag.com\"\n ],\n \"templateKey\":\"emailTo\"\n }\n ],\n \"templateKey\":\"destination\"\n }\n ],\n \"templateKey\":\"monitorServicePerformance\"\n }\n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"83af68fa\",\n \"parentId\":\"23c42088\",\n \"prevSpanId\":null,\n \"startTime\":514495184040000,\n \"endTime\":514495184040500,\n \"startDate\":1628678814402,\n \"endDate\":1628678814402,\n \"originalSpanId\":\"f51598f1\",\n \"trace\":{\n \"type\":\"PgMenPolicyMediator\",\n \"input\":{\n \n },\n \"output\":{\n \n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"04089c03\",\n \"parentId\":\"654bcd69\",\n \"prevSpanId\":\"bb73ab80\",\n \"startTime\":514495184047300,\n \"endTime\":514495184050200,\n \"startDate\":1628678814402,\n \"endDate\":1628678814402,\n \"originalSpanId\":\"bb37b33f\",\n \"trace\":{\n \"type\":\"requestPayloadProcessing\",\n \"input\":{\n \"policies\":[\n \n ]\n },\n \"output\":{\n \n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"260b8b88\",\n \"parentId\":\"654bcd69\",\n \"prevSpanId\":\"bb37b33f\",\n \"startTime\":514495184054100,\n \"endTime\":514495485292100,\n \"startDate\":1628678814402,\n \"endDate\":1628678814703,\n \"originalSpanId\":\"406f4331\",\n \"trace\":{\n \"type\":\"routing\",\n \"input\":{\n \"policies\":[\n \"callbackURLReplacer\",\n \"straightThroughRouting\"\n ]\n },\n \"output\":{\n \"straightThroughRouting\":true,\n \"callbackURLReplacer\":true\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"090b7e00\",\n \"parentId\":\"406f4331\",\n \"prevSpanId\":null,\n \"startTime\":514495184062500,\n \"endTime\":514495184069600,\n \"startDate\":1628678814402,\n \"endDate\":1628678814402,\n \"originalSpanId\":\"85f06d83\",\n \"trace\":{\n \"type\":\"callbackURLReplacer\",\n \"input\":{\n \n },\n \"output\":{\n \"Result\":\"SUCCESS\"\n },\n \"config\":{\n \"policyConfig\":{\n \"names\":[\n {\n \"locale\":\"English\",\n \"value\":\"Default Callback URL Replacer Action for API \"\n }\n ],\n \"active\":false,\n \"id\":\"callbackURLReplacer\",\n \"parameters\":[\n \n ],\n \"templateKey\":\"callbackURLReplacer\"\n }\n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"e172d150\",\n \"parentId\":\"406f4331\",\n \"prevSpanId\":\"85f06d83\",\n \"startTime\":514495184073900,\n \"endTime\":514495485281800,\n \"startDate\":1628678814402,\n \"endDate\":1628678814703,\n \"originalSpanId\":\"59547365\",\n \"trace\":{\n \"type\":\"straightThroughRouting\",\n \"input\":{\n \"Alias Values Map\":{\n \"${sys:resource_path}\":\"${sys:resource_path}\",\n \"https://xkcd.com/\":\"https://xkcd.com/\"\n }\n },\n \"output\":{\n \"Result\":\"SUCCESS\"\n },\n \"config\":{\n \"policyConfig\":{\n \"names\":[\n {\n \"locale\":\"en\",\n \"value\":\"Straight Through Routing\"\n }\n ],\n \"active\":false,\n \"id\":\"cb966575-0e0c-490d-b8f6-a6ed4d5caca1\",\n \"parameters\":[\n {\n \"values\":[\n \"https://xkcd.com/${sys:resource_path}\"\n ],\n \"templateKey\":\"endpointUri\"\n },\n {\n \"values\":[\n \"CUSTOM\"\n ],\n \"templateKey\":\"method\"\n }\n ],\n \"templateKey\":\"straightThroughRouting\"\n }\n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"238756b9\",\n \"parentId\":\"59547365\",\n \"prevSpanId\":null,\n \"startTime\":514495184095100,\n \"endTime\":514495485268500,\n \"startDate\":1628678814402,\n \"endDate\":1628678814703,\n \"originalSpanId\":\"255e6afa\",\n \"trace\":{\n \"type\":\"NATIVE_SERVICE_CALL\",\n \"request\":{\n \"externalURL\":\"https://xkcd.com/1000/info.0.json\",\n \"headers\":{\n \"Accept\":\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8\",\n \"Cache-Control\":\"no-cache\",\n \"Upgrade-Insecure-Requests\":\"1\",\n \"User-Agent\":\"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0\",\n \"Accept-Language\":\"en-US,en;q=0.5\",\n \"Accept-Encoding\":\"gzip, deflate\",\n \"DNT\":\"1\",\n \"Pragma\":\"no-cache\",\n \"Content-Type\":\"application/x-www-form-urlencoded\"\n },\n \"method\":\"GET\",\n \"queryParameters\":{\n \n },\n \"payload\":null,\n \"payloadMimeType\":null\n },\n \"response\":{\n \"headers\":{\n \"X-Cache\":\"HIT\",\n \"Server\":\"nginx\",\n \"Connection\":\"keep-alive\",\n \"Last-Modified\":\"Wed, 11 Aug 2021 04:00:03 GMT\",\n \"Date\":\"Wed, 11 Aug 2021 10:46:53 GMT\",\n \"Via\":\"1.1 varnish\",\n \"X-Timer\":\"S1628678814.948810,VS0,VE0\",\n \"Accept-Ranges\":\"bytes\",\n \"Cache-Control\":\"max-age=300\",\n \"ETag\":\"W/\\\"61134b43-26f\\\"\",\n \"X-Served-By\":\"cache-qpg1278-QPG\",\n \"Content-Encoding\":\"gzip\",\n \"Vary\":\"Accept-Encoding\",\n \"Expires\":\"Wed, 11 Aug 2021 10:49:00 GMT\",\n \"X-Cache-Hits\":\"1\",\n \"Age\":\"174\",\n \"Content-Type\":\"application/json\"\n },\n \"payload\":\"{\\\"month\\\": \\\"1\\\", \\\"num\\\": 1000, \\\"link\\\": \\\"https://xkcd.com/1000/large/\\\", \\\"year\\\": \\\"2012\\\", \\\"news\\\": \\\"\\\", \\\"safe_title\\\": \\\"1000 Comics\\\", \\\"transcript\\\": \\\"[[1000 characters, numerous of which have appeared previously in other comics, are arranged to create the number \\\\\\\"1000\\\\\\\". Two more people stand in the foreground commenting on the formation]]\\\\n\\\\nPerson 1: WOOOO!\\\\nPerson 2: Wow - Just 24 to go until a big round-number milestone!\\\\n\\\\n{{Title text: Thank you for making me feel less alone.}}\\\", \\\"alt\\\": \\\"Thank you for making me feel less alone.\\\", \\\"img\\\": \\\"https://imgs.xkcd.com/comics/1000_comics.png\\\", \\\"title\\\": \\\"1000 Comics\\\", \\\"day\\\": \\\"6\\\"}\",\n \"payloadMimeType\":\"application/json\",\n \"statusMessage\":\"OK\",\n \"statusCode\":200\n },\n \"infoType\":\"requestResponseTraceInfo\"\n }\n },\n {\n \"spanId\":\"9d51165c\",\n \"parentId\":\"6eb0fb8b\",\n \"prevSpanId\":\"654bcd69\",\n \"startTime\":514495485312800,\n \"endTime\":514495485353200,\n \"startDate\":1628678814703,\n \"endDate\":1628678814703,\n \"originalSpanId\":\"bab53110\",\n \"trace\":{\n \"type\":\"outsequence\",\n \"input\":{\n \"serviceType\":\"REST\",\n \"stages\":[\n \"responseProcessing\",\n \"urlRewriterProcessing\"\n ],\n \"order\":\"outsequence\"\n },\n \"output\":{\n \"urlRewriterProcessing\":true,\n \"responseProcessing\":true\n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"5c9d4e75\",\n \"parentId\":\"bab53110\",\n \"prevSpanId\":null,\n \"startTime\":514495485334900,\n \"endTime\":514495485343300,\n \"startDate\":1628678814703,\n \"endDate\":1628678814703,\n \"originalSpanId\":\"81ed1c53\",\n \"trace\":{\n \"type\":\"responseProcessing\",\n \"input\":{\n \"policies\":[\n \n ]\n },\n \"output\":{\n \n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"f68574e8\",\n \"parentId\":\"bab53110\",\n \"prevSpanId\":\"81ed1c53\",\n \"startTime\":514495485348500,\n \"endTime\":514495485351400,\n \"startDate\":1628678814703,\n \"endDate\":1628678814703,\n \"originalSpanId\":\"dfbe4a07\",\n \"trace\":{\n \"type\":\"urlRewriterProcessing\",\n \"input\":{\n \"policies\":[\n \n ]\n },\n \"output\":{\n \n },\n \"config\":{\n \n },\n \"infoType\":\"mediatorTraceInfo\"\n }\n },\n {\n \"spanId\":\"deb99fd1\",\n \"parentId\":\"root\",\n \"prevSpanId\":null,\n \"startTime\":514495182878600,\n \"endTime\":514495485503200,\n \"startDate\":1628678814401,\n \"endDate\":1628678814703,\n \"originalSpanId\":\"b6a5690d\",\n \"trace\":{\n \"type\":\"clientRequestResponse\",\n \"request\":{\n \"headers\":{\n \"Accept\":\"text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8\",\n \"Cache-Control\":\"no-cache\",\n \"Upgrade-Insecure-Requests\":\"1\",\n \"User-Agent\":\"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0\",\n \"Connection\":\"keep-alive\",\n \"Host\":\"sag-7sjt3d3:11155\",\n \"Accept-Language\":\"en-US,en;q=0.5\",\n \"Accept-Encoding\":\"gzip, deflate\",\n \"DNT\":\"1\",\n \"Pragma\":\"no-cache\",\n \"Content-Type\":\"application/x-www-form-urlencoded\"\n },\n \"method\":\"get\",\n \"queryParameters\":{\n \n },\n \"payload\":null,\n \"resourcePath\":\"/{id}/info.0.json\",\n \"payloadMimeType\":null\n },\n \"response\":{\n \"headers\":{\n \"X-Cache\":\"HIT\",\n \"Last-Modified\":\"Wed, 11 Aug 2021 04:00:03 GMT\",\n \"Via\":\"1.1 varnish\",\n \"X-Timer\":\"S1628678814.948810,VS0,VE0\",\n \"Accept-Ranges\":\"bytes\",\n \"Cache-Control\":\"max-age=300\",\n \"ETag\":\"W/\\\"61134b43-26f\\\"\",\n \"X-Served-By\":\"cache-qpg1278-QPG\",\n \"Content-Encoding\":\"gzip\",\n \"Vary\":\"Accept-Encoding\",\n \"Expires\":\"Wed, 11 Aug 2021 10:49:00 GMT\",\n \"X-Cache-Hits\":\"1\",\n \"Age\":\"174\",\n \"Content-Type\":\"application/json\"\n },\n \"payload\":\"{\\\"month\\\": \\\"1\\\", \\\"num\\\": 1000, \\\"link\\\": \\\"https://xkcd.com/1000/large/\\\", \\\"year\\\": \\\"2012\\\", \\\"news\\\": \\\"\\\", \\\"safe_title\\\": \\\"1000 Comics\\\", \\\"transcript\\\": \\\"[[1000 characters, numerous of which have appeared previously in other comics, are arranged to create the number \\\\\\\"1000\\\\\\\". Two more people stand in the foreground commenting on the formation]]\\\\n\\\\nPerson 1: WOOOO!\\\\nPerson 2: Wow - Just 24 to go until a big round-number milestone!\\\\n\\\\n{{Title text: Thank you for making me feel less alone.}}\\\", \\\"alt\\\": \\\"Thank you for making me feel less alone.\\\", \\\"img\\\": \\\"https://imgs.xkcd.com/comics/1000_comics.png\\\", \\\"title\\\": \\\"1000 Comics\\\", \\\"day\\\": \\\"6\\\"}\",\n \"payloadMimeType\":\"application/json\",\n \"statusMessage\":\"OK\",\n \"statusCode\":200\n },\n \"infoType\":\"requestResponseTraceInfo\"\n }\n }\n ]\n }\n}"
+ },
+ "schema" : {
+ "type" : "object",
+ "additionalProperties" : {
+ "type" : "array",
+ "items" : {
+ "$ref" : "#/definitions/TraceLog"
+ }
+ }
+ }
+ },
+ "401" : {
+ "description" : "This status code indicates that either user didn't provide right credentials or user doesn't have required privileges to access this API."
+ },
+ "404" : {
+ "description" : "This status code indicates that the correlationID specified is not found in the API Gateway"
+ }
+ },
"security" : [ {
"Basic" : [ ]
} ]
@@ -2029,6 +2736,18 @@
}
}
},
+ "ApplicationList" : {
+ "type" : "object",
+ "properties" : {
+ "applications" : {
+ "type" : "array",
+ "description" : "List of applications",
+ "items" : {
+ "$ref" : "#/definitions/Application"
+ }
+ }
+ }
+ },
"ApplicationToken" : {
"type" : "object",
"properties" : {
@@ -2141,6 +2860,9 @@
"type" : {
"type" : "string"
},
+ "urlMatcher" : {
+ "$ref" : "#/definitions/UrlMatcher"
+ },
"value" : {
"type" : "string"
}
@@ -3001,7 +3723,7 @@
"type" : "array",
"items" : {
"type" : "string",
- "enum" : [ "API_GATEWAY", "MICROGATEWAY", "MICROGATEWAY_PROXY", "APPMESH" ]
+ "enum" : [ "APIGateway", "Microgateway", "MicrogatewayProxy", "AppMesh" ]
}
},
"gatewayEndpoints" : {
@@ -4986,6 +5708,9 @@
}, {
"type" : "object",
"properties" : {
+ "additionalProperties" : {
+ "type" : "object"
+ },
"allowEmptyValue" : {
"type" : "boolean"
},
@@ -5722,6 +6447,9 @@
"name" : {
"type" : "string"
},
+ "nullable" : {
+ "type" : "boolean"
+ },
"position" : {
"type" : "integer",
"format" : "int32"
@@ -6140,7 +6868,8 @@
"$ref" : "#/definitions/Operation"
},
"description" : {
- "type" : "string"
+ "type" : "string",
+ "description" : "An optional, string description, intended to apply to all operations in this path"
},
"displayName" : {
"type" : "string"
@@ -6216,6 +6945,9 @@
}, {
"type" : "object",
"properties" : {
+ "algorithmSuite" : {
+ "type" : "string"
+ },
"apiTags" : {
"type" : "array",
"description" : "A list of API level tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier",
@@ -6249,12 +6981,6 @@
"$ref" : "#/definitions/SOAPOperation"
}
},
- "primaryEndpoint" : {
- "type" : "object",
- "additionalProperties" : {
- "type" : "boolean"
- }
- },
"rootFileFolder" : {
"type" : "string"
},
@@ -6401,6 +7127,9 @@
"additionalProperties" : {
"$ref" : "#/definitions/Schema"
},
+ "additionalPropertiesAsBoolean" : {
+ "type" : "boolean"
+ },
"default" : {
"type" : "object",
"description" : "The default value represents what would be assumed by the consumer of the input as the value of the schema if one is not provided. Unlike JSON Schema, the value MUST conform to the defined type for the Schema Object defined at the same level. For example, if type is string, then default can be \"foo\" but cannot be 1"
@@ -6580,6 +7309,18 @@
}
}
},
+ "ScopeReferences" : {
+ "type" : "object",
+ "properties" : {
+ "scopes" : {
+ "type" : "array",
+ "description" : "List of scopes",
+ "items" : {
+ "$ref" : "#/definitions/ScopeResourceIndex"
+ }
+ }
+ }
+ },
"ScopeResourceIndex" : {
"type" : "object",
"properties" : {
@@ -7080,6 +7821,9 @@
}
}
},
+ "UrlMatcher" : {
+ "type" : "object"
+ },
"Version" : {
"type" : "object",
"properties" : {
diff --git a/apigatewayservices/postmancollections/apis/service-management/ServiceManagement.json b/apigatewayservices/postmancollections/apis/service-management/ServiceManagement.json
index 86b35d2..3a3c0e1 100644
--- a/apigatewayservices/postmancollections/apis/service-management/ServiceManagement.json
+++ b/apigatewayservices/postmancollections/apis/service-management/ServiceManagement.json
@@ -1,8 +1,9 @@
{
"info": {
- "_postman_id": "fcf030a9-305c-4dfd-ba9e-ae7ca372ec25",
+ "_postman_id": "590bbc07-d7ee-46bf-87a9-9902624dbfee",
"name": "Service Management",
- "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
+ "_exporter_id": "23580045"
},
"item": [
{
@@ -178,9 +179,9 @@
],
"variable": [
{
- "description": "(Required) API Id for the API to be versioned",
"key": "apiId",
- "value": "2c843837-cc6c-4ba1-aaf3-b10f8e9adbe0"
+ "value": "2c843837-cc6c-4ba1-aaf3-b10f8e9adbe0",
+ "description": "(Required) API Id for the API to be versioned"
}
]
},
@@ -346,7 +347,6 @@
{
"listen": "prerequest",
"script": {
- "id": "9caeabbd-f2af-45fe-b2ab-6a2385d8d5e6",
"type": "text/javascript",
"exec": [
""
@@ -356,16 +356,13 @@
{
"listen": "test",
"script": {
- "id": "7a0bcd00-2a59-40f9-808f-22d4d4ec8a5a",
"type": "text/javascript",
"exec": [
""
]
}
}
- ],
- "protocolProfileBehavior": {},
- "_postman_isSubFolder": true
+ ]
},
{
"name": "Mocking",
@@ -401,9 +398,9 @@
],
"variable": [
{
- "description": "(Required) API Id for the API to be activated",
"key": "apiId",
- "value": "3c575e49-73d5-4ae8-a3a5-552544e5a4a0"
+ "value": "3c575e49-73d5-4ae8-a3a5-552544e5a4a0",
+ "description": "(Required) API Id for the API to be activated"
}
]
},
@@ -756,7 +753,6 @@
{
"listen": "prerequest",
"script": {
- "id": "b75fb5b6-7516-4ac6-80c6-d6b1bf255175",
"type": "text/javascript",
"exec": [
""
@@ -766,16 +762,13 @@
{
"listen": "test",
"script": {
- "id": "c6625976-1a14-4fa7-bd87-9ebf3acea429",
"type": "text/javascript",
"exec": [
""
]
}
}
- ],
- "protocolProfileBehavior": {},
- "_postman_isSubFolder": true
+ ]
},
{
"name": "Scopes",
@@ -1075,7 +1068,6 @@
{
"listen": "prerequest",
"script": {
- "id": "e62e1815-b4d5-478e-885e-7fbcba6f19e1",
"type": "text/javascript",
"exec": [
""
@@ -1085,16 +1077,13 @@
{
"listen": "test",
"script": {
- "id": "08865f17-53f1-4744-aa55-1f4348631d77",
"type": "text/javascript",
"exec": [
""
]
}
}
- ],
- "protocolProfileBehavior": {},
- "_postman_isSubFolder": true
+ ]
},
{
"name": "Gateway Scope Mapping",
@@ -1273,6 +1262,154 @@
}
]
},
+ {
+ "name": "Tracer",
+ "item": [
+ {
+ "name": "Enable Tracer",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{baseURL}}/apis/{apiId}/tracing/enable",
+ "host": [
+ "{{baseURL}}"
+ ],
+ "path": [
+ "apis",
+ "{apiId}",
+ "tracing",
+ "enable"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "Disable Tracer",
+ "request": {
+ "method": "PUT",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{baseURL}}/apis/{apiId}/tracing/disable",
+ "host": [
+ "{{baseURL}}"
+ ],
+ "path": [
+ "apis",
+ "{apiId}",
+ "tracing",
+ "disable"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "Archive Tracer events",
+ "request": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "raw",
+ "raw": "{\r\n\t\"correlationIDs\": [\r\n\t\t{\r\n\t\t\t\"correlationID\": \"APIGW:6a0305cc-f4e3-4264-8390-b71a74cae2f7:1053\",\r\n\t\t\t\"creationDate\": 1678122074,\r\n\t\t\t\"statusCode\": \"200\",\r\n\t\t\t\"status\": \"SUCCESS\"\r\n\t\t}\r\n\t],\r\n\t\"apiId\": \"e9cd0d92-a946-4622-b51d-07f6957edb8b\",\r\n\t\"apiType\": \"REST\"\r\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseURL}}/tracer/archive",
+ "host": [
+ "{{baseURL}}"
+ ],
+ "path": [
+ "tracer",
+ "archive"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "import Tracer Archive",
+ "request": {
+ "method": "POST",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "body": {
+ "mode": "formdata",
+ "formdata": [
+ {
+ "key": "file",
+ "type": "file",
+ "src": []
+ }
+ ]
+ },
+ "url": {
+ "raw": "{{baseURL}}/tracer/import",
+ "host": [
+ "{{baseURL}}"
+ ],
+ "path": [
+ "tracer",
+ "import"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "Get Tracer info from correlationID",
+ "request": {
+ "method": "GET",
+ "header": [
+ {
+ "key": "Accept",
+ "value": "application/json",
+ "type": "text"
+ }
+ ],
+ "url": {
+ "raw": "{{baseURL}}/tracer/{correlationID}",
+ "host": [
+ "{{baseURL}}"
+ ],
+ "path": [
+ "tracer",
+ "{correlationID}"
+ ]
+ }
+ },
+ "response": []
+ }
+ ]
+ },
{
"name": "Get API Details by Id",
"request": {
@@ -1295,9 +1432,9 @@
],
"variable": [
{
- "description": "(Required) API Id for the API to be retrieved",
"key": "apiId",
- "value": "3c575e49-73d5-4ae8-a3a5-552544e5a4a0"
+ "value": "3c575e49-73d5-4ae8-a3a5-552544e5a4a0",
+ "description": "(Required) API Id for the API to be retrieved"
}
]
},
@@ -1391,7 +1528,7 @@
"body": ""
},
{
- "name": "If the format is swagger, returns the swagger content in json and raml returns the raml content in yaml. If the format is openapi, returns the open api content in json. If the format is odata, you get a zip file holding the OData metadata and service document.",
+ "name": "If the format is swagger, returns the swagger content in json and raml returns the raml content in yaml. If the format is openapi, returns the open api content in json. If the format is odata, you get a zip file holding the OData metadata and service docu",
"originalRequest": {
"method": "GET",
"header": [],
@@ -1863,9 +2000,9 @@
],
"variable": [
{
- "description": "(Required) API Id for the API to be deactivated",
"key": "apiId",
- "value": "2c843837-cc6c-4ba1-aaf3-b10f8e9adbe0"
+ "value": "2c843837-cc6c-4ba1-aaf3-b10f8e9adbe0",
+ "description": "(Required) API Id for the API to be deactivated"
}
]
},
@@ -2047,9 +2184,9 @@
],
"variable": [
{
- "description": "(Required) API Id for the API to be published",
"key": "apiId",
- "value": "2c843837-cc6c-4ba1-aaf3-b10f8e9adbe0"
+ "value": "2c843837-cc6c-4ba1-aaf3-b10f8e9adbe0",
+ "description": "(Required) API Id for the API to be published"
}
]
},
@@ -2243,9 +2380,9 @@
],
"variable": [
{
- "description": "(Required) API Id for the API to be unpublished",
"key": "apiId",
- "value": "2c843837-cc6c-4ba1-aaf3-b10f8e9adbe0"
+ "value": "2c843837-cc6c-4ba1-aaf3-b10f8e9adbe0",
+ "description": "(Required) API Id for the API to be unpublished"
}
]
},
@@ -2430,9 +2567,9 @@
],
"variable": [
{
- "description": "(Required) API Id for the API to be updated",
"key": "apiId",
- "value": "2c843837-cc6c-4ba1-aaf3-b10f8e9adbe0"
+ "value": "2c843837-cc6c-4ba1-aaf3-b10f8e9adbe0",
+ "description": "(Required) API Id for the API to be updated"
}
]
},
@@ -2792,9 +2929,9 @@
],
"variable": [
{
- "description": "(Required) API Id for the API to download the source content",
"key": "apiId",
- "value": "2c843837-cc6c-4ba1-aaf3-b10f8e9adbe0"
+ "value": "2c843837-cc6c-4ba1-aaf3-b10f8e9adbe0",
+ "description": "(Required) API Id for the API to download the source content"
}
]
},
@@ -2962,9 +3099,9 @@
],
"variable": [
{
- "description": "(Required) API Id for the API to find the list of applicable global policies",
"key": "apiId",
- "value": "2c843837-cc6c-4ba1-aaf3-b10f8e9adbe0"
+ "value": "2c843837-cc6c-4ba1-aaf3-b10f8e9adbe0",
+ "description": "(Required) API Id for the API to find the list of applicable global policies"
}
]
},
@@ -3417,50 +3554,32 @@
{
"key": "file",
"value": "petstore.json",
- "description": {
- "content": "Input swagger / raml / wsdl file to be imported",
- "type": "text/plain"
- }
+ "description": "Input swagger / raml / wsdl file to be imported"
},
{
"key": "apiName",
"value": "Swagger Petstore",
- "description": {
- "content": "Name of the API",
- "type": "text/plain"
- }
+ "description": "Name of the API"
},
{
"key": "type",
"value": "swagger",
- "description": {
- "content": "Input file type (This can only be one of swagger,raml,wsdl,openapi)",
- "type": "text/plain"
- }
+ "description": "Input file type (This can only be one of swagger,raml,wsdl,openapi)"
},
{
"key": "apiDescription",
"value": "This is a sample server Petstore server",
- "description": {
- "content": "Description of the API",
- "type": "text/plain"
- }
+ "description": "Description of the API"
},
{
"key": "apiVersion",
"value": "V1",
- "description": {
- "content": "Version of the API",
- "type": "text/plain"
- }
+ "description": "Version of the API"
},
{
"key": "rootFileName",
"value": "mainFile.wsdl",
- "description": {
- "content": "Name of the main file in the zip. Required only when the input file is zip format",
- "type": "text/plain"
- }
+ "description": "Name of the main file in the zip. Required only when the input file is zip format"
}
]
},
@@ -3497,50 +3616,32 @@
{
"key": "file",
"value": "petstore.json",
- "description": {
- "content": "Input swagger / raml / wsdl file to be imported",
- "type": "text/plain"
- }
+ "description": "Input swagger / raml / wsdl file to be imported"
},
{
"key": "apiName",
"value": "Swagger Petstore",
- "description": {
- "content": "Name of the API",
- "type": "text/plain"
- }
+ "description": "Name of the API"
},
{
"key": "type",
"value": "swagger",
- "description": {
- "content": "Input file type (This can only be one of swagger,raml,wsdl,openapi)",
- "type": "text/plain"
- }
+ "description": "Input file type (This can only be one of swagger,raml,wsdl,openapi)"
},
{
"key": "apiDescription",
"value": "This is a sample server Petstore server",
- "description": {
- "content": "Description of the API",
- "type": "text/plain"
- }
+ "description": "Description of the API"
},
{
"key": "apiVersion",
"value": "V1",
- "description": {
- "content": "Version of the API",
- "type": "text/plain"
- }
+ "description": "Version of the API"
},
{
"key": "rootFileName",
"value": "mainFile.wsdl",
- "description": {
- "content": "Name of the main file in the zip. Required only when the input file is zip format",
- "type": "text/plain"
- }
+ "description": "Name of the main file in the zip. Required only when the input file is zip format"
}
]
},
@@ -3577,50 +3678,32 @@
{
"key": "file",
"value": "petstore.json",
- "description": {
- "content": "Input swagger / raml / wsdl file to be imported",
- "type": "text/plain"
- }
+ "description": "Input swagger / raml / wsdl file to be imported"
},
{
"key": "apiName",
"value": "Swagger Petstore",
- "description": {
- "content": "Name of the API",
- "type": "text/plain"
- }
+ "description": "Name of the API"
},
{
"key": "type",
"value": "swagger",
- "description": {
- "content": "Input file type (This can only be one of swagger,raml,wsdl,openapi)",
- "type": "text/plain"
- }
+ "description": "Input file type (This can only be one of swagger,raml,wsdl,openapi)"
},
{
"key": "apiDescription",
"value": "This is a sample server Petstore server",
- "description": {
- "content": "Description of the API",
- "type": "text/plain"
- }
+ "description": "Description of the API"
},
{
"key": "apiVersion",
"value": "V1",
- "description": {
- "content": "Version of the API",
- "type": "text/plain"
- }
+ "description": "Version of the API"
},
{
"key": "rootFileName",
"value": "mainFile.wsdl",
- "description": {
- "content": "Name of the main file in the zip. Required only when the input file is zip format",
- "type": "text/plain"
- }
+ "description": "Name of the main file in the zip. Required only when the input file is zip format"
}
]
},
@@ -3696,50 +3779,32 @@
{
"key": "file",
"value": "petstore.json",
- "description": {
- "content": "Input swagger / raml / wsdl file to be imported",
- "type": "text/plain"
- }
+ "description": "Input swagger / raml / wsdl file to be imported"
},
{
"key": "apiName",
"value": "Swagger Petstore",
- "description": {
- "content": "Name of the API",
- "type": "text/plain"
- }
+ "description": "Name of the API"
},
{
"key": "type",
"value": "swagger",
- "description": {
- "content": "Input file type (This can only be one of swagger,raml,wsdl,openapi)",
- "type": "text/plain"
- }
+ "description": "Input file type (This can only be one of swagger,raml,wsdl,openapi)"
},
{
"key": "apiDescription",
"value": "This is a sample server Petstore server",
- "description": {
- "content": "Description of the API",
- "type": "text/plain"
- }
+ "description": "Description of the API"
},
{
"key": "apiVersion",
"value": "V1",
- "description": {
- "content": "Version of the API",
- "type": "text/plain"
- }
+ "description": "Version of the API"
},
{
"key": "rootFileName",
"value": "mainFile.wsdl",
- "description": {
- "content": "Name of the main file in the zip. Required only when the input file is zip format",
- "type": "text/plain"
- }
+ "description": "Name of the main file in the zip. Required only when the input file is zip format"
}
]
},
@@ -3776,50 +3841,32 @@
{
"key": "file",
"value": "petstore.json",
- "description": {
- "content": "Input swagger / raml / wsdl file to be imported",
- "type": "text/plain"
- }
+ "description": "Input swagger / raml / wsdl file to be imported"
},
{
"key": "apiName",
"value": "Swagger Petstore",
- "description": {
- "content": "Name of the API",
- "type": "text/plain"
- }
+ "description": "Name of the API"
},
{
"key": "type",
"value": "swagger",
- "description": {
- "content": "Input file type (This can only be one of swagger,raml,wsdl,openapi)",
- "type": "text/plain"
- }
+ "description": "Input file type (This can only be one of swagger,raml,wsdl,openapi)"
},
{
"key": "apiDescription",
"value": "This is a sample server Petstore server",
- "description": {
- "content": "Description of the API",
- "type": "text/plain"
- }
+ "description": "Description of the API"
},
{
"key": "apiVersion",
"value": "V1",
- "description": {
- "content": "Version of the API",
- "type": "text/plain"
- }
+ "description": "Version of the API"
},
{
"key": "rootFileName",
"value": "mainFile.wsdl",
- "description": {
- "content": "Name of the main file in the zip. Required only when the input file is zip format",
- "type": "text/plain"
- }
+ "description": "Name of the main file in the zip. Required only when the input file is zip format"
}
]
},
@@ -3856,50 +3903,32 @@
{
"key": "file",
"value": "petstore.json",
- "description": {
- "content": "Input swagger / raml / wsdl file to be imported",
- "type": "text/plain"
- }
+ "description": "Input swagger / raml / wsdl file to be imported"
},
{
"key": "apiName",
"value": "Swagger Petstore",
- "description": {
- "content": "Name of the API",
- "type": "text/plain"
- }
+ "description": "Name of the API"
},
{
"key": "type",
"value": "swagger",
- "description": {
- "content": "Input file type (This can only be one of swagger,raml,wsdl,openapi)",
- "type": "text/plain"
- }
+ "description": "Input file type (This can only be one of swagger,raml,wsdl,openapi)"
},
{
"key": "apiDescription",
"value": "This is a sample server Petstore server",
- "description": {
- "content": "Description of the API",
- "type": "text/plain"
- }
+ "description": "Description of the API"
},
{
"key": "apiVersion",
"value": "V1",
- "description": {
- "content": "Version of the API",
- "type": "text/plain"
- }
+ "description": "Version of the API"
},
{
"key": "rootFileName",
"value": "mainFile.wsdl",
- "description": {
- "content": "Name of the main file in the zip. Required only when the input file is zip format",
- "type": "text/plain"
- }
+ "description": "Name of the main file in the zip. Required only when the input file is zip format"
}
]
},
@@ -4117,7 +4146,6 @@
{
"listen": "prerequest",
"script": {
- "id": "68328b5e-4249-48e8-a287-f36ed92654c2",
"type": "text/javascript",
"exec": [
""
@@ -4127,15 +4155,13 @@
{
"listen": "test",
"script": {
- "id": "c71aec70-5a83-4464-a155-c9565d39ce3d",
"type": "text/javascript",
"exec": [
""
]
}
}
- ],
- "protocolProfileBehavior": {}
+ ]
},
{
"name": "Service Registry",
@@ -4540,7 +4566,6 @@
{
"listen": "prerequest",
"script": {
- "id": "08b030c3-b10b-4858-98e9-5c9e38bc32a8",
"type": "text/javascript",
"exec": [
""
@@ -4550,15 +4575,13 @@
{
"listen": "test",
"script": {
- "id": "d8ca7ebe-55af-4b21-b342-63d92cdc077c",
"type": "text/javascript",
"exec": [
""
]
}
}
- ],
- "protocolProfileBehavior": {}
+ ]
},
{
"name": "Integration Server",
@@ -4865,7 +4888,6 @@
{
"listen": "prerequest",
"script": {
- "id": "c59419e7-a8e1-4085-bf17-92b05d42baed",
"type": "text/javascript",
"exec": [
""
@@ -4875,15 +4897,13 @@
{
"listen": "test",
"script": {
- "id": "7c9cdf2d-737f-4160-9a3a-f5a5f67feff7",
"type": "text/javascript",
"exec": [
""
]
}
}
- ],
- "protocolProfileBehavior": {}
+ ]
}
],
"auth": {
@@ -4905,7 +4925,6 @@
{
"listen": "prerequest",
"script": {
- "id": "e9365a3d-fd8d-488e-adcd-a867725f723a",
"type": "text/javascript",
"exec": [
""
@@ -4915,7 +4934,6 @@
{
"listen": "test",
"script": {
- "id": "c2e9a969-d744-4e17-98cd-716d288b31b1",
"type": "text/javascript",
"exec": [
""
@@ -4925,11 +4943,9 @@
],
"variable": [
{
- "id": "55efcb8f-610f-4894-9dcc-e2751391ac22",
"key": "baseURL",
"value": "http://localhost:5555/rest/apigateway",
"type": "string"
}
- ],
- "protocolProfileBehavior": {}
+ ]
}
\ No newline at end of file
diff --git a/apigatewayservices/postmancollections/usecases/registered-applications-enable-or-suspend/RegisteredApplications_Enable.json b/apigatewayservices/postmancollections/usecases/registered-applications-enable-or-suspend/RegisteredApplications_Enable.json
new file mode 100644
index 0000000..efa784c
--- /dev/null
+++ b/apigatewayservices/postmancollections/usecases/registered-applications-enable-or-suspend/RegisteredApplications_Enable.json
@@ -0,0 +1,208 @@
+{
+ "info": {
+ "_postman_id": "4772e73e-c232-4fc8-bd66-728227c8db5d",
+ "name": "APIGateway UseCase - API Registered Applications - Enable All by API name/version",
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
+ },
+ "item": [
+ {
+ "name": "Util - Search API by name/version",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ "pm.test(\"Status code is 200\", function () {",
+ " pm.response.to.have.status(200);",
+ "});",
+ "",
+ "postman.setNextRequest(null);",
+ "",
+ "let apis = JSON.parse(responseBody).api;",
+ "if (apis === undefined || apis === null || apis.length === 0 || apis[0].responseStatus === \"NOT_FOUND\") {",
+ " console.log(\"No API found!\");",
+ "} else { ",
+ " console.log(\"API ID: \" + apis[0].id);",
+ " console.log(\"API Name: \" + apis[0].apiName);",
+ " console.log(\"API Version: \" + apis[0].apiVersion);",
+ " pm.globals.set(\"apiId\", apis[0].id);",
+ " postman.setNextRequest(\"Get Applications associated with API\");",
+ "}"
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"types\": [\n \"API\"\n ],\n \"condition\" : \"and\",\n \"scope\": [\n {\n \"attributeName\": \"apiName\",\n \"keyword\": \"{{apiName}}\"\n },\n {\n \"attributeName\": \"apiVersion\",\n \"keyword\": \"{{apiVersion}}\"\n }\n ],\n \"responseFields\": [\n \"id\",\"apiName\",\"apiVersion\"\n ]\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseGatewaySysAPIsUrl}}/search",
+ "host": [
+ "{{baseGatewaySysAPIsUrl}}"
+ ],
+ "path": [
+ "search"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "Get Applications associated with API",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ "pm.test(\"Status code is 200\", function () {\r",
+ " pm.response.to.have.status(200);\r",
+ "});\r",
+ "\r",
+ "postman.setNextRequest(null);\r",
+ "\r",
+ "let applications = JSON.parse(responseBody).applications;\r",
+ "if (applications === undefined || applications === null || applications.length === 0 || applications[0].responseStatus === \"NOT_FOUND\") {\r",
+ " console.log(\"No Application found!\");\r",
+ "} else {\r",
+ " for(i in applications){\r",
+ " console.log(\"Application ID: \" + applications[i].id);\r",
+ " console.log(\"Application Name: \" + applications[i].name);\r",
+ " console.log(\"Application Suspended: \" + applications[i].isSuspended);\r",
+ " if (applications[i].isSuspended !== undefined && applications[i].isSuspended !== null && applications[i].isSuspended) {\r",
+ " pm.globals.set(\"applicationId\", applications[i].id);\r",
+ " postman.setNextRequest(\"Enable one Application\");\r",
+ " console.log(\"Enabling Application\");\r",
+ " break;\r",
+ " }\r",
+ " }\r",
+ "}"
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "method": "GET",
+ "header": [],
+ "url": {
+ "raw": "{{baseGatewaySysAPIsUrl}}/apis/{{apiId}}/applications",
+ "host": [
+ "{{baseGatewaySysAPIsUrl}}"
+ ],
+ "path": [
+ "apis",
+ "{{apiId}}",
+ "applications"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "Enable one Application",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ "postman.setNextRequest(null);\r",
+ "\r",
+ "pm.test(\"Status code is 200\", function () {\r",
+ " pm.response.to.have.status(200);\r",
+ "});\r",
+ "\r",
+ "pm.test(\"Response does not contain isSuspended\", function () {\r",
+ " var jsonData = pm.response.json();\r",
+ " pm.expect(jsonData.isSuspended).to.undefined || pm.expect(jsonData.isSuspended).to.be.false;\r",
+ "});\r",
+ "\r",
+ "postman.setNextRequest(\"Get Applications associated with API\");"
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "method": "PATCH",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"isSuspended\": false\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseGatewaySysAPIsUrl}}/applications/{{applicationId}}",
+ "host": [
+ "{{baseGatewaySysAPIsUrl}}"
+ ],
+ "path": [
+ "applications",
+ "{{applicationId}}"
+ ]
+ }
+ },
+ "response": []
+ }
+ ],
+ "auth": {
+ "type": "basic",
+ "basic": [
+ {
+ "key": "password",
+ "value": "{{Password}}",
+ "type": "string"
+ },
+ {
+ "key": "username",
+ "value": "{{User}}",
+ "type": "string"
+ }
+ ]
+ },
+ "event": [
+ {
+ "listen": "prerequest",
+ "script": {
+ "type": "text/javascript",
+ "exec": [
+ "pm.request.headers.add({key: 'Accept', value: 'application/json' })"
+ ]
+ }
+ },
+ {
+ "listen": "test",
+ "script": {
+ "type": "text/javascript",
+ "exec": [
+ ""
+ ]
+ }
+ }
+ ],
+ "variable": [
+ {
+ "key": "apiName",
+ "value": "SOME_API_NAME",
+ "type": "default"
+ },
+ {
+ "key": "apiVersion",
+ "value": "SOME_API_VERSION",
+ "type": "default"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/apigatewayservices/postmancollections/usecases/registered-applications-enable-or-suspend/RegisteredApplications_Suspend.json b/apigatewayservices/postmancollections/usecases/registered-applications-enable-or-suspend/RegisteredApplications_Suspend.json
new file mode 100644
index 0000000..e705261
--- /dev/null
+++ b/apigatewayservices/postmancollections/usecases/registered-applications-enable-or-suspend/RegisteredApplications_Suspend.json
@@ -0,0 +1,213 @@
+{
+ "info": {
+ "_postman_id": "5c2d415f-a178-4d79-bcc5-21094608ad7f",
+ "name": "APIGateway UseCase - API Registered Applications - Suspend All by API name/version",
+ "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
+ },
+ "item": [
+ {
+ "name": "Util - Search API by name/version",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ "pm.test(\"Status code is 200\", function () {",
+ " pm.response.to.have.status(200);",
+ "});",
+ "",
+ "postman.setNextRequest(null);",
+ "",
+ "let apis = JSON.parse(responseBody).api;",
+ "if (apis === undefined || apis === null || apis.length === 0 || apis[0].responseStatus === \"NOT_FOUND\") {",
+ " console.log(\"No API found!\");",
+ "} else { ",
+ " console.log(\"API ID: \" + apis[0].id);",
+ " console.log(\"API Name: \" + apis[0].apiName);",
+ " console.log(\"API Version: \" + apis[0].apiVersion);",
+ " pm.globals.set(\"apiId\", apis[0].id);",
+ " postman.setNextRequest(\"Get Applications associated with API\");",
+ "}"
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "method": "POST",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"types\": [\n \"API\"\n ],\n \"condition\" : \"and\",\n \"scope\": [\n {\n \"attributeName\": \"apiName\",\n \"keyword\": \"{{apiName}}\"\n },\n {\n \"attributeName\": \"apiVersion\",\n \"keyword\": \"{{apiVersion}}\"\n }\n ],\n \"responseFields\": [\n \"id\",\"apiName\",\"apiVersion\"\n ]\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseGatewaySysAPIsUrl}}/search",
+ "host": [
+ "{{baseGatewaySysAPIsUrl}}"
+ ],
+ "path": [
+ "search"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "Get Applications associated with API",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ "pm.test(\"Status code is 200\", function () {\r",
+ " pm.response.to.have.status(200);\r",
+ "});\r",
+ "\r",
+ "postman.setNextRequest(null);\r",
+ "\r",
+ "let applications = JSON.parse(responseBody).applications;\r",
+ "if (applications === undefined || applications === null || applications.length === 0 || applications[0].responseStatus === \"NOT_FOUND\") {\r",
+ " console.log(\"No Application found!\");\r",
+ "} else {\r",
+ " for(i in applications){\r",
+ " console.log(\"Application ID: \" + applications[i].id);\r",
+ " console.log(\"Application Name: \" + applications[i].name);\r",
+ " console.log(\"Application Suspended: \" + applications[i].isSuspended);\r",
+ " if (applications[i].isSuspended === undefined || applications[i].isSuspended === null || ! applications[i].isSuspended ) {\r",
+ " pm.globals.set(\"applicationId\", applications[i].id);\r",
+ " postman.setNextRequest(\"Suspend one Application\");\r",
+ " console.log(\"Suspending Application\");\r",
+ " break;\r",
+ " }\r",
+ " }\r",
+ "}"
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "method": "GET",
+ "header": [],
+ "url": {
+ "raw": "{{baseGatewaySysAPIsUrl}}/apis/{{apiId}}/applications",
+ "host": [
+ "{{baseGatewaySysAPIsUrl}}"
+ ],
+ "path": [
+ "apis",
+ "{{apiId}}",
+ "applications"
+ ]
+ }
+ },
+ "response": []
+ },
+ {
+ "name": "Suspend one Application",
+ "event": [
+ {
+ "listen": "test",
+ "script": {
+ "exec": [
+ "postman.setNextRequest(null);\r",
+ "\r",
+ "pm.test(\"Status code is 200\", function () {\r",
+ " pm.response.to.have.status(200);\r",
+ "});\r",
+ "\r",
+ "pm.test(\"Response contains isSuspended\", function () {\r",
+ " var jsonData = pm.response.json();\r",
+ " pm.expect(jsonData.isSuspended).to.exist;\r",
+ "});\r",
+ "\r",
+ "pm.test(\"Application is suspended\", function () {\r",
+ " var jsonData = pm.response.json();\r",
+ " pm.expect(jsonData.isSuspended).to.be.true;\r",
+ "});\r",
+ "\r",
+ "postman.setNextRequest(\"Get Applications associated with API\");"
+ ],
+ "type": "text/javascript"
+ }
+ }
+ ],
+ "request": {
+ "method": "PATCH",
+ "header": [],
+ "body": {
+ "mode": "raw",
+ "raw": "{\n \"isSuspended\": true\n}",
+ "options": {
+ "raw": {
+ "language": "json"
+ }
+ }
+ },
+ "url": {
+ "raw": "{{baseGatewaySysAPIsUrl}}/applications/{{applicationId}}",
+ "host": [
+ "{{baseGatewaySysAPIsUrl}}"
+ ],
+ "path": [
+ "applications",
+ "{{applicationId}}"
+ ]
+ }
+ },
+ "response": []
+ }
+ ],
+ "auth": {
+ "type": "basic",
+ "basic": [
+ {
+ "key": "password",
+ "value": "{{Password}}",
+ "type": "string"
+ },
+ {
+ "key": "username",
+ "value": "{{User}}",
+ "type": "string"
+ }
+ ]
+ },
+ "event": [
+ {
+ "listen": "prerequest",
+ "script": {
+ "type": "text/javascript",
+ "exec": [
+ "pm.request.headers.add({key: 'Accept', value: 'application/json' })"
+ ]
+ }
+ },
+ {
+ "listen": "test",
+ "script": {
+ "type": "text/javascript",
+ "exec": [
+ ""
+ ]
+ }
+ }
+ ],
+ "variable": [
+ {
+ "key": "apiName",
+ "value": "SOME_API_NAME",
+ "type": "default"
+ },
+ {
+ "key": "apiVersion",
+ "value": "SOME_API_VERSION",
+ "type": "default"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/triallicenses/TrialLicenseYAI.xml b/triallicenses/TrialLicenseYAI.xml
new file mode 100644
index 0000000..16ae84e
--- /dev/null
+++ b/triallicenses/TrialLicenseYAI.xml
@@ -0,0 +1,56 @@
+
+
+
+0000708817
+B305A15B42400D83361FCB09E30A9CCB
+1
+Free trial only
+1
+1
+External
+No
+
+
+2024/04/01
+Linux
+YAIAA
+
+API Gateway Advanced Edition
+10.11
+
+
+
+
+
+
+
+YAI
+10.11
+Unlimited
+yes
+no
+no
+yes
+no
+yes
+yes
+yes
+yes
+
+
+yes
+yes
+yes
+yes
+yes
+
+
+TXN
+16
+
+
+
+1.2
+MNO
+
+
diff --git a/triallicenses/TrialLicenseYAM.xml b/triallicenses/TrialLicenseYAM.xml
new file mode 100644
index 0000000..c10f7b3
--- /dev/null
+++ b/triallicenses/TrialLicenseYAM.xml
@@ -0,0 +1,35 @@
+
+
+
+0000035080
+1596309084EF88C6DBA403AD7FF4B181
+1
+Free trial only
+1
+1
+External
+
+
+
+2024/04/01
+Linux
+YAM
+
+webMethods Microgateway
+10.11
+
+
+
+
+
+
+
+ST
+16
+
+
+
+1.2
+
+
+