mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 14:19:49 +08:00
0b2b4bc245
Wrote an api docs rspec test for documenting the user suspend api endpoint.
26 lines
443 B
JSON
26 lines
443 B
JSON
{
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"suspend_until": {
|
|
"type": "string",
|
|
"example": "2121-02-22"
|
|
},
|
|
"reason": {
|
|
"type": "string"
|
|
},
|
|
"message": {
|
|
"type": "string",
|
|
"description": "Will send an email with this message when present"
|
|
},
|
|
"post_action": {
|
|
"type": "string",
|
|
"example": "delete"
|
|
}
|
|
},
|
|
"required": [
|
|
"suspend_until",
|
|
"reason"
|
|
]
|
|
}
|
|
|