Skip to content

Dashboard endpoint to list widgets #31322

Closed

Description

There is currently no way for clients to get information on the widgets right now.

  • add separate endpoint for the list of widgets
  • switch icon from using classes to images or icon content (not sure how it's done for other cases?)
  • sort by "mobile usable" widgets, @jancborchardt

API draft (from client perspective):
/list

  • returns: list of widgets with
    • id
    • icon (as url)
    • title
    • button: name, url

/items

  • params: widget id, since (optional), limit: int
  • returns:
    • icon with status badge (e.g. in zammad notificatons)
    • first line
    • subline
    • link (absolute link to web is enough)

For second iteration

  • app id
  • object id
    (this is needed to e.g. open a deck card directly if deck app is installed)

From nextcloud/files-clients#17 (comment)

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

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions