{ "uuid": "e71b57ca-29bd-4368-9dc2-96ef9c180058", "lastMigration": 29, "name": "Amazon Personalize Runtime", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "8267b94d-798f-4121-891a-0c1afcde4bbc", "documentation": "

Re-ranks a list of recommended items for the given user. The first item in the list is deemed the most likely item to be of interest to the user.

The solution backing the campaign must have been created using a recipe of type PERSONALIZED_RANKING.

", "method": "post", "endpoint": "personalize-ranking", "responses": [ { "uuid": "317a7c33-676f-4990-bc03-85d3cd920662", "body": "{\n \"personalizedRanking\": [\n {\n \"itemId\": \"\",\n \"score\": {{faker 'number.float'}}\n }\n ],\n \"recommendationId\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7f6f2560-2617-44ed-828b-d969ded08e76", "body": "\"\"", "latency": 0, "statusCode": 480, "label": "InvalidInputException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "26a0edb5-bb81-438b-8a03-28e5c8b76b1d", "body": "\"\"", "latency": 0, "statusCode": 481, "label": "ResourceNotFoundException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4bf964b8-986c-4838-826f-b69d9ac5a4f3", "documentation": "

Returns a list of recommended items. The required input depends on the recipe type used to create the solution backing the campaign, as follows:

Campaigns that are backed by a solution created using a recipe of type PERSONALIZED_RANKING use the API.

", "method": "post", "endpoint": "recommendations", "responses": [ { "uuid": "e72555bf-b8d9-4328-a9fd-1903e12178ed", "body": "{\n \"itemList\": [\n {\n \"itemId\": \"\",\n \"score\": {{faker 'number.float'}}\n }\n ],\n \"recommendationId\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "84f702d7-5665-4f37-853c-0201afb0935f", "body": "\"\"", "latency": 0, "statusCode": 480, "label": "InvalidInputException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "38fdacf4-f48f-459f-98b1-9be4881bd6f0", "body": "\"\"", "latency": 0, "statusCode": 481, "label": "ResourceNotFoundException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "8267b94d-798f-4121-891a-0c1afcde4bbc" }, { "type": "route", "uuid": "4bf964b8-986c-4838-826f-b69d9ac5a4f3" } ] }