mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 23:45:59 +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"]
|
|
}
|
|
}
|
|
}
|