Skip to content

Commit 5361df9

Browse files
authored
Update REST API (#747)
1 parent b426546 commit 5361df9

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

static/rest-api.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,8 @@ paths:
610610
properties:
611611
vehicle:
612612
$ref: "#/components/schemas/VehicleName"
613+
loadpoint:
614+
$ref: "#/components/schemas/LoadpointName"
613615
responses:
614616
"200":
615617
description: Success
@@ -984,10 +986,7 @@ components:
984986
finished:
985987
$ref: "#/components/schemas/Timestamp"
986988
loadpoint:
987-
type: string
988-
description: >-
989-
[See
990-
documentation](/en/docs/reference/configuration/loadpoints#title)
989+
$ref: "#/components/schemas/LoadpointName"
991990
vehicle:
992991
$ref: "#/components/schemas/VehicleName"
993992
odometer:
@@ -1048,6 +1047,10 @@ components:
10481047
type: integer
10491048
example: 1
10501049
minimum: 1
1050+
LoadpointName:
1051+
description: "[See documentation](/en/docs/reference/configuration/loadpoints#title)"
1052+
type: string
1053+
example: Garage
10511054
LogArea:
10521055
description: "[See documentation](/en/docs/reference/configuration/log#levels)"
10531056
type: string

0 commit comments

Comments
 (0)