API lacks GET request for lables #236

Closed
opened 2026-02-04 18:01:09 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @Zev-se on GitHub (Oct 14, 2022).

It seems there's a API request missing a request to list the available labels (already created ones). I found exposed API requests in this file: https://github.com/plankanban/planka/blob/master/server/config/routes.js

There we can see the possibility to add, change and delete labels but not listing them. This also seems supported in the code as shown by this file: https://github.com/plankanban/planka/blob/master/server/api/helpers/card-labels/get-many.js

I guess the reasonable place to put this is here: 'GET /api/boards/:boardId/lables': 'lables/index'.

Originally created by @Zev-se on GitHub (Oct 14, 2022). It seems there's a API request missing a request to list the available labels (already created ones). I found exposed API requests in this file: https://github.com/plankanban/planka/blob/master/server/config/routes.js There we can see the possibility to add, change and delete labels but not listing them. This also seems supported in the code as shown by this file: https://github.com/plankanban/planka/blob/master/server/api/helpers/card-labels/get-many.js I guess the reasonable place to put this is here: 'GET /api/boards/:boardId/lables': 'lables/index'.
OVERLORD added the enhancement label 2026-02-04 18:01:09 +03:00
Author
Owner

@CollierKing commented on GitHub (Jan 3, 2023):

This action is possible as explained here:

https://github.com/plankanban/planka/issues/362#issuecomment-1369229733

@CollierKing commented on GitHub (Jan 3, 2023): This action is possible as explained here: https://github.com/plankanban/planka/issues/362#issuecomment-1369229733
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/planka#236