discourse/spec/requests/api/schemas/json/user_silence_request.json
Osama Sayegh 67cde14a61
DEV: Use Service::Base for suspend and silence actions (#28459)
This commit moves the business logic in the `Admin::UsersController#suspend` and `Admin::UsersController#silence` actions to dedicated service classes. There's no functional changes in this commit.

Internal topic: t/130014.
2024-08-22 14:38:56 +03:00

25 lines
456 B
JSON

{
"additionalProperties": false,
"properties": {
"silenced_till": {
"type": "string",
"example": "2022-06-01T08:00:00.000Z"
},
"reason": {
"type": "string"
},
"message": {
"type": "string",
"description": "Will send an email with this message when present"
},
"post_action": {
"type": "string",
"example": "delete"
}
},
"required": [
"silenced_till",
"reason"
]
}