deck
deck copied to clipboard
Attachments not listed in API
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Describe the bug I try to get the attachments from a card, while attachmentCount is for example 3, list of attachments is empty.
To Reproduce Steps to reproduce the behavior:
- Create a card
- Attach a file from nextcloud
- Attachment is listed in browser
- check API endpoint GET /boards/{boardId}/stacks/{stackId}/cards/{cardId} - attachmentCount is the count of attachments, attachments is an empty list
- check API endpoint GET /boards/{boardId}/stacks/{stackId}/cards/{cardId}/attachments - empty list
Expected behavior see a list of attachments or the fileId or a download-link
Screenshots {'id': 1118, 'title': 'HP_EindrĂĽcke', 'description': 'fancy description', 'stackId': 13, 'type': 'plain', 'lastModified': 1724497262, 'lastEditor': None, 'createdAt': 1724493549, 'labels': [], 'assignedUsers': [], 'attachments': [], 'attachmentCount': 3, 'owner': {'primaryKey': 'user', 'uid': 'user', 'displayname': 'user', 'type': 0}, 'order': 3, 'archived': False, 'done': None, 'duedate': None, 'deletedAt': 0, 'commentsUnread': 0, 'commentsCount': 0, 'ETag': '3c3400ac740ece4c0dae4eafb1125958', 'overdue': 0}
Nextcloud version: 29.0.4 Deck version: 1.13.1