Available Since: V1
Get the information about a block on a user.
GET api/1/user/blockinfo/
Parameter | Description |
---|---|
uid | The ID of the user to get the information on. |
{ "blockedby": "1", "blockedat": "2013-06-25 16:17:58", "blockliftat": "2013-06-27 16:17:58", "blockreason": "Example block applied to a user", "blockedbyusername": "manager", "blockedbydisplayname": "Display Name", "blockeddays": 2 }
Parameter | Description |
---|---|
blockedby | The user ID of the user that applied the block. |
blockedat | When the block was applied. |
blockliftat | When the block is to be listed or 0000-00-00 00:00:00 if the block is permanent. |
blockreason | The reason the block was applied. |
blockedbyusername | The name of the user that applied the block. |
blockedbydisplayname | The display name of the user that applied the block. |
blockdays | The number of days the user is blocked for. |
Returned if the user could not be found in the system or the user is not blocked.
{ "result": true }