{ "uuid": "bbcedce9-e5ab-48a5-b062-d3c41a707bdc", "lastMigration": 29, "name": "import.io", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "2c268d1c-70cb-4fa3-a0e8-8a3968c94891", "documentation": "Get the list of schedules for all your extractors", "method": "get", "endpoint": "extractor", "responses": [ { "uuid": "6e5a093a-55a6-41bb-898f-828f70cce619", "body": "{\n \"extractorId\": \"\",\n \"interval\": \"\",\n \"intervalData\": {\n \"minutes\": \"\",\n \"time\": \"\",\n \"type\": \"\"\n },\n \"nextRunAt\": {{faker 'number.int' max=99999}},\n \"ownerId\": \"\",\n \"startTimestamp\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "array of crawl run schedules", "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": "7e5ca588-c148-4f07-a957-0920cd093d3f", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"error\": \"\",\n \"message\": \"\"\n}", "latency": 0, "statusCode": 401, "label": "User 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": "6feedda8-6040-4b74-a895-4776132464db", "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": "b28f12f3-9317-4f0a-b581-af3cb22091e4", "documentation": "Schedule and extractor to run at a specific time", "method": "post", "endpoint": "extractor", "responses": [ { "uuid": "499f0ea6-ae85-4458-8944-4c8e658e55b6", "body": "{\n \"extractorId\": \"\",\n \"interval\": \"\",\n \"intervalData\": {\n \"minutes\": \"\",\n \"time\": \"\",\n \"type\": \"\"\n },\n \"nextRunAt\": {{faker 'number.int' max=99999}},\n \"ownerId\": \"\",\n \"startTimestamp\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "crawl run schedule", "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": "e1287aca-3500-44ce-b1f1-91517f72a1e0", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"error\": \"\",\n \"message\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "Validation errors on the request input.", "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": "23f8d5f6-3a72-495b-9b4f-ad9ed1208af4", "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": "dc89cf16-d9b4-47f1-a763-43451718beda", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"error\": \"\",\n \"message\": \"\"\n}", "latency": 0, "statusCode": 403, "label": "User is not allowed to create schedule for this extractor.", "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": "991eccf1-b2b5-4fe5-87a8-9a22003260eb", "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": "968a5fdd-4d9d-4c06-8948-84dcd51ff338", "documentation": "Delete an existing schedule", "method": "delete", "endpoint": "extractor/:extractorId/", "responses": [ { "uuid": "2811c859-1bdb-48ce-88b1-b78b5a6fb5b3", "body": "", "latency": 0, "statusCode": 200, "label": "Empty object", "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": "ff5e14ee-a537-413f-941a-e83dbee203b8", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"error\": \"\",\n \"message\": \"\"\n}", "latency": 0, "statusCode": 401, "label": "User 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": "c968d5c1-5d96-4644-a9d4-11f373885b6c", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"error\": \"\",\n \"message\": \"\"\n}", "latency": 0, "statusCode": 403, "label": "User is not allowed to delete this schedule.", "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": "cc7966be-111f-46e3-9cb6-15a43de66112", "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": "14823e65-40d7-45b1-934b-d4a2596aec34", "documentation": "Get the schedule of a particular extractor", "method": "get", "endpoint": "extractor/:extractorId/", "responses": [ { "uuid": "f10830ff-0f59-4031-acf3-bc335f8194ee", "body": "{\n \"extractorId\": \"\",\n \"interval\": \"\",\n \"intervalData\": {\n \"minutes\": \"\",\n \"time\": \"\",\n \"type\": \"\"\n },\n \"nextRunAt\": {{faker 'number.int' max=99999}},\n \"ownerId\": \"\",\n \"startTimestamp\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "crawl run schedule", "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" } ], "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": "2c268d1c-70cb-4fa3-a0e8-8a3968c94891" }, { "type": "route", "uuid": "b28f12f3-9317-4f0a-b581-af3cb22091e4" }, { "type": "route", "uuid": "968a5fdd-4d9d-4c06-8948-84dcd51ff338" }, { "type": "route", "uuid": "14823e65-40d7-45b1-934b-d4a2596aec34" } ] }