mirror of
https://github.com/plankanban/planka.git
synced 2026-02-24 19:08:59 +03:00
Card Labels Empty for API Card Requests #266
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @CollierKing on GitHub (Jan 2, 2023).
Hello, it does not seem like you can retrieve labels for a given card, the
cardLabelsarray is empty in the API response, while the card has labels populated in the UI.Related to #310
r = requests.get( "http://localhost:3001/api/cards/12345", headers=headers )@meltyshev commented on GitHub (Jan 3, 2023):
Hello and Happy New Year 🎉
All labels can be retrieved via
GET /api/boards/:idandincluded > labelswill contain all labels on the board (which you see in the popup). You don't have a label selected in your card, if you click on it, it will apply to the card and its id will be inincluded -> cardLabels.@CollierKing commented on GitHub (Jan 3, 2023):
Ah very good! it was user error, not saving it to the card. Loving Planka and looking forward to using A LOT in the New Year. Happy New Year to you as well!