mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-12 05:15:12 +08:00
This commit updates the `/posts/{id}/locked.json` api endpoint docs to
match the new json schema format.
12 lines
No EOL
220 B
JSON
12 lines
No EOL
220 B
JSON
{
|
|
"type": "object",
|
|
"properties": {
|
|
"locked": {
|
|
"type": "string",
|
|
"description": "Whether to lock the post (true/false)"
|
|
}
|
|
},
|
|
"required": [
|
|
"locked"
|
|
]
|
|
} |