Hi @<1577468611524562944:profile|MagnificentBear85> , the webUI uses the API under the hood. So you can open Developer tools (F12) and see what the webUI sends and then replicate that with code.
WDYT?
I guys, question, mainly for convenience, about querying tasks in subprojects. I wanted to get all published tasks from all child-/subprojects like so:
project = "Parent/Child/GrandChild/v1.5"
# project = "Parent"
# Gather all published tasks under this project (under subprojects as well)
tasks = Task.query_tasks(
project_name=project,
task_filter={"status": ["published"]},
)
print(len(tasks))
How can this be achieved? If here I simply replace project with the parent only, I am not getting all underlying published models but I need to manually define all subprojects.
In the UI this is possible, so I figured there is some call for this likely but somehow I cannot find it. Can someone point me in the right direction?
Hi @<1577468611524562944:profile|MagnificentBear85> , the webUI uses the API under the hood. So you can open Developer tools (F12) and see what the webUI sends and then replicate that with code.
WDYT?