ONLYOFFICE / CommunityServer

Free open source office suite with business productivity tools: document and project management, CRM, mail aggregator.
http://www.onlyoffice.com
Apache License 2.0
2.75k stars 621 forks source link

Can I get all the comments on the tasks in one request? #504

Closed geloidA closed 6 months ago

geloidA commented 6 months ago

Hi! Is it possible to get all the comments on a project's tasks with a single API request?

Carazyda commented 6 months ago

Hello @geloidA You can use this method https://api.onlyoffice.com/portals/method/project/get/api/2.0/project/task/%7btaskid%7d/comment.

Or do you need to get comments in all tasks in all projects with one request?

geloidA commented 6 months ago

How i can understand method that you are mentioned allows get all comments for specific task in project, but i need get all tasks's comments in a project in a single JSON response. Or am i wrong?

Carazyda commented 6 months ago

get all comments for specific task in project

Yes, you are right.

get all tasks's comments in a project in a single JSON response.

No, we don't have that method. You can make a cycle of requests for all project tasks.

geloidA commented 6 months ago

Thank you for your response.