mention active sort as valid key

This commit is contained in:
Umputun
2018-05-16 11:46:05 -05:00
parent 10c92a9251
commit 88d91f857e
+1 -1
View File
@@ -286,7 +286,7 @@ type Node struct {
}
```
Sort can be `time` or `score`. Supported sort order with prefix -/+, i.e. `-time`. For `tree` mode sort will be applied to top-level comments only and all replies always sorted by time.
Sort can be `time`, `active` or `score`. Supported sort order with prefix -/+, i.e. `-time`. For `tree` mode sort will be applied to top-level comments only and all replies always sorted by time.
* `PUT /api/v1/comment/{id}?site=site-id&url=post-url` - edit comment, allowed once in 5min since creation