Add project to task
documentedAssociate a project with a task.
POST /tasks/{task_gid}/projectsTasksno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://app.asana.com/api/1.0/tasks/{{$task_gid}}/addProject" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"data": {"project": "{{$project_gid}}", "insert_before": "{{$insert_before}}", "insert_after": "{{$insert_after}}", "section": "{{$section_gid}}"}}'