From ca2dc4ea543326d97a8dedab22affdf1b110e164 Mon Sep 17 00:00:00 2001 From: XinxinShen Date: Thu, 8 Oct 2020 10:01:24 +0800 Subject: [PATCH] Update API documentation for show snmp trap destination An error occurred when using the API interface (/v1/itrapdest/{trapdest_id}) in the API document. After analyzing the code, I found that the API interface should be /v1/itrapdest /{ip_address}, so update this partition section of the API documentation. Closes-Bug:#1898961 Change-Id: Icd9e1d351050063e63aeb1edda1b8b4ee97218b5 Signed-off-by: Xinxin Shen --- api-ref/source/api-ref-sysinv-v1-config.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api-ref/source/api-ref-sysinv-v1-config.rst b/api-ref/source/api-ref-sysinv-v1-config.rst index 66323f8372..9c663736e9 100644 --- a/api-ref/source/api-ref-sysinv-v1-config.rst +++ b/api-ref/source/api-ref-sysinv-v1-config.rst @@ -5118,7 +5118,7 @@ This operation does not accept a request body. Shows information about a specific SNMP Trap Destination ********************************************************** -.. rest_method:: GET /v1/itrapdest/​{trapdest_id}​ +.. rest_method:: GET /v1/itrapdest/​{ip_address}​ **Normal response codes** @@ -5136,7 +5136,7 @@ itemNotFound (404) :header: "Parameter", "Style", "Type", "Description" :widths: 20, 20, 20, 60 - "trapdest_id", "URI", "csapi:UUID", "The unique identifier of an existing SNMP Trap Destination." + "ip_address", "plain", "xsd:string", "The IP address of a specific trap destination." **Response parameters**