{ "uuid": "dc8c7fbd-4476-44c5-ae2f-c155036cbc68", "lastMigration": 29, "name": "import.io", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "30a96fe5-2ce3-4ee7-b6f9-2c1de592a079", "documentation": "Cancel an existing crawl.", "method": "post", "endpoint": "extractor/:extractorId/cancel", "responses": [ { "uuid": "a9a215cc-ff97-476c-bf07-f2f93d7df895", "body": "{}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json;charset=UTF-8" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "73802947-6104-4cb1-874a-1e436727b6e2", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"error\": \"\",\n \"message\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "No in progress crawl found to cancel.", "headers": [ { "key": "Content-Type", "value": "application/json;charset=UTF-8" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "988e6058-7c2f-43eb-a0f4-aeb5a777c548", "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;charset=UTF-8" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c6cdf2a3-f70a-4ed5-b7c7-b58d5699b271", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"error\": \"\",\n \"message\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Unable to find supplied extractor ID.", "headers": [ { "key": "Content-Type", "value": "application/json;charset=UTF-8" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e99297e9-62eb-4347-af6e-1683397224da", "documentation": "Launch a crawl from an extractor that a user owns.", "method": "post", "endpoint": "extractor/:extractorId/start", "responses": [ { "uuid": "209f2ec1-ffb9-40e7-8f4f-d2e163cce282", "body": "{}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json;charset=UTF-8" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "f76943b5-6e4a-4e61-91cc-60a50f4e242b", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"error\": \"\",\n \"message\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "Extractor is archived or a crawl already in progress.", "headers": [ { "key": "Content-Type", "value": "application/json;charset=UTF-8" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b5d941fb-f261-457a-8f61-bb6018900850", "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;charset=UTF-8" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5211c983-9f15-4615-b24c-6de876806f32", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"error\": \"\",\n \"message\": \"\"\n}", "latency": 0, "statusCode": 404, "label": "Unable to find supplied extractor ID.", "headers": [ { "key": "Content-Type", "value": "application/json;charset=UTF-8" } ], "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": "30a96fe5-2ce3-4ee7-b6f9-2c1de592a079" }, { "type": "route", "uuid": "e99297e9-62eb-4347-af6e-1683397224da" } ] }