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<shenxinxin@inspur.com>
This commit is contained in:
parent
06839f3cbe
commit
ca2dc4ea54
|
@ -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**
|
||||
|
||||
|
|
Loading…
Reference in New Issue