{ "uuid": "9afff164-46fe-4f81-81d7-d61f4182f2d5", "lastMigration": 29, "name": "Voodoo Manufacturing 3D Print API", "endpointPrefix": "api/2", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "09712f81-be23-488c-95ef-379597837584", "documentation": "Voodoo Manufacturing offers printing in a number of different materials, with different color options for each. Your organization can expose as many or as few material options as you want to your end-customer.\n", "method": "get", "endpoint": "materials", "responses": [ { "uuid": "69c461a7-0adf-435c-846f-01a6b8e4894a", "body": "[\n {\n \"color\": \"\",\n \"color_sample\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"type\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "Array of materials", "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": "9a289df3-6e16-41e9-80f0-52319123579a", "documentation": "Retrieve the models you've created.\n", "method": "get", "endpoint": "model", "responses": [ { "uuid": "d32d5fcd-595f-44b8-a717-47013b849ab9", "body": "[\n {\n \"id\": {{faker 'number.int' max=99999}},\n \"rendering_url\": \"\",\n \"surface_area\": {{faker 'number.int' max=99999}},\n \"volume\": {{faker 'number.int' max=99999}},\n \"x\": {{faker 'number.int' max=99999}},\n \"y\": {{faker 'number.int' max=99999}},\n \"z\": {{faker 'number.int' max=99999}}\n }\n]", "latency": 0, "statusCode": 200, "label": "Array of models", "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": "0980743a-776e-48b0-80b3-f45fe80c5d6a", "documentation": "Models represent 3D design files that you'd like to produce. Creating models is generally the first step in creating an order.\n", "method": "post", "endpoint": "model", "responses": [ { "uuid": "7a76002d-2bcd-4359-a12f-12679c6b8eaf", "body": "{\n \"id\": {{faker 'number.int' max=99999}},\n \"rendering_url\": \"\",\n \"surface_area\": {{faker 'number.int' max=99999}},\n \"volume\": {{faker 'number.int' max=99999}},\n \"x\": {{faker 'number.int' max=99999}},\n \"y\": {{faker 'number.int' max=99999}},\n \"z\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Model object", "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": "18ec1a4a-9ee5-417a-8f03-ef48009d5140", "documentation": "Get a quote a given model id.\n", "method": "get", "endpoint": "model/quote", "responses": [ { "uuid": "4fc8a869-c288-436c-9e6c-6ec3da7e3509", "body": "{\n \"material_id\": {{faker 'number.int' max=99999}},\n \"model_id\": {{faker 'number.int' max=99999}},\n \"options\": {\n \"orientation\": {{faker 'number.int' max=99999}}\n },\n \"quote\": {{faker 'number.int' max=99999}},\n \"unit_cost\": {{faker 'number.int' max=99999}},\n \"units\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Quote for model with attributes", "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": "87f4b34b-e785-4bc7-8e1f-efb6a4466ccc", "documentation": "Get a quote for a model with the given attributes.\n", "method": "get", "endpoint": "model/quote_attrs", "responses": [ { "uuid": "ae4b1abf-8764-42cc-81b8-40772e64c197", "body": "{\n \"material_id\": {{faker 'number.int' max=99999}},\n \"model_id\": {{faker 'number.int' max=99999}},\n \"options\": {\n \"orientation\": {{faker 'number.int' max=99999}}\n },\n \"quote\": {{faker 'number.int' max=99999}},\n \"unit_cost\": {{faker 'number.int' max=99999}},\n \"units\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Quote for model with attributes", "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": "8e4202ff-7290-4e07-a89a-3a511758e291", "documentation": "Retrieve a previously created model by its id.\n", "method": "get", "endpoint": "model/:model_id", "responses": [ { "uuid": "8060bfd7-7c09-4fce-b4ae-13a210396bd1", "body": "{\n \"id\": {{faker 'number.int' max=99999}},\n \"rendering_url\": \"\",\n \"surface_area\": {{faker 'number.int' max=99999}},\n \"volume\": {{faker 'number.int' max=99999}},\n \"x\": {{faker 'number.int' max=99999}},\n \"y\": {{faker 'number.int' max=99999}},\n \"z\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Model object", "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": "2a7b38f4-71c7-4a19-9be8-ccd70112c5e9", "documentation": "Lists all orders.\n", "method": "get", "endpoint": "order", "responses": [ { "uuid": "e4aa9aec-ba63-4380-ae48-cc29c7a1c75c", "body": "[\n {\n \"customer_contact_email\": \"\",\n \"customer_name\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"notes\": \"\",\n \"prints\": [\n {\n \"material\": {\n \"color\": \"\",\n \"color_sample\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"type\": \"\"\n },\n \"model\": {\n \"id\": {{faker 'number.int' max=99999}},\n \"rendering_url\": \"\",\n \"surface_area\": {{faker 'number.int' max=99999}},\n \"volume\": {{faker 'number.int' max=99999}},\n \"x\": {{faker 'number.int' max=99999}},\n \"y\": {{faker 'number.int' max=99999}},\n \"z\": {{faker 'number.int' max=99999}}\n },\n \"quantity\": {{faker 'number.int' max=99999}},\n \"units\": \"\"\n }\n ],\n \"reference\": \"\",\n \"ship_by\": \"\",\n \"shipping_address\": {\n \"city\": \"\",\n \"country\": \"\",\n \"email\": \"\",\n \"name\": \"\",\n \"state\": \"\",\n \"street1\": \"\",\n \"street2\": \"\",\n \"zip\": \"\"\n }\n }\n]", "latency": 0, "statusCode": 200, "label": "Array of orders", "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": "6fa6f3b4-1992-471d-89b6-90c6639f6d0a", "documentation": "Confirms an order from a quote_id and submits it to the Voodoo factory.\n", "method": "post", "endpoint": "order/confirm", "responses": [ { "uuid": "63720c51-29f1-442d-98b1-20a68ac9c5e4", "body": "{\n \"address\": {\n \"city\": \"\",\n \"country\": \"\",\n \"email\": \"\",\n \"name\": \"\",\n \"state\": \"\",\n \"street1\": \"\",\n \"street2\": \"\",\n \"zip\": \"\"\n },\n \"delivery_date\": \"\",\n \"notes\": \"\",\n \"order_id\": \"\",\n \"order_items\": [\n {\n \"material_id\": {{faker 'number.int' max=99999}},\n \"model_id\": {{faker 'number.int' max=99999}},\n \"options\": {\n \"orientation\": {{faker 'datatype.boolean'}}\n },\n \"quantity\": {{faker 'number.int' max=99999}},\n \"units\": \"\"\n }\n ],\n \"purchased\": {{faker 'datatype.boolean'}},\n \"quote\": {\n \"errors\": [\n \"\"\n ],\n \"grand_total\": {{faker 'number.int' max=99999}},\n \"items\": {{faker 'number.int' max=99999}},\n \"options\": {\n \"orientation\": {{faker 'number.int' max=99999}}\n },\n \"shipping\": {{faker 'number.int' max=99999}},\n \"tax\": {{faker 'number.int' max=99999}},\n \"total\": {{faker 'number.int' max=99999}}\n },\n \"shipping_service\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Order info with order_id", "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": "d5435883-13ae-4849-a82d-f1e681cbd56c", "documentation": "Quotes an order and returns a quote_id that is used to confirm the order.\n", "method": "post", "endpoint": "order/create", "responses": [ { "uuid": "e146cf65-da26-43f8-80d1-296dd0c9455c", "body": "{\n \"address\": {\n \"city\": \"\",\n \"country\": \"\",\n \"email\": \"\",\n \"name\": \"\",\n \"state\": \"\",\n \"street1\": \"\",\n \"street2\": \"\",\n \"zip\": \"\"\n },\n \"delivery_date\": \"\",\n \"notes\": \"\",\n \"order_items\": [\n {\n \"material_id\": {{faker 'number.int' max=99999}},\n \"model_id\": {{faker 'number.int' max=99999}},\n \"options\": {\n \"orientation\": {{faker 'datatype.boolean'}}\n },\n \"quantity\": {{faker 'number.int' max=99999}},\n \"units\": \"\"\n }\n ],\n \"quote\": {\n \"errors\": [\n \"\"\n ],\n \"grand_total\": {{faker 'number.int' max=99999}},\n \"items\": {{faker 'number.int' max=99999}},\n \"options\": {\n \"orientation\": {{faker 'number.int' max=99999}}\n },\n \"shipping\": {{faker 'number.int' max=99999}},\n \"tax\": {{faker 'number.int' max=99999}},\n \"total\": {{faker 'number.int' max=99999}}\n },\n \"quote_id\": \"\",\n \"shipping_service\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Quote and order information.", "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": "835940f2-0546-46a2-916e-488ae6d29d3a", "documentation": "List shipping options and prices for a given shipment.\n", "method": "post", "endpoint": "order/shipping", "responses": [ { "uuid": "1473356f-29b2-47c9-8b95-eda388178405", "body": "{\n \"rates\": [\n {\n \"delivery_date\": \"\",\n \"display_name\": \"\",\n \"guaranteed\": {{faker 'datatype.boolean'}},\n \"price\": {{faker 'number.int' max=99999}},\n \"service\": \"\",\n \"ship_date\": \"\",\n \"value\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Object containing an array of shipping rates", "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": "88a8d7f1-4c35-424f-8302-df0c8619bb9e", "documentation": "Retrieve a previously created model by its id.\n", "method": "get", "endpoint": "order/:order_id", "responses": [ { "uuid": "67e7fa15-697e-48db-b1e2-a73df0c0ec3a", "body": "{\n \"customer_contact_email\": \"\",\n \"customer_name\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"notes\": \"\",\n \"prints\": [\n {\n \"material\": {\n \"color\": \"\",\n \"color_sample\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"type\": \"\"\n },\n \"model\": {\n \"id\": {{faker 'number.int' max=99999}},\n \"rendering_url\": \"\",\n \"surface_area\": {{faker 'number.int' max=99999}},\n \"volume\": {{faker 'number.int' max=99999}},\n \"x\": {{faker 'number.int' max=99999}},\n \"y\": {{faker 'number.int' max=99999}},\n \"z\": {{faker 'number.int' max=99999}}\n },\n \"quantity\": {{faker 'number.int' max=99999}},\n \"units\": \"\"\n }\n ],\n \"reference\": \"\",\n \"ship_by\": \"\",\n \"shipping_address\": {\n \"city\": \"\",\n \"country\": \"\",\n \"email\": \"\",\n \"name\": \"\",\n \"state\": \"\",\n \"street1\": \"\",\n \"street2\": \"\",\n \"zip\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Model object", "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": "09712f81-be23-488c-95ef-379597837584" }, { "type": "route", "uuid": "9a289df3-6e16-41e9-80f0-52319123579a" }, { "type": "route", "uuid": "0980743a-776e-48b0-80b3-f45fe80c5d6a" }, { "type": "route", "uuid": "18ec1a4a-9ee5-417a-8f03-ef48009d5140" }, { "type": "route", "uuid": "87f4b34b-e785-4bc7-8e1f-efb6a4466ccc" }, { "type": "route", "uuid": "8e4202ff-7290-4e07-a89a-3a511758e291" }, { "type": "route", "uuid": "2a7b38f4-71c7-4a19-9be8-ccd70112c5e9" }, { "type": "route", "uuid": "6fa6f3b4-1992-471d-89b6-90c6639f6d0a" }, { "type": "route", "uuid": "d5435883-13ae-4849-a82d-f1e681cbd56c" }, { "type": "route", "uuid": "835940f2-0546-46a2-916e-488ae6d29d3a" }, { "type": "route", "uuid": "88a8d7f1-4c35-424f-8302-df0c8619bb9e" } ] }