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

API return List<dynamic> instead Settings object #6379

Open
JesperBllnbm opened this issue Oct 3, 2024 · 0 comments
Open

API return List<dynamic> instead Settings object #6379

JesperBllnbm opened this issue Oct 3, 2024 · 0 comments

Comments

@JesperBllnbm
Copy link

JesperBllnbm commented Oct 3, 2024

Describe the bug
Using the API I expect the a settings object like this:

  "settings": {
            "notify-due": "off",
            "calendar": true
        }

but what I get is this:

  "settings": []

full response:

╔╣ Response ║ GET ║ Status: 200 OK  ║ Time: 1434 ms
║  https:/my-server/apps/deck/api/v1.1/boards
╚══════════════════════════════════════════════════════════════════════════════════════════╝
╔ Body
║
║    [
║        {
║             "id": 14,
║             "title": "Packages",
║             "owner": {primaryKey: admin, uid: admin, displayname: admin, type: 0},
║             "color": "b9c8c",
║             "archived": false,
║             "labels": []
║             "acl": []
║             "permissions": {
║                 "PERMISSION_READ": true,
║                 "PERMISSION_EDIT": true,
║                 "PERMISSION_MANAGE": true,
║                 "PERMISSION_SHARE": true
║            }
║             "users": []
║             "shared": 0,
║             "stacks": []
║             "activeSessions": []
║             "deletedAt": 1727950189,
║             "lastModified": 1727950189,
║             "settings": []
║             "ETag": "8cc6b3682d5244a558339f31429fcf52"
║        },
║        {
║             "id": 19,
║             "title": "Toni's Tasks",
║             "owner": {primaryKey: admin, uid: admin, displayname: admin, type: 0},
║             "color": "f44b97",
║             "archived": false,
║             "labels": []
║             "acl": [
║                {
║                     "id": 7,
║                     "participant": {primaryKey: Toni, uid: Toni, displayname: Toni, type: 1},
║                     "type": 1,
║                     "boardId": 19,
║                     "permissionEdit": true,
║                     "permissionShare": false,
║                     "permissionManage": false,
║                     "owner": false
║                }
║             ],
║             "permissions": {
║                 "PERMISSION_READ": true,
║                 "PERMISSION_EDIT": true,
║                 "PERMISSION_MANAGE": true,
║                 "PERMISSION_SHARE": true
║            }
║             "users": []
║             "shared": 0,
║             "stacks": []
║             "activeSessions": []
║             "deletedAt": 0,
║             "lastModified": 1727983933,
║             "settings": []
║             "ETag": "dfb745d16bad3cdcfe880767e75fe237"
║        }
║    ]
║
╚══════════════════════════════════════════════════════════════════════════════════════════╝

Deck version: 1.13.2
Nextcloud version: 29.0.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants