mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 08:48:24 +08:00
d289b20858
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
19 lines
314 B
JSON
19 lines
314 B
JSON
{
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"post": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"raw": {
|
|
"type": "string"
|
|
},
|
|
"edit_reason": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["raw"]
|
|
}
|
|
}
|
|
}
|