{ "uuid": "6a81f6df-3ae2-4e92-a4c7-ba399e234cf7", "lastMigration": 19, "name": "Traccar", "endpointPrefix": "api", "latency": 0, "port": 3000, "hostname": "0.0.0.0", "routes": [ { "uuid": "95ed399a-2fe4-4709-8314-27cd26fd01d5", "documentation": "Fetch a list of Attributes", "method": "get", "endpoint": "attributes/computed", "responses": [ { "uuid": "70783e2b-177b-4393-a71b-5c00b088a9be", "body": "[\n {\n \"attribute\": \"\",\n \"description\": \"\",\n \"expression\": \"\",\n \"id\": {{faker 'random.number'}},\n \"type\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "26b4c43e-9c57-4213-a046-837f41dd7d00", "documentation": "Create an Attribute", "method": "post", "endpoint": "attributes/computed", "responses": [ { "uuid": "49ed8bc3-9666-4775-9255-4a4b651b6ee6", "body": "{\n \"attribute\": \"\",\n \"description\": \"\",\n \"expression\": \"\",\n \"id\": {{faker 'random.number'}},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "8169ffa6-6fcb-4001-a82d-e58296112827", "documentation": "Delete an Attribute", "method": "delete", "endpoint": "attributes/computed/:id", "responses": [ { "uuid": "a39566cd-3289-46ae-9658-ae3d37938a63", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "0e8e6509-b861-4560-9980-b6c7450e4a90", "documentation": "Update an Attribute", "method": "put", "endpoint": "attributes/computed/:id", "responses": [ { "uuid": "98bc5af0-40ce-4c92-92bb-45c3c395b38f", "body": "{\n \"attribute\": \"\",\n \"description\": \"\",\n \"expression\": \"\",\n \"id\": {{faker 'random.number'}},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "0c8c7951-02f8-4298-82f6-cd3faa39a279", "documentation": "Fetch a list of Calendars", "method": "get", "endpoint": "calendars", "responses": [ { "uuid": "1b011356-384e-4d01-a90f-f9f0a296002e", "body": "[\n {\n \"attributes\": {},\n \"data\": \"\",\n \"id\": {{faker 'random.number'}},\n \"name\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "5ce9885f-7338-4a30-98c1-f09c9e997025", "documentation": "Create a Calendar", "method": "post", "endpoint": "calendars", "responses": [ { "uuid": "144deaea-e270-40ac-b8e6-ea42552470ca", "body": "{\n \"attributes\": {},\n \"data\": \"\",\n \"id\": {{faker 'random.number'}},\n \"name\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "160f0993-ecdc-4638-951d-86f5e9c3f693", "documentation": "Delete a Calendar", "method": "delete", "endpoint": "calendars/:id", "responses": [ { "uuid": "0f9af33f-0987-4f39-8262-47b36cdaf9b8", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "426c6e56-f4a0-443b-b12f-c3a9cb77fb74", "documentation": "Update a Calendar", "method": "put", "endpoint": "calendars/:id", "responses": [ { "uuid": "30957121-da94-4e72-b0f2-9b23a57ee956", "body": "{\n \"attributes\": {},\n \"data\": \"\",\n \"id\": {{faker 'random.number'}},\n \"name\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "30b6be90-4f12-480e-84e6-edeceaac44d9", "documentation": "Fetch a list of Saved Commands", "method": "get", "endpoint": "commands", "responses": [ { "uuid": "7c06a54f-b9d3-4a9e-b1df-3921cf3a2ca6", "body": "[\n {\n \"attributes\": {},\n \"description\": \"\",\n \"deviceId\": {{faker 'random.number'}},\n \"id\": {{faker 'random.number'}},\n \"type\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "7a2f738a-8e8c-4fb9-9565-660dff6d254e", "documentation": "Create a Saved Command", "method": "post", "endpoint": "commands", "responses": [ { "uuid": "15eec41f-25ae-44fb-9442-35aeba32337f", "body": "{\n \"attributes\": {},\n \"description\": \"\",\n \"deviceId\": {{faker 'random.number'}},\n \"id\": {{faker 'random.number'}},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "28af9502-6748-4369-a435-9d4d15a05d9a", "documentation": "Fetch a list of Saved Commands supported by Device at the moment", "method": "get", "endpoint": "commands/send", "responses": [ { "uuid": "61ca14c9-52ee-4785-bb10-a1b28e99d430", "body": "[\n {\n \"attributes\": {},\n \"description\": \"\",\n \"deviceId\": {{faker 'random.number'}},\n \"id\": {{faker 'random.number'}},\n \"type\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "30ac506c-156d-409a-b455-1c82182fc9b5", "body": "", "latency": 0, "statusCode": 400, "label": "Could happen when the user doesn't have permission for the device", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "005be77a-5cb3-44c0-91b0-5d0ee0dc4f01", "documentation": "Dispatch commands to device", "method": "post", "endpoint": "commands/send", "responses": [ { "uuid": "a118b34f-a04b-47cf-998d-c134b0347e8e", "body": "{\n \"attributes\": {},\n \"description\": \"\",\n \"deviceId\": {{faker 'random.number'}},\n \"id\": {{faker 'random.number'}},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Command sent", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "add61d9b-28c1-4b82-8f46-ad3b024b895b", "body": "{\n \"attributes\": {},\n \"description\": \"\",\n \"deviceId\": {{faker 'random.number'}},\n \"id\": {{faker 'random.number'}},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 202, "label": "Command queued", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "d1abd253-9e61-471d-bfa2-d5789b0ea05f", "body": "", "latency": 0, "statusCode": 400, "label": "Could happen when the user doesn't have permission or an incorrect command _type_ for the device", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "c049e2c2-3e23-4c35-8bbd-c013c4e4381a", "documentation": "Fetch a list of available Commands for the Device or all possible Commands if Device ommited", "method": "get", "endpoint": "commands/types", "responses": [ { "uuid": "39c1ff70-deec-4d45-b354-ac649252f833", "body": "[\n {\n \"type\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "b0edec37-e123-42f5-ad32-5c19998f17d7", "body": "", "latency": 0, "statusCode": 400, "label": "Could happen when trying to fetch from a device the user does not have permission", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "ca30f906-5aac-4d53-ae51-69994725352a", "documentation": "Delete a Saved Command", "method": "delete", "endpoint": "commands/:id", "responses": [ { "uuid": "5b8bfaad-2524-4a91-b959-854644768895", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "92652a27-3503-452d-bf4d-729d658a880c", "documentation": "Update a Saved Command", "method": "put", "endpoint": "commands/:id", "responses": [ { "uuid": "63c58040-3081-4533-894d-7b2426c63f1d", "body": "{\n \"attributes\": {},\n \"description\": \"\",\n \"deviceId\": {{faker 'random.number'}},\n \"id\": {{faker 'random.number'}},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "d4e8b36b-a273-4c90-bfa2-e075604f5d24", "documentation": "Fetch a list of Devices", "method": "get", "endpoint": "devices", "responses": [ { "uuid": "cb4c67ef-2c5d-489d-bf1a-2f716c1c329a", "body": "[\n {\n \"attributes\": {},\n \"category\": \"\",\n \"contact\": \"\",\n \"disabled\": {{faker 'random.boolean'}},\n \"geofenceIds\": [\n {{faker 'random.number'}}\n ],\n \"groupId\": {{faker 'random.number'}},\n \"id\": {{faker 'random.number'}},\n \"lastUpdate\": \"{{faker 'date.recent' 365}}\",\n \"model\": \"\",\n \"name\": \"\",\n \"phone\": \"\",\n \"positionId\": {{faker 'random.number'}},\n \"status\": \"\",\n \"uniqueId\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "6452733d-7432-4364-9450-ac910f427967", "body": "", "latency": 0, "statusCode": 400, "label": "No permission", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "ee662bf8-88f4-47ef-86cc-ecb8c6c41f93", "documentation": "Create a Device", "method": "post", "endpoint": "devices", "responses": [ { "uuid": "c85468cc-a0db-40d6-a7d3-684347333870", "body": "{\n \"attributes\": {},\n \"category\": \"\",\n \"contact\": \"\",\n \"disabled\": {{faker 'random.boolean'}},\n \"geofenceIds\": [\n {{faker 'random.number'}}\n ],\n \"groupId\": {{faker 'random.number'}},\n \"id\": {{faker 'random.number'}},\n \"lastUpdate\": \"{{faker 'date.recent' 365}}\",\n \"model\": \"\",\n \"name\": \"\",\n \"phone\": \"\",\n \"positionId\": {{faker 'random.number'}},\n \"status\": \"\",\n \"uniqueId\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "181b29d3-7f4a-465e-8c18-d60739be09be", "documentation": "Delete a Device", "method": "delete", "endpoint": "devices/:id", "responses": [ { "uuid": "a517c146-ff40-471f-95e3-c76de68ca03e", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "b4c3d2fc-7d2f-4c2a-97b5-b40618ab9e3a", "documentation": "Update a Device", "method": "put", "endpoint": "devices/:id", "responses": [ { "uuid": "6dd2192b-9545-449f-9d24-1f439c75413f", "body": "{\n \"attributes\": {},\n \"category\": \"\",\n \"contact\": \"\",\n \"disabled\": {{faker 'random.boolean'}},\n \"geofenceIds\": [\n {{faker 'random.number'}}\n ],\n \"groupId\": {{faker 'random.number'}},\n \"id\": {{faker 'random.number'}},\n \"lastUpdate\": \"{{faker 'date.recent' 365}}\",\n \"model\": \"\",\n \"name\": \"\",\n \"phone\": \"\",\n \"positionId\": {{faker 'random.number'}},\n \"status\": \"\",\n \"uniqueId\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "86b3b1ae-977a-4b53-a5cd-8cb483e940f7", "documentation": "Update total distance and hours of the Device", "method": "put", "endpoint": "devices/:id/accumulators", "responses": [ { "uuid": "e0a847c0-e8f1-4d73-986b-9b7bbecf9cff", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "0856dc03-4c49-4c21-9737-01d4bd4351f7", "documentation": "Fetch a list of Drivers", "method": "get", "endpoint": "drivers", "responses": [ { "uuid": "a68f2dde-3937-4817-95b2-e16dc28d31c1", "body": "[\n {\n \"attributes\": {},\n \"id\": {{faker 'random.number'}},\n \"name\": \"\",\n \"uniqueId\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "22039c74-9082-4524-8ef5-5aa9194d9ac0", "documentation": "Create a Driver", "method": "post", "endpoint": "drivers", "responses": [ { "uuid": "2ac11314-ef70-4827-a0a0-2728296c184d", "body": "{\n \"attributes\": {},\n \"id\": {{faker 'random.number'}},\n \"name\": \"\",\n \"uniqueId\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "fb7192da-de19-4c17-89fe-fee29808d2ee", "documentation": "Delete a Driver", "method": "delete", "endpoint": "drivers/:id", "responses": [ { "uuid": "cfff29e0-8381-433c-b3e7-d0c4df2b244f", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "c0a0a0d1-c844-44c1-948e-27801e2eaaca", "documentation": "Update a Driver", "method": "put", "endpoint": "drivers/:id", "responses": [ { "uuid": "59eacb78-0cd5-4c95-ab04-00e6020cf337", "body": "{\n \"attributes\": {},\n \"id\": {{faker 'random.number'}},\n \"name\": \"\",\n \"uniqueId\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "f03ff606-013e-4da2-98a3-22a411d51c8b", "documentation": "", "method": "get", "endpoint": "events/:id", "responses": [ { "uuid": "29aefd08-faea-469e-a3e4-6ffd7ad184d5", "body": "{\n \"attributes\": {},\n \"deviceId\": {{faker 'random.number'}},\n \"eventTime\": \"{{faker 'date.recent' 365}}\",\n \"geofenceId\": {{faker 'random.number'}},\n \"id\": {{faker 'random.number'}},\n \"maintenanceId\": {{faker 'random.number'}},\n \"positionId\": {{faker 'random.number'}},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "016e8167-509b-4881-97ff-30bdf01f311b", "documentation": "Fetch a list of Geofences", "method": "get", "endpoint": "geofences", "responses": [ { "uuid": "1ca479c9-5203-48f5-9cb6-8454eb19177c", "body": "[\n {\n \"area\": \"\",\n \"attributes\": {},\n \"calendarId\": {{faker 'random.number'}},\n \"description\": \"\",\n \"id\": {{faker 'random.number'}},\n \"name\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "d0b84216-ef05-4ac1-9968-e36e8d057b2c", "documentation": "Create a Geofence", "method": "post", "endpoint": "geofences", "responses": [ { "uuid": "bf18afe8-ef68-4912-ac84-9d33abe4525c", "body": "{\n \"area\": \"\",\n \"attributes\": {},\n \"calendarId\": {{faker 'random.number'}},\n \"description\": \"\",\n \"id\": {{faker 'random.number'}},\n \"name\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "0c1510a8-dc20-4433-9877-ce27054ca05e", "documentation": "Delete a Geofence", "method": "delete", "endpoint": "geofences/:id", "responses": [ { "uuid": "e0ab6058-1b45-4d29-8183-778fd5765e12", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "6ae9081c-3b6c-40a9-8056-c7b3394446ee", "documentation": "Update a Geofence", "method": "put", "endpoint": "geofences/:id", "responses": [ { "uuid": "29b10ec6-5d7f-422e-8410-0bbd080cc629", "body": "{\n \"area\": \"\",\n \"attributes\": {},\n \"calendarId\": {{faker 'random.number'}},\n \"description\": \"\",\n \"id\": {{faker 'random.number'}},\n \"name\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "cfc3274a-0fd6-47f1-9c15-236588a580e7", "documentation": "Fetch a list of Groups", "method": "get", "endpoint": "groups", "responses": [ { "uuid": "0071c067-b298-4909-be2c-613b1552c33d", "body": "[\n {\n \"attributes\": {},\n \"groupId\": {{faker 'random.number'}},\n \"id\": {{faker 'random.number'}},\n \"name\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "64ee9006-734a-4148-a227-ab2a802d4713", "documentation": "Create a Group", "method": "post", "endpoint": "groups", "responses": [ { "uuid": "d04c56e2-864e-42c2-ab69-ff37f16b8734", "body": "{\n \"attributes\": {},\n \"groupId\": {{faker 'random.number'}},\n \"id\": {{faker 'random.number'}},\n \"name\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "414d0d60-25f4-46ad-a36f-96e06581e4d8", "body": "", "latency": 0, "statusCode": 400, "label": "No permission", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "7694bf29-4e0e-412d-b2eb-9375dd520520", "documentation": "Delete a Group", "method": "delete", "endpoint": "groups/:id", "responses": [ { "uuid": "f29214a5-5310-4c17-aa18-0dd74a3e5307", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "f11a8bbc-3231-4a31-840a-cf835d48bdf9", "documentation": "Update a Group", "method": "put", "endpoint": "groups/:id", "responses": [ { "uuid": "f4de595c-fc8f-4071-b4f6-a6d24bf3f354", "body": "{\n \"attributes\": {},\n \"groupId\": {{faker 'random.number'}},\n \"id\": {{faker 'random.number'}},\n \"name\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "de06c155-66dc-458b-b0da-91a9f04717af", "documentation": "Fetch a list of Maintenance", "method": "get", "endpoint": "maintenance", "responses": [ { "uuid": "1bc75767-fd78-40d4-b60a-56f485a7e880", "body": "[\n {\n \"attributes\": {},\n \"id\": {{faker 'random.number'}},\n \"name\": \"\",\n \"period\": {{faker 'random.number'}},\n \"start\": {{faker 'random.number'}},\n \"type\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "5861ff3c-6b16-46ce-9075-53427881bcc0", "documentation": "Create a Maintenance", "method": "post", "endpoint": "maintenance", "responses": [ { "uuid": "31ab9f54-fead-4020-a1c7-72ad841632b0", "body": "{\n \"attributes\": {},\n \"id\": {{faker 'random.number'}},\n \"name\": \"\",\n \"period\": {{faker 'random.number'}},\n \"start\": {{faker 'random.number'}},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "783f85c2-22c5-450d-ab6c-5c183596dedc", "documentation": "Delete a Maintenance", "method": "delete", "endpoint": "maintenance/:id", "responses": [ { "uuid": "2311bc95-2472-430e-87e3-cda30f7dc5fe", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "efb338c6-df60-4f88-9cc1-70d008ac64ba", "documentation": "Update a Maintenance", "method": "put", "endpoint": "maintenance/:id", "responses": [ { "uuid": "0dba048d-a1ad-46be-abe7-1a8644cc698f", "body": "{\n \"attributes\": {},\n \"id\": {{faker 'random.number'}},\n \"name\": \"\",\n \"period\": {{faker 'random.number'}},\n \"start\": {{faker 'random.number'}},\n \"type\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "06d308a7-679f-499d-ae65-19e183de09ac", "documentation": "Fetch a list of Notifications", "method": "get", "endpoint": "notifications", "responses": [ { "uuid": "9b129f4b-ef47-4f87-bee2-23607fc070cd", "body": "[\n {\n \"always\": {{faker 'random.boolean'}},\n \"attributes\": {},\n \"calendarId\": {{faker 'random.number'}},\n \"id\": {{faker 'random.number'}},\n \"mail\": {{faker 'random.boolean'}},\n \"sms\": {{faker 'random.boolean'}},\n \"type\": \"\",\n \"web\": {{faker 'random.boolean'}}\n }\n]", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "d6461458-177c-480c-9a66-0ed8ab974621", "documentation": "Create a Notification", "method": "post", "endpoint": "notifications", "responses": [ { "uuid": "dc4ce71d-961e-4234-9b4a-344707c79f62", "body": "{\n \"always\": {{faker 'random.boolean'}},\n \"attributes\": {},\n \"calendarId\": {{faker 'random.number'}},\n \"id\": {{faker 'random.number'}},\n \"mail\": {{faker 'random.boolean'}},\n \"sms\": {{faker 'random.boolean'}},\n \"type\": \"\",\n \"web\": {{faker 'random.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "4d3bdb1a-f18c-428d-9f7d-35f8f6d08209", "documentation": "Send test notification to current user via Email and SMS", "method": "post", "endpoint": "notifications/test", "responses": [ { "uuid": "4005ded4-a4a2-461f-891e-2f472b2c2a0c", "body": "", "latency": 0, "statusCode": 204, "label": "Successful sending", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "6b8da148-4bc4-469e-9614-78be3adb9fcb", "body": "", "latency": 0, "statusCode": 400, "label": "Could happen if sending has failed", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "b58bfe51-afae-4452-85f7-cb2c2f68c914", "documentation": "Fetch a list of available Notification types", "method": "get", "endpoint": "notifications/types", "responses": [ { "uuid": "ad7c7437-5726-4f83-a157-5e4f5d28d76a", "body": "[\n {\n \"type\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "9e158063-469b-4a30-9d9a-813e90ca15b5", "documentation": "Delete a Notification", "method": "delete", "endpoint": "notifications/:id", "responses": [ { "uuid": "2f241fc9-9abe-440c-8307-d42541b1fc23", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "1da2e5c5-9699-4f71-b28c-c87e05c5fb15", "documentation": "Update a Notification", "method": "put", "endpoint": "notifications/:id", "responses": [ { "uuid": "72bdf58f-f2a6-48cf-bd71-8fffc8969484", "body": "{\n \"always\": {{faker 'random.boolean'}},\n \"attributes\": {},\n \"calendarId\": {{faker 'random.number'}},\n \"id\": {{faker 'random.number'}},\n \"mail\": {{faker 'random.boolean'}},\n \"sms\": {{faker 'random.boolean'}},\n \"type\": \"\",\n \"web\": {{faker 'random.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "41da91e1-08c1-4e2f-bc8b-d1ee03177919", "documentation": "Unlink an Object from another Object", "method": "delete", "endpoint": "permissions", "responses": [ { "uuid": "2d4db7ee-82be-44fe-a4a6-726e587c5cfa", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "014e1b66-cfcd-4297-9c93-e9a7a6006365", "documentation": "Link an Object to another Object", "method": "post", "endpoint": "permissions", "responses": [ { "uuid": "3546efd8-9d2a-4d00-9c60-d38979a0b399", "body": "{\n \"attributeId\": {{faker 'random.number'}},\n \"calendarId\": {{faker 'random.number'}},\n \"deviceId\": {{faker 'random.number'}},\n \"driverId\": {{faker 'random.number'}},\n \"geofenceId\": {{faker 'random.number'}},\n \"groupId\": {{faker 'random.number'}},\n \"managedUserId\": {{faker 'random.number'}},\n \"userId\": {{faker 'random.number'}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "20c976bd-f393-46e0-8dd4-e6e9de1233cf", "body": "", "latency": 0, "statusCode": 400, "label": "No permission", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "4b5cc742-212a-4db6-bb22-3c5a8d524287", "documentation": "Fetches a list of Positions", "method": "get", "endpoint": "positions", "responses": [ { "uuid": "bf97f5ac-c6b8-497b-90cb-e4a89441ba82", "body": "[\n {\n \"accuracy\": {{faker 'random.number'}},\n \"address\": \"\",\n \"altitude\": {{faker 'random.number'}},\n \"attributes\": {},\n \"course\": {{faker 'random.number'}},\n \"deviceId\": {{faker 'random.number'}},\n \"deviceTime\": \"{{faker 'date.recent' 365}}\",\n \"fixTime\": \"{{faker 'date.recent' 365}}\",\n \"id\": {{faker 'random.number'}},\n \"latitude\": {{faker 'random.number'}},\n \"longitude\": {{faker 'random.number'}},\n \"network\": {},\n \"outdated\": {{faker 'random.boolean'}},\n \"protocol\": \"\",\n \"serverTime\": \"{{faker 'date.recent' 365}}\",\n \"speed\": {{faker 'random.number'}},\n \"valid\": {{faker 'random.boolean'}}\n }\n]", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "f1eddf53-ae36-4758-96ef-4d6f79bb4274", "documentation": "Fetch a list of Events within the time period for the Devices or Groups", "method": "get", "endpoint": "reports/events", "responses": [ { "uuid": "e9160e9b-ea0a-4c84-821e-05c002f11b6e", "body": "[\n {\n \"attributes\": {},\n \"deviceId\": {{faker 'random.number'}},\n \"eventTime\": \"{{faker 'date.recent' 365}}\",\n \"geofenceId\": {{faker 'random.number'}},\n \"id\": {{faker 'random.number'}},\n \"maintenanceId\": {{faker 'random.number'}},\n \"positionId\": {{faker 'random.number'}},\n \"type\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "bef18654-ace4-42e7-ba01-cc26f09876fc", "documentation": "Fetch a list of Positions within the time period for the Devices or Groups", "method": "get", "endpoint": "reports/route", "responses": [ { "uuid": "aea770a2-010c-46ad-ac77-e05fbd0985c5", "body": "[\n {\n \"accuracy\": {{faker 'random.number'}},\n \"address\": \"\",\n \"altitude\": {{faker 'random.number'}},\n \"attributes\": {},\n \"course\": {{faker 'random.number'}},\n \"deviceId\": {{faker 'random.number'}},\n \"deviceTime\": \"{{faker 'date.recent' 365}}\",\n \"fixTime\": \"{{faker 'date.recent' 365}}\",\n \"id\": {{faker 'random.number'}},\n \"latitude\": {{faker 'random.number'}},\n \"longitude\": {{faker 'random.number'}},\n \"network\": {},\n \"outdated\": {{faker 'random.boolean'}},\n \"protocol\": \"\",\n \"serverTime\": \"{{faker 'date.recent' 365}}\",\n \"speed\": {{faker 'random.number'}},\n \"valid\": {{faker 'random.boolean'}}\n }\n]", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "a904fd96-0315-40de-a763-8f456605534b", "documentation": "Fetch a list of ReportStops within the time period for the Devices or Groups", "method": "get", "endpoint": "reports/stops", "responses": [ { "uuid": "3c8b5fc1-6162-4c1b-8216-2f5c163155fb", "body": "[\n {\n \"address\": \"\",\n \"deviceId\": {{faker 'random.number'}},\n \"deviceName\": \"\",\n \"duration\": {{faker 'random.number'}},\n \"endTime\": \"{{faker 'date.recent' 365}}\",\n \"engineHours\": {{faker 'random.number'}},\n \"lat\": {{faker 'random.number'}},\n \"lon\": {{faker 'random.number'}},\n \"spentFuel\": {{faker 'random.number'}},\n \"startTime\": \"{{faker 'date.recent' 365}}\"\n }\n]", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "d7381732-7e3d-4116-89cb-ebc69ddc3574", "documentation": "Fetch a list of ReportSummary within the time period for the Devices or Groups", "method": "get", "endpoint": "reports/summary", "responses": [ { "uuid": "e540bb1c-edb5-45da-a5ad-d52a98bac66a", "body": "[\n {\n \"averageSpeed\": {{faker 'random.number'}},\n \"deviceId\": {{faker 'random.number'}},\n \"deviceName\": \"\",\n \"distance\": {{faker 'random.number'}},\n \"engineHours\": {{faker 'random.number'}},\n \"maxSpeed\": {{faker 'random.number'}},\n \"spentFuel\": {{faker 'random.number'}}\n }\n]", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "84e15bbd-2355-40c4-807f-cdd9488ca9ba", "documentation": "Fetch a list of ReportTrips within the time period for the Devices or Groups", "method": "get", "endpoint": "reports/trips", "responses": [ { "uuid": "d5b85129-c1f3-4582-aa81-27be26034af8", "body": "[\n {\n \"averageSpeed\": {{faker 'random.number'}},\n \"deviceId\": {{faker 'random.number'}},\n \"deviceName\": \"\",\n \"distance\": {{faker 'random.number'}},\n \"driverName\": \"\",\n \"driverUniqueId\": {{faker 'random.number'}},\n \"duration\": {{faker 'random.number'}},\n \"endAddress\": \"\",\n \"endLat\": {{faker 'random.number'}},\n \"endLon\": {{faker 'random.number'}},\n \"endTime\": \"{{faker 'date.recent' 365}}\",\n \"maxSpeed\": {{faker 'random.number'}},\n \"spentFuel\": {{faker 'random.number'}},\n \"startAddress\": \"\",\n \"startLat\": {{faker 'random.number'}},\n \"startLon\": {{faker 'random.number'}},\n \"startTime\": \"{{faker 'date.recent' 365}}\"\n }\n]", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "ecb8c48a-ccb4-4bb9-8383-595a22a9c2bc", "documentation": "Fetch Server information", "method": "get", "endpoint": "server", "responses": [ { "uuid": "7d601193-d2a9-48be-8a21-98383298be34", "body": "{\n \"attributes\": {},\n \"bingKey\": \"\",\n \"coordinateFormat\": \"\",\n \"deviceReadonly\": {{faker 'random.boolean'}},\n \"forceSettings\": {{faker 'random.boolean'}},\n \"id\": {{faker 'random.number'}},\n \"latitude\": {{faker 'random.number'}},\n \"limitCommands\": {{faker 'random.boolean'}},\n \"longitude\": {{faker 'random.number'}},\n \"map\": \"\",\n \"mapUrl\": \"\",\n \"poiLayer\": \"\",\n \"readonly\": {{faker 'random.boolean'}},\n \"registration\": {{faker 'random.boolean'}},\n \"twelveHourFormat\": {{faker 'random.boolean'}},\n \"version\": \"\",\n \"zoom\": {{faker 'random.number'}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "027513e8-a8ad-4bc0-af38-f56b5466aa33", "documentation": "Update Server information", "method": "put", "endpoint": "server", "responses": [ { "uuid": "f2d11f22-99c8-4e5d-b5bd-d863006e9acc", "body": "{\n \"attributes\": {},\n \"bingKey\": \"\",\n \"coordinateFormat\": \"\",\n \"deviceReadonly\": {{faker 'random.boolean'}},\n \"forceSettings\": {{faker 'random.boolean'}},\n \"id\": {{faker 'random.number'}},\n \"latitude\": {{faker 'random.number'}},\n \"limitCommands\": {{faker 'random.boolean'}},\n \"longitude\": {{faker 'random.number'}},\n \"map\": \"\",\n \"mapUrl\": \"\",\n \"poiLayer\": \"\",\n \"readonly\": {{faker 'random.boolean'}},\n \"registration\": {{faker 'random.boolean'}},\n \"twelveHourFormat\": {{faker 'random.boolean'}},\n \"version\": \"\",\n \"zoom\": {{faker 'random.number'}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "5ce32f70-d1b1-40eb-b2f4-9880290eb392", "documentation": "Close the Session", "method": "delete", "endpoint": "session", "responses": [ { "uuid": "62f31464-263a-41fc-890b-a2418dc274db", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "f29b3966-6c6d-4754-803a-e992d6b96484", "documentation": "Fetch Session information", "method": "get", "endpoint": "session", "responses": [ { "uuid": "af225ac7-ee1b-42ef-bec1-d9015862aa0d", "body": "{\n \"administrator\": {{faker 'random.boolean'}},\n \"attributes\": {},\n \"coordinateFormat\": \"\",\n \"deviceLimit\": {{faker 'random.number'}},\n \"deviceReadonly\": {{faker 'random.boolean'}},\n \"disabled\": {{faker 'random.boolean'}},\n \"email\": \"\",\n \"expirationTime\": \"{{faker 'date.recent' 365}}\",\n \"id\": {{faker 'random.number'}},\n \"latitude\": {{faker 'random.number'}},\n \"limitCommands\": {{faker 'random.boolean'}},\n \"longitude\": {{faker 'random.number'}},\n \"map\": \"\",\n \"name\": \"\",\n \"password\": \"\",\n \"phone\": \"\",\n \"poiLayer\": \"\",\n \"readonly\": {{faker 'random.boolean'}},\n \"token\": \"\",\n \"twelveHourFormat\": {{faker 'random.boolean'}},\n \"userLimit\": {{faker 'random.number'}},\n \"zoom\": {{faker 'random.number'}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "1a32a413-5780-42ca-ae09-27fd3e3af112", "body": "", "latency": 0, "statusCode": 404, "label": "Not Found", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "27420a95-1abf-4dad-8553-ee0c8e3943cb", "documentation": "Create a new Session", "method": "post", "endpoint": "session", "responses": [ { "uuid": "a2101417-f172-4533-9bce-f2b35cf4ab9b", "body": "{\n \"administrator\": {{faker 'random.boolean'}},\n \"attributes\": {},\n \"coordinateFormat\": \"\",\n \"deviceLimit\": {{faker 'random.number'}},\n \"deviceReadonly\": {{faker 'random.boolean'}},\n \"disabled\": {{faker 'random.boolean'}},\n \"email\": \"\",\n \"expirationTime\": \"{{faker 'date.recent' 365}}\",\n \"id\": {{faker 'random.number'}},\n \"latitude\": {{faker 'random.number'}},\n \"limitCommands\": {{faker 'random.boolean'}},\n \"longitude\": {{faker 'random.number'}},\n \"map\": \"\",\n \"name\": \"\",\n \"password\": \"\",\n \"phone\": \"\",\n \"poiLayer\": \"\",\n \"readonly\": {{faker 'random.boolean'}},\n \"token\": \"\",\n \"twelveHourFormat\": {{faker 'random.boolean'}},\n \"userLimit\": {{faker 'random.number'}},\n \"zoom\": {{faker 'random.number'}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "27fc5e2b-e049-4680-9f65-6be0e46a42f9", "body": "", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "d7e5292d-31ef-498a-a050-cf19e204b971", "documentation": "Fetch server Statistics", "method": "get", "endpoint": "statistics", "responses": [ { "uuid": "79c62035-065a-4324-95a5-22f0803ab9c4", "body": "[\n {\n \"activeDevices\": {{faker 'random.number'}},\n \"activeUsers\": {{faker 'random.number'}},\n \"captureTime\": \"{{faker 'date.recent' 365}}\",\n \"messagesReceived\": {{faker 'random.number'}},\n \"messagesStored\": {{faker 'random.number'}},\n \"requests\": {{faker 'random.number'}}\n }\n]", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "52c4cef6-29c6-4f74-b743-58becf664a94", "documentation": "Fetch a list of Users", "method": "get", "endpoint": "users", "responses": [ { "uuid": "a175e868-6861-40e1-8fbe-1de8b3e9214a", "body": "[\n {\n \"administrator\": {{faker 'random.boolean'}},\n \"attributes\": {},\n \"coordinateFormat\": \"\",\n \"deviceLimit\": {{faker 'random.number'}},\n \"deviceReadonly\": {{faker 'random.boolean'}},\n \"disabled\": {{faker 'random.boolean'}},\n \"email\": \"\",\n \"expirationTime\": \"{{faker 'date.recent' 365}}\",\n \"id\": {{faker 'random.number'}},\n \"latitude\": {{faker 'random.number'}},\n \"limitCommands\": {{faker 'random.boolean'}},\n \"longitude\": {{faker 'random.number'}},\n \"map\": \"\",\n \"name\": \"\",\n \"password\": \"\",\n \"phone\": \"\",\n \"poiLayer\": \"\",\n \"readonly\": {{faker 'random.boolean'}},\n \"token\": \"\",\n \"twelveHourFormat\": {{faker 'random.boolean'}},\n \"userLimit\": {{faker 'random.number'}},\n \"zoom\": {{faker 'random.number'}}\n }\n]", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false }, { "uuid": "5a761e61-9950-4b8f-ac7e-ee90df6f3a72", "body": "", "latency": 0, "statusCode": 400, "label": "No Permission", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "e9f8fff9-ed51-49d6-baa0-7f305948512c", "documentation": "Create a User", "method": "post", "endpoint": "users", "responses": [ { "uuid": "70192f4c-b80d-4af4-b498-38c5fcbaad89", "body": "{\n \"administrator\": {{faker 'random.boolean'}},\n \"attributes\": {},\n \"coordinateFormat\": \"\",\n \"deviceLimit\": {{faker 'random.number'}},\n \"deviceReadonly\": {{faker 'random.boolean'}},\n \"disabled\": {{faker 'random.boolean'}},\n \"email\": \"\",\n \"expirationTime\": \"{{faker 'date.recent' 365}}\",\n \"id\": {{faker 'random.number'}},\n \"latitude\": {{faker 'random.number'}},\n \"limitCommands\": {{faker 'random.boolean'}},\n \"longitude\": {{faker 'random.number'}},\n \"map\": \"\",\n \"name\": \"\",\n \"password\": \"\",\n \"phone\": \"\",\n \"poiLayer\": \"\",\n \"readonly\": {{faker 'random.boolean'}},\n \"token\": \"\",\n \"twelveHourFormat\": {{faker 'random.boolean'}},\n \"userLimit\": {{faker 'random.number'}},\n \"zoom\": {{faker 'random.number'}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "4e95e744-b1a6-4b84-86f2-6a5fd570f7e9", "documentation": "Delete a User", "method": "delete", "endpoint": "users/:id", "responses": [ { "uuid": "6a5f44ca-7d5a-4342-a14c-dd2a741f6de8", "body": "", "latency": 0, "statusCode": 204, "label": "No Content", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false }, { "uuid": "84ed32f6-af65-41fd-aea3-66768140e9b5", "documentation": "Update a User", "method": "put", "endpoint": "users/:id", "responses": [ { "uuid": "36d0667e-2d95-4e49-bdfd-aa57a478a069", "body": "{\n \"administrator\": {{faker 'random.boolean'}},\n \"attributes\": {},\n \"coordinateFormat\": \"\",\n \"deviceLimit\": {{faker 'random.number'}},\n \"deviceReadonly\": {{faker 'random.boolean'}},\n \"disabled\": {{faker 'random.boolean'}},\n \"email\": \"\",\n \"expirationTime\": \"{{faker 'date.recent' 365}}\",\n \"id\": {{faker 'random.number'}},\n \"latitude\": {{faker 'random.number'}},\n \"limitCommands\": {{faker 'random.boolean'}},\n \"longitude\": {{faker 'random.number'}},\n \"map\": \"\",\n \"name\": \"\",\n \"password\": \"\",\n \"phone\": \"\",\n \"poiLayer\": \"\",\n \"readonly\": {{faker 'random.boolean'}},\n \"token\": \"\",\n \"twelveHourFormat\": {{faker 'random.boolean'}},\n \"userLimit\": {{faker 'random.number'}},\n \"zoom\": {{faker 'random.number'}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [ { "key": "Content-Type", "value": "application/json" } ], "filePath": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false } ], "enabled": true, "randomResponse": false, "sequentialResponse": false } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [ { "key": "", "value": "" } ], "proxyResHeaders": [ { "key": "", "value": "" } ] }