If a project contains multiple sections, how to retrieve tasks by section if we know the section name/id? Or is there any way to know which section a task belongs to?
There is a not-yet-fully-supported way to get the sections of a task - if you use ?opt_fields=projects.section.name
for instance, the response will contain the section task.
There is currently not a way to query for the tasks in a section.