[PR #1182] feat(api): add endpoint to fetch all assigned cards with related data #1218

Open
opened 2026-02-04 21:57:39 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/plankanban/planka/pull/1182
Author: @symonbaikov
Created: 6/6/2025
Status: 🔄 Open

Base: masterHead: feature/api-assigned-cards-endpoint


📝 Commits (1)

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

📊 Changes

2 files changed (+59 additions, -0 deletions)

View changed files

server/api/controllers/cards/assigned.js (+57 -0)
📝 server/config/routes.js (+2 -0)

📄 Description

  • 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 issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/plankanban/planka/pull/1182 **Author:** [@symonbaikov](https://github.com/symonbaikov) **Created:** 6/6/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `feature/api-assigned-cards-endpoint` --- ### 📝 Commits (1) - [`e822372`](https://github.com/plankanban/planka/commit/e822372026cf077792149b396074fb424f6bec6b) feat(api): add endpoint to fetch all assigned cards with related data ### 📊 Changes **2 files changed** (+59 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `server/api/controllers/cards/assigned.js` (+57 -0) 📝 `server/config/routes.js` (+2 -0) </details> ### 📄 Description - 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-04 21:57:39 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#1218