Skip to content

Commit

Permalink
Update REST API (#747)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maschga authored Feb 21, 2025
1 parent b426546 commit 5361df9
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions static/rest-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,8 @@ paths:
properties:
vehicle:
$ref: "#/components/schemas/VehicleName"
loadpoint:
$ref: "#/components/schemas/LoadpointName"
responses:
"200":
description: Success
Expand Down Expand Up @@ -984,10 +986,7 @@ components:
finished:
$ref: "#/components/schemas/Timestamp"
loadpoint:
type: string
description: >-
[See
documentation](/en/docs/reference/configuration/loadpoints#title)
$ref: "#/components/schemas/LoadpointName"
vehicle:
$ref: "#/components/schemas/VehicleName"
odometer:
Expand Down Expand Up @@ -1048,6 +1047,10 @@ components:
type: integer
example: 1
minimum: 1
LoadpointName:
description: "[See documentation](/en/docs/reference/configuration/loadpoints#title)"
type: string
example: Garage
LogArea:
description: "[See documentation](/en/docs/reference/configuration/log#levels)"
type: string
Expand Down

0 comments on commit 5361df9

Please sign in to comment.