Access Keys:
Skip to content (Access Key - 0)
Live Chat

Get a Specific Blocked IP

Skip to end of metadata
Go to start of metadata
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
For information regarding the entities used in the Blocked IPs CRUD, please visit Entities Used in Blocked IPs CRUD page.

You can get a specific blocked IP by using the following command(s):

Commands:

GET /em/api/blocked-ips/{id}
GET /em/api/blocked-ips/{id}.xml
GET /em/api/blocked-ips/{id}.js

Response in XML:

HTTP/1.0 200 OK
 <list>
  <blocked-ip>
    <id>4028807b2d257469012d272a09c5006c</id>
    <ip>192.168.0.251</ip>
    <visitor>23008C2874C52C9DCF021438B9CF5813</visitor>
    <visitorName>Visitor 13891</visitorName>
    <blockedBy>lex</blockedBy>
    <blockedOn>1293442222000</blockedOn>
    <blockedTime>0</blockedTime>
    <reason />
  </blocked-ip>
</list>

Response in JSON:

HTTP/1.0 200 OK
[{visitorName : "Visitor 13891", id : "4028807b2d257469012d272a09c5006c", blockedBy : "lex", reason : "", 
blockedTime : 0, mask : null, blockedOn : new Date(1293442222000), visitor : "23008C2874C52C9DCF021438B9CF5813", 
ip : "192.168.0.251"}]
Adaptavist Theme Builder (4.2.0) Powered by Atlassian Confluence 3.3, the Enterprise Wiki