This endpoint may be used to get information of blocked users and modify them.
Property | Type | Description |
---|---|---|
id | integer | The unique identifier of this Block |
user | User | The creator of this Block |
target | User | The user that was blocked |
time | string | The timestamp of when this Block was created |
Get information of a block created by the current user, targeting a specific user.
Requires authorization
Property | Type | Description |
---|---|---|
id | integer | The ID of the target user |
Returns a single Block object.
Creates a new Block from the current user to a specific user.
Requires authorization
Property | Type | Description |
---|---|---|
id | integer | The ID of the target user |
Returns a single Block object.
Deletes a Block from the current user to a specific user.
Requires authorization
Property | Type | Description |
---|---|---|
id | integer | The ID of the target user |
Gets all created blocks for the current user.
Requires authorization
Property | Type | Description |
---|---|---|
max | integer | The maximum ID for blocks to look for |
Returns multiple Block objects.