1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-24 07:39:44 +02:00

feat(api): add endpoint to fetch all assigned cards with related data

- Implemented GET /api/cards/assigned endpoint to return all cards assigned to the current user (as member or author)
- Included related entities: labels, task lists, tasks, attachments, custom fields, memberships, and users
- Added route to config/routes.js
- Ensured response format matches project conventions for proper client display
This commit is contained in:
symonbaikov 2025-06-06 20:16:53 +03:00
parent 6dbce8c790
commit e822372026
2 changed files with 59 additions and 0 deletions

View file

@ -227,6 +227,8 @@ module.exports.routes = {
skipAssets: false,
},
'GET /api/cards/assigned': 'cards/assigned',
'GET /*': {
view: 'index',
skipAssets: true,