GET ./foto/comments_new
Tags: simple-query
It is used to retur the number of new comments.
If the file has the parameter fsTip = 1(directory), then the number of comments for all childrens of the fsID are returned.
If the file has the parameter fsTip = 2(file), the number of new comments is returned only for that fs.
GET parameters
Name | Value Type | Validation | Details |
---|---|---|---|
fsID | int | Required | File ID. |
Validation
Error Field | Error Code | Error Message |
---|---|---|
fsID | 101 | Invalid fsID or no permissions. |
Output example
{"meta": {"countTotal": "2","countData": "2","countOffset": "0"},"data": [{"fsID": "1382","fscCountNew": "3"},{"fsID": "1385","fscCountNew": "1"}]}