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

NameValue TypeValidationDetails
fsIDintRequiredFile ID.

Validation

Error FieldError CodeError Message
fsID101Invalid fsID or no permissions.

Output example

{
"meta": {
"countTotal": "2",
"countData": "2",
"countOffset": "0"
},
"data": [
{
"fsID": "1382",
"fscCountNew": "3"
},
{
"fsID": "1385",
"fscCountNew": "1"
}
]
}