Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attachments not listed in API #6251

Open
kobalteule opened this issue Aug 24, 2024 · 0 comments
Open

Attachments not listed in API #6251

kobalteule opened this issue Aug 24, 2024 · 0 comments

Comments

@kobalteule
Copy link

kobalteule commented Aug 24, 2024

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:

  1. Create a card
  2. Attach a file from nextcloud
  3. Attachment is listed in browser
  4. check API endpoint GET /boards/{boardId}/stacks/{stackId}/cards/{cardId} - attachmentCount is the count of attachments, attachments is an empty list
  5. 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

@kobalteule kobalteule changed the title Attachments not listed in API when files are shared from nextcloud Attachments not listed in API Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant