mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 21:53:44 +08:00
0b2b4bc245
Wrote an api docs rspec test for documenting the user suspend api endpoint.
33 lines
615 B
JSON
33 lines
615 B
JSON
{
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"suspension": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"suspend_reason": {
|
|
"type": "string"
|
|
},
|
|
"full_suspend_reason": {
|
|
"type": "string"
|
|
},
|
|
"suspended_till": {
|
|
"type": "string"
|
|
},
|
|
"suspended_at": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"suspend_reason",
|
|
"full_suspend_reason",
|
|
"suspended_till",
|
|
"suspended_at"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"suspension"
|
|
]
|
|
}
|