Skip to content

3 Fetch details of a connection using id

manas11 edited this page Jun 26, 2021 · 1 revision

Fetch details of a connection by id


REQUEST: GET /connection/<id>

Request format:


RESPONSE:

Response: 200 OK

{
  "id": 1,
  "rule_protocol": "tcp",
  "active": false,
  "created_at": "2021-06-26T00:03:53.385409+05:30",
  "updated_at": "2021-06-26T00:04:44.592041+05:30",
  "renewal_count": 0,
  "source_ip": "8.8.8.8",
  "forwarder_port": "23987",
  "destination_ip": "10.15.16.17",
  "destination_port": "7800",
  "expiry_period": "00:10:00"
}