List switch port

This API is used to get switch port list.

1. Request Definition

  • API URL:
https://bms-api.swiftfederation.com/v1.0/switch/port
  • Request Method:
GET
  • Request Header:

Refer to HTTP Request Headers

  • Request Body:

None

  • Request Body Example
Get /v1.0/switch/port HTTP/1.1
Host: bms-api.swiftfederation.com

Authorization:HMAC-SHA256 a22sdsfgd1ds7dd13ds3:1b3c051d2e56df2e36r34ds75b2b3edf45bbf4d2fefbf6d2fc1f24fg3
Content-Type:application/json; charset=utf-8
X-SFD-Date:20230605T131000Z
X-SFD-Nonce:69527

2. Response Definition

  • Response Header

Refer to HTTP Response Headers

  • Response Body
Field Type Description
switchName string Switch name.
switchPort List List of switch port.
switchPort Definition
portName string Port name.
  • Response Body Example
[{
    "switchName": "JKT-DC6-SW01",
    "switchPort": [{
        "portName": "Eth-Trunk1" 
    }, {
        "portName": "Eth-Trunk2" 
    }]
}, {
    "switchName": "JKT-DC6-SW02",
    "switchPort": [{
        "portName": "Eth-Trunk3" 
    }, {
        "portName": "Eth-Trunk4" 
    }]
}]
           Updated 2023-06-15 03:34:54

results matching ""

    No results matching ""