You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
If all stacks of a board are requested via REST API (GET /boards/{boardId}/stacks), the label information of all cards is included in the response for all stacks.
Example: This is the JSON response of a test board with only one stack and two cards, the second one containing a label.
But if information of an individual stack of a board is requested via REST API (GET /boards/{boardId}/stacks/{stackId}), the label information of the cards is missing in the JSON response. The field of the labels is "null.
This is the JSON response for the same stack, requested for the stack individually:
Expected behavior
In case the data of an individual stack is requested, the label information should be included in the JSON resonse.
Client details:
OS: iOS and macOS
Version: iOS 17, macOS 14
Device: iPhone Xs, iPhone 15 Simulator, macBook Air M1
The text was updated successfully, but these errors were encountered:
nikhub
changed the title
[REST API]
[REST API] Label information not included, if information of a single single stack is requested.
Jun 2, 2024
nikhub
changed the title
[REST API] Label information not included, if information of a single single stack is requested.
[REST API] Label information not included, if single stack is requested.
Jun 2, 2024
How to use GitHub
Describe the bug
If all stacks of a board are requested via REST API (GET /boards/{boardId}/stacks), the label information of all cards is included in the response for all stacks.
Example: This is the JSON response of a test board with only one stack and two cards, the second one containing a label.
But if information of an individual stack of a board is requested via REST API (GET /boards/{boardId}/stacks/{stackId}), the label information of the cards is missing in the JSON response. The field of the labels is "null.
This is the JSON response for the same stack, requested for the stack individually:
To Reproduce
Steps to reproduce the behavior:
curl -X GET 'https://<username>:<password>@<NextcloudIPorURL>/index.php/apps/deck/api/v1.1/boards/' -H 'Accept: application/json' -H 'OCS-APIRequest: true' -H 'Content-Type: application/json;charset=utf-8'
curl -X GET 'https://<username>:<password>@<NextcloudIPorURL>/index.php/apps/deck/api/v1.1/boards/<boardID>/stacks/<stackID>' -H 'Accept: application/json' -H 'OCS-APIRequest: true' -H 'Content-Type: application/json;charset=utf-8'
Expected behavior
In case the data of an individual stack is requested, the label information should be included in the JSON resonse.
Client details:
The text was updated successfully, but these errors were encountered: