discourse/spec/requests/api/schemas/json/post_lock_request.json
Blake Erickson 57bec16515
DEV: Update api-docs for posts locked endpoint (#35453)
This commit updates the `/posts/{id}/locked.json` api endpoint docs to
match the new json schema format.
2025-10-16 12:56:34 -06:00

12 lines
No EOL
220 B
JSON

{
"type": "object",
"properties": {
"locked": {
"type": "string",
"description": "Whether to lock the post (true/false)"
}
},
"required": [
"locked"
]
}