mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-04 00:20:20 +08:00
This commit adds some more detailed information about how to actually get the number of likes for a post. Also refactors some requests and responses into json schema files to clean up the specs a bit. See https://meta.discourse.org/t/69017/4?u=blake
18 lines
314 B
JSON
18 lines
314 B
JSON
{
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"post": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"raw": {
|
|
"type": "string"
|
|
},
|
|
"edit_reason": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["raw"]
|
|
}
|
|
}
|
|
}
|