Get Configuration

Request

JSON

URL http://ip:port/shunra/api/configuration
HTTP Method GET
HTTP Headers

Content-Type: application/json

Accept: application/json

Authorization: See Web Services Authentication.

Body None

XML

URL http://ip:port/shunra/api/configuration
HTTP Method GET
HTTP Headers

Content-Type: application/xml

Accept: application/xml

Authorization: See Web Services Authentication.

Body None

 

Response

JSON

HTTP Response Code 200 - OK
HTTP Headers

Date: Thu, 15 Mar 2014 15:36:11 GMT

Content-Type: application/json; charset=UTF-8

Accept-Ranges: bytes

HTTP Body
{
    "isPacketListCaptureCyclic": true,
    "packetListMaxSizeMB": 100,
    "minNumOfPacketListSpace": 3,
    "captureBytesPerPacket": 1500,
    "packetListServerClientRatio": 0
}

XML

HTTP Response Code 200 - OK
HTTP Headers

Date: Thu, 15 Mar 2014 15:36:11 GMT

Content-Type: application/json; charset=UTF-8

Accept-Ranges: bytes

HTTP Body
<configurationSettings>
    <isPacketListCaptureCyclic>true</isPacketListCaptureCyclic>
    <packetListMaxSizeMB>100</packetListMaxSizeMB>
    <minNumOfPacketListSpace>3</minNumOfPacketListSpace>
    <captureBytesPerPacket>1500</captureBytesPerPacket>
    <packetListServerClientRatio>0</packetListServerClientRatio>
</configurationSettings>