/tasks/{task_gid}/addProjectAdd a project to a task
Adds a task to a project and optionally places it in a specified section or position. Supply project and use at most one of insert_before or insert_after; use section to place the task in a section, with null anchors controlling whether it is placed at the beginning or end. A task can belong to at most 20 projects, and the operation requires the tasks:write scope.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
The project membership and optional section or positioning details for the task.
A 400 is returned when project is missing or the request is malformed, including when both insert_before and insert_after are supplied or a positioning anchor is invalid. A 401 is returned when the authenticated user does not provide a valid authentication token, and a 403 is returned when the authenticated user lacks access or the tasks:write scope. A 404 is returned when the task, project, section, or anchor object does not exist, and a 500 indicates a server error.