{ "opencollection": "1.0.0", "info": { "name": "Spotio 2.0 Routes V2 API", "version": "v1" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "RoutesV2", "type": "folder" }, "items": [ { "info": { "name": "Create new route.", "type": "http" }, "http": { "method": "POST", "url": "https://api.spotio2.com/api/routes/v2", "headers": [ { "name": "x-app-version", "value": "" } ], "params": [ { "name": "filterId", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Create new route." }, { "info": { "name": "Get the route by id.", "type": "http" }, "http": { "method": "GET", "url": "https://api.spotio2.com/api/routes/v2/:id", "headers": [ { "name": "x-app-version", "value": "" } ], "params": [ { "name": "filterId", "value": "", "type": "query" }, { "name": "id", "value": "", "type": "path", "description": "Id of the route." } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Get the route by id." }, { "info": { "name": "Update the route.", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.spotio2.com/api/routes/v2/:id", "headers": [ { "name": "x-app-version", "value": "" } ], "params": [ { "name": "filterId", "value": "", "type": "query" }, { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Update the route." }, { "info": { "name": "Get a preview of the first route scheduled for today for the calling user, intended for the home screen widget.", "type": "http" }, "http": { "method": "GET", "url": "https://api.spotio2.com/api/routes/v2/preview", "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Get a preview of the first route scheduled for today for the calling user, intended for the home screen widget." }, { "info": { "name": "Calculate the route.", "type": "http" }, "http": { "method": "POST", "url": "https://api.spotio2.com/api/routes/v2/calculate", "headers": [ { "name": "x-app-version", "value": "" } ], "params": [ { "name": "filterId", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Calculate the route." }, { "info": { "name": "Enhance the route.", "type": "http" }, "http": { "method": "POST", "url": "https://api.spotio2.com/api/routes/v2/enhance", "headers": [ { "name": "x-app-version", "value": "" } ], "params": [ { "name": "filterId", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Enhance the route." }, { "info": { "name": "Start the trip based on the route.", "type": "http" }, "http": { "method": "POST", "url": "https://api.spotio2.com/api/routes/v2/:id/start", "headers": [ { "name": "x-app-version", "value": "" } ], "params": [ { "name": "filterId", "value": "", "type": "query" }, { "name": "id", "value": "", "type": "path", "description": "Id of the route." } ], "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Start the trip based on the route." }, { "info": { "name": "Get recommended stops for the route.", "type": "http" }, "http": { "method": "POST", "url": "https://api.spotio2.com/api/routes/v2/recommended-stops", "headers": [ { "name": "x-app-version", "value": "" } ], "params": [ { "name": "filterId", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "docs": "Get recommended stops for the route." } ] } ], "bundled": true }