Tasks lesen (/api/v1/projects/{id}/tasklists/{id}/tasks) → HTTP 404

Problem Zusammenfassung

API Token „task2pdf“ kann Tasks nicht lesen, obwohl Projekte und Task Lists funktionieren

Detaillierte API-Tests

:white_check_mark: Was funktioniert:

  1. Authentifizierung (/api/v1/me) → HTTP 200
  2. Projekte lesen (/api/v1/projects) → HTTP 200, 4 Projekte gefunden
  3. Task Lists lesen (/api/v1/projects/{id}/tasklists) → HTTP 200, 9 Task Lists gefunden

:cross_mark: Was nicht funktioniert:
4. Tasks lesen (/api/v1/projects/{id}/tasklists/{id}/tasks) → HTTP 404

Spezifische Test-Details

• Workspace: netztaucher (ID: a8741808-fcd6-46ef-a894-466c1580e5d3)
• API Token Name: „task2pdf (API Client)“
• Projekt: „Technik+“ (ID: a5658165-01ee-4e1a-9bea-2ab4d582a14d)
• Task List: „Meetings“ (ID: 1628a2d5-ea57-4f22-b94f-a51e850ab07e)
• Fehlgeschlagener Endpoint:
• Trace ID: 05dabe511b36fe87a3e7166789e37c61

Das Problem

Der API Token hat offensichtlich keine Berechtigung zum Lesen von Tasks, obwohl er Projekte und Task Lists erfolgreich abrufen kann. Dies verhindert jede Task-Export-Funktionalität.

Benötigte Lösung: API Token Berechtigungen so erweitern, dass auch Tasks gelesen werden können.

Hi @netztaucher and welcome to the community.

The URL you are trying to use does not exist in our API. You need to fetch the project tasks using the following URL: https://api.awork.com/api/v1/projects/:projectId/projecttasks

The tasks will contain all task lists they are in. There is no tasklists/:id/tasks endpoint unfortunately.

I hope this helps

Danke, probiere das!

bis dann, marco.