{ "uuid": "731f23f3-0238-4f45-82a3-cd628e715eed", "lastMigration": 29, "name": "import.io", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "24af1c02-6c35-463c-9e69-b1a847b56b25", "documentation": "Get the latest crawl run results as a csv", "method": "get", "endpoint": "extractor/:extractorId/csv/latest", "responses": [ { "uuid": "a0017557-b4fb-4a82-a35b-0ea7c898eceb", "body": "", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "text/csv" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "1582ebf7-3ab8-48dd-9fde-f47cda5aee57", "body": "", "latency": 0, "statusCode": 401, "label": "User doesn't own this extractor, or doesn't have a valid session.", "headers": [{ "key": "Content-Type", "value": "text/csv" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7142e535-258e-46e3-905d-569395181e9f", "body": "", "latency": 0, "statusCode": 404, "label": "Not found: Extractor has not been run.", "headers": [{ "key": "Content-Type", "value": "text/csv" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ff0fae50-ae86-4884-a3f3-70f06b000718", "documentation": "Get the latest crawl run results as json", "method": "get", "endpoint": "extractor/:extractorId/json/latest", "responses": [ { "uuid": "29db34e7-ef96-4bc7-b8f7-ece1b428b411", "body": "{}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json; boundary=NL" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c116f219-1ee5-4935-b576-20679149b6d1", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"error\": \"\",\n \"message\": \"\"\n}", "latency": 0, "statusCode": 401, "label": "User doesn't own this extractor, or doesn't have a valid session.", "headers": [ { "key": "Content-Type", "value": "application/json; boundary=NL" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1aa2847b-18fc-4d07-a884-5b20a592c3ce", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"error\": \"\",\n \"message\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Not found: Extractor has not been run.", "headers": [ { "key": "Content-Type", "value": "application/json; boundary=NL" } ], "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": "24af1c02-6c35-463c-9e69-b1a847b56b25" }, { "type": "route", "uuid": "ff0fae50-ae86-4884-a3f3-70f06b000718" } ] }