removed device_id from all entities except car. Replaced with car_id . Car -> device_id

This commit is contained in:
2026-07-16 17:40:59 +04:00
parent 41eaf49bb2
commit f6547cd1f1
18 changed files with 126 additions and 78 deletions
+7 -1
View File
@@ -948,7 +948,7 @@ const docTemplate = `{
}
}
},
"/api/drivers/{id}/device": {
"/api/drivers/{id}/car": {
"put": {
"description": "Dispatches on HTTP method. Path ` + "`" + `/api/drivers/by-nick/{nick}` + "`" + ` is a convenience that returns the driver by 3-letter nickname.",
"produces": [
@@ -2242,6 +2242,9 @@ const docTemplate = `{
"color_hex": {
"type": "string"
},
"device_id": {
"type": "integer"
},
"drive": {
"type": "string"
},
@@ -2309,6 +2312,9 @@ const docTemplate = `{
"created_ms": {
"type": "integer"
},
"device_id": {
"type": "integer"
},
"drive": {
"type": "string"
},