{ "uuid": "947b0712-aa79-4371-98e9-9387050eeb1c", "lastMigration": 29, "name": "Crossbrowsertesting.com Screenshot Comparisons API", "endpointPrefix": "api/v3", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "d3c62622-4eb6-40ab-935c-a24ce9d061d7", "documentation": "Compare Screenshot Test Versions", "method": "get", "endpoint": "screenshots/:target_screenshot_test_id/:target_version_id/comparison/parallel/:base_version_id", "responses": [ { "uuid": "012debef-aa13-482e-aaa4-5789c4bc4b2f", "body": "[\n {\n \"base\": {\n \"screenshot\": {\n \"screenshot_id\": {{faker 'number.int' max=99999}}\n }\n },\n \"target\": {\n \"comparison\": {\n \"differences\": {{faker 'number.int' max=99999}},\n \"elements\": [\n {\n \"difference\": \"\",\n \"full_path\": \"\",\n \"short_path\": \"\",\n \"show_difference_public_url\": \"\",\n \"show_difference_web_url\": \"\"\n }\n ],\n \"error\": {{faker 'datatype.boolean'}},\n \"message\": \"\",\n \"show_comparisons_public_url\": \"\",\n \"show_comparisons_web_url\": \"\",\n \"tolerance\": {{faker 'number.int' max=99999}}\n },\n \"screenshot\": {\n \"screenshot_id\": {{faker 'number.int' max=99999}}\n }\n }\n }\n]", "latency": 0, "statusCode": 200, "label": "An array of Configuration objects. Within each configuration is an array of browsers", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "dc98f370-8651-40a8-9a00-9a07fed6e438", "documentation": "Compare Full Screenshot Test", "method": "get", "endpoint": "screenshots/:target_screenshot_test_id/:target_version_id/comparison/:base_result_id", "responses": [ { "uuid": "75310967-2d67-4972-b1b1-a30b479df429", "body": "{\n \"base\": {\n \"screenshot\": {\n \"screenshot_id\": {{faker 'number.int' max=99999}}\n }\n },\n \"targets\": [\n {\n \"comparison\": {\n \"differences\": {{faker 'number.int' max=99999}},\n \"elements\": [\n {\n \"difference\": \"\",\n \"full_path\": \"\",\n \"short_path\": \"\",\n \"show_difference_public_url\": \"\",\n \"show_difference_web_url\": \"\"\n }\n ],\n \"error\": {{faker 'datatype.boolean'}},\n \"message\": \"\",\n \"show_comparisons_public_url\": \"\",\n \"show_comparisons_web_url\": \"\",\n \"tolerance\": {{faker 'number.int' max=99999}}\n },\n \"screenshot\": {\n \"screenshot_id\": {{faker 'number.int' max=99999}}\n }\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "An array of Configuration objects. Within each configuration is an array of browsers", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "53e5e9ad-fcc6-4c21-b519-7edecfa7590e", "documentation": "Compare Single Screenshot", "method": "get", "endpoint": "screenshots/:target_screenshot_test_id/:target_version_id/:target_result_id/comparison/:base_result_id", "responses": [ { "uuid": "441d5add-df17-45da-b5da-358e997628aa", "body": "{\n \"base\": {\n \"screenshot\": {\n \"screenshot_id\": {{faker 'number.int' max=99999}}\n }\n },\n \"target\": {\n \"comparison\": {\n \"differences\": {{faker 'number.int' max=99999}},\n \"elements\": [\n {\n \"difference\": \"\",\n \"full_path\": \"\",\n \"short_path\": \"\",\n \"show_difference_public_url\": \"\",\n \"show_difference_web_url\": \"\"\n }\n ],\n \"error\": {{faker 'datatype.boolean'}},\n \"message\": \"\",\n \"show_comparisons_public_url\": \"\",\n \"show_comparisons_web_url\": \"\",\n \"tolerance\": {{faker 'number.int' max=99999}}\n },\n \"screenshot\": {\n \"screenshot_id\": {{faker 'number.int' max=99999}}\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "An array of Configuration objects. Within each configuration is an array of browsers", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "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": "d3c62622-4eb6-40ab-935c-a24ce9d061d7" }, { "type": "route", "uuid": "dc98f370-8651-40a8-9a00-9a07fed6e438" }, { "type": "route", "uuid": "53e5e9ad-fcc6-4c21-b519-7edecfa7590e" } ] }