From 4292ab3b4bb638895a654e407cc548fd12ff49a8 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Mon, 24 Jul 2017 12:12:15 +0500 Subject: Fix JSON --- swagger.json | 79 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 39 insertions(+), 40 deletions(-) (limited to 'swagger.json') diff --git a/swagger.json b/swagger.json index d6850fca5..f4e816a5a 100644 --- a/swagger.json +++ b/swagger.json @@ -1451,41 +1451,41 @@ } }, "Permission": { - "description": "This is a permission map that contain two object indexes. It is used to link/unlink objects. Order is important. Example: { deviceId:8, geofenceId: 16 }", - "properties": { - "userId": { - "description": "User Id, can be only first parameter", - "type": "integer" - }, - "deviceId": { - "description": "Device Id, can be first parameter or second only in combination with userId", - "type": "integer" - }, - "groupId": { - "description": "Group Id, can be first parameter or second only in combination with userId", - "type": "integer" - }, - "geofenceId": { - "description": "Geofence Id, can be second parameter only", - "type": "integer" - }, - "calendarId": { - "description": "Geofence Id, can be second parameter only and only in combination with userId", - "type": "integer" - }, - "attributeId": { - "description": "Computed Attribute Id, can be second parameter only", - "type": "integer" - }, - "driverId": { - "description": "Driver Id, can be second parameter only", - "type": "integer" - }, - "managedUserId": { - "description": "User Id, can be second parameter only and only in combination with userId", - "type": "integer" - } - } + "description": "This is a permission map that contain two object indexes. It is used to link/unlink objects. Order is important. Example: { deviceId:8, geofenceId: 16 }", + "properties": { + "userId": { + "description": "User Id, can be only first parameter", + "type": "integer" + }, + "deviceId": { + "description": "Device Id, can be first parameter or second only in combination with userId", + "type": "integer" + }, + "groupId": { + "description": "Group Id, can be first parameter or second only in combination with userId", + "type": "integer" + }, + "geofenceId": { + "description": "Geofence Id, can be second parameter only", + "type": "integer" + }, + "calendarId": { + "description": "Geofence Id, can be second parameter only and only in combination with userId", + "type": "integer" + }, + "attributeId": { + "description": "Computed Attribute Id, can be second parameter only", + "type": "integer" + }, + "driverId": { + "description": "Driver Id, can be second parameter only", + "type": "integer" + }, + "managedUserId": { + "description": "User Id, can be second parameter only and only in combination with userId", + "type": "integer" + } + } }, "CommandType": { "properties": { @@ -1648,9 +1648,10 @@ }, "driverName": { "type": "string" - }, - }, - "ReportStops": { + } + } + }, + "ReportStops": { "properties": { "deviceId": { "type": "integer" @@ -1687,7 +1688,6 @@ "engineHours": { "type": "integer" } - } }, "Statistics": { @@ -1804,7 +1804,6 @@ "description": "Can only be used by admins or managers to fetch all entities", "type": "boolean" }, - { "refresh": { "name": "refresh", "in": "query", -- cgit v1.2.3