get https://{server}/api2/repos//file/comments/counts/
- If the parameter p represents a folder, this api will return comment count of all files in this folder.
- If the parameter p represents a file, only return comment count of this file.
Response
xxxxxxxxxx
curl --request GET \
--url https://cloud.seafile.com/api2/repos/repo_id/file/comments/counts/ \
--header 'accept: application/json'
Try It!
to start a request and see the response here! Or choose an example: