Skip to content

Commit 0ff712d

Browse files
committed
fix a few links to API endpoints in the tutorial - one was the wrong one, others fix the brackets distinction (see also #1753)
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
1 parent 8a93791 commit 0ff712d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

documentation/tut/toy-example-expanded.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ This will have an effect on the available headroom for the battery, given the ``
102102
103103
.. tab:: API
104104

105-
Example call: `[POST] http://localhost:5000/api/v3_0/sensors/2/schedules/trigger <../api/v3_0.html#post--api-v3_0-sensors-(id)-schedules-trigger>`_ (update the start date to tomorrow):
105+
Example call: `[POST] http://localhost:5000/api/v3_0/sensors/2/schedules/trigger <../api/v3_0.html#post--api-v3_0-sensors-id-schedules-trigger>`_ (update the start date to tomorrow):
106106

107107
.. code-block:: json
108108
:emphasize-lines: 8-10

documentation/tut/toy-example-multiasset-curtailment.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Also, we want to create a situation with negative prices, so curtailment makes s
5555
5656
.. tab:: API
5757

58-
Example call: `[POST] http://localhost:5000/api/v3_0/sensors/3/schedules/trigger <../api/v3_0.html#post--api-v3_0-sensors-(id)-schedules-trigger>`_ (update the start date to tomorrow):
58+
Example call: `[POST] http://localhost:5000/api/v3_0/sensors/3/schedules/trigger <../api/v3_0.html#post--api-v3_0-sensors-id-schedules-trigger>`_ (update the start date to tomorrow):
5959

6060
.. code-block:: json
6161
:emphasize-lines: 14-18
@@ -184,7 +184,7 @@ Note that we are still passing in the flex-context with block price profiles her
184184
185185
.. tab:: API
186186

187-
Example call: `[POST] http://localhost:5000/api/v3_0/sensors/2/schedules/trigger <../api/v3_0.html#post--api-v3_0-sensors-(id)-schedules-trigger>`_ (update the start date to tomorrow):
187+
Example call: `[POST] http://localhost:5000/api/v3_0/assets/2/schedules/trigger <../api/v3_0.html#post--api-v3_0-assets-id-schedules-trigger>`_ (update the start date to tomorrow):
188188

189189
.. code-block:: json
190190
@@ -341,4 +341,4 @@ We see the battery cycling twice, as before, but now it also soaks up solar prod
341341
342342
Now our tutorial example has grown quite a bit. This step included scheduling multiple assets (battery and PV inverter), as well as demonstrating a different kind of flexibility: PV curtailment.
343343

344-
In :ref:`tut_v2g`, we will temporarily pause giving you tutorials you can follow step-by-step. We feel it is time to pay more attention to the power of the flex-model, and illustrate its effects.
344+
In :ref:`tut_v2g`, we will temporarily pause giving you tutorials you can follow step-by-step. We feel it is time to pay more attention to the power of the flex-model, and illustrate its effects.

0 commit comments

Comments
 (0)