commit ca2dc4ea543326d97a8dedab22affdf1b110e164 Author: XinxinShen Date: Thu Oct 8 10:01:24 2020 +0800 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 diff --git a/api-ref/source/api-ref-sysinv-v1-config.rst b/api-ref/source/api-ref-sysinv-v1-config.rst index 66323f8..9c66373 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**