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:
parent
6dbce8c790
commit
e822372026
2 changed files with 59 additions and 0 deletions
|
@ -227,6 +227,8 @@ module.exports.routes = {
|
|||
skipAssets: false,
|
||||
},
|
||||
|
||||
'GET /api/cards/assigned': 'cards/assigned',
|
||||
|
||||
'GET /*': {
|
||||
view: 'index',
|
||||
skipAssets: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue