summaryrefslogtreecommitdiff
path: root/api-ref
diff options
context:
space:
mode:
authorHarald Jensås <hjensas@redhat.com>2023-05-09 00:20:11 +0200
committerHarald Jensås <hjensas@redhat.com>2023-05-09 00:25:55 +0200
commit1b8c0be0b75850ab5cb3dacd77fc059036312022 (patch)
treedaf0dcb3ab4199f9a592f5eb676b39b32f4eb0a5 /api-ref
parent4518577770bb16cc2e4042014509cc08914796d9 (diff)
downloadironic-1b8c0be0b75850ab5cb3dacd77fc059036312022.tar.gz
Fix api-ref v1-indicators
When doing a GET or PUT on an indicator the indicator specified must use `indicator@component` syntax. For example: indicators/led@system or indicators/led-0@chassis Ref: ironic.api.controllers.v1.node.IndicatorAtComponent Change-Id: I6908544b52be88cbddf537c954dd5e097a0d83e6
Diffstat (limited to 'api-ref')
-rw-r--r--api-ref/source/baremetal-api-v1-indicators.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/api-ref/source/baremetal-api-v1-indicators.inc b/api-ref/source/baremetal-api-v1-indicators.inc
index 0c4b11885..181951982 100644
--- a/api-ref/source/baremetal-api-v1-indicators.inc
+++ b/api-ref/source/baremetal-api-v1-indicators.inc
@@ -90,7 +90,7 @@ Response Parameters
Get Indicator State
===================
-.. rest_method:: GET /v1/nodes/{node_ident}/management/indicators/{component}/{ind_ident}
+.. rest_method:: GET /v1/nodes/{node_ident}/management/indicators/{ind_ident}@{component}
.. versionadded:: 1.63
@@ -127,7 +127,7 @@ Response Parameters
Set Indicator State
===================
-.. rest_method:: PUT /v1/nodes/{node_ident}/management/indicators/{component}/{ind_ident}
+.. rest_method:: PUT /v1/nodes/{node_ident}/management/indicators/{ind_ident}@{component}
.. versionadded:: 1.63