Accounts
Account Warning List
List internal moderation warnings for an account. Warnings are never public. Members may view their own warning history, and staff with the `MANAGE_WARNINGS` permission may review warnings for any account.
GET
List internal moderation warnings for an account. Warnings are never
public. Members may view their own warning history, and staff with the
MANAGE_WARNINGS permission may review warnings for any account.
cookie
storyden-session<token>account_id*stringAccount ID.
Format
xidOK
application/json- response
warnings*array<>total*integercurl -X GET 'https://example.com/api/accounts/string/warnings'Example Response
{ "warnings": [ { "id": "string", "issued_at": "2019-08-24T14:15:22Z", "reason": "string", "issued_by": { "id": "string", "joined": "2019-08-24T14:15:22Z", "suspended": "2019-08-24T14:15:22Z", "handle": "string", "name": "string", "signature": "string", "roles": [ { "badge": true, "default": true, "id": "string", "name": "string", "colour": "string", "meta": {} } ] } } ], "total": 0}