Skip to content

[FEATURE_REQUEST] REST API for managing sections and itemsΒ #2011

@chrisn-au

Description

@chrisn-au

Hey πŸ‘‹

First off β€” love Dashy, been running it as my homelab dashboard for a while now and it's great.

I was wondering if there's any interest in adding a lightweight REST API for managing sections and items in the config? Something along the lines of:

  • GET /api/dashy/sections β€” list sections
  • POST /api/dashy/items β€” add an item to a section by name
  • DELETE /api/dashy/items β€” remove an item by URL

The use case for us is automating dashboard updates β€” we have a service manager that creates reverse proxy entries and DNS records, and it'd be nice to also add/remove dashboard tiles in the same flow without needing to edit the YAML directly or restart the container.

We've actually prototyped this as a small sidecar Express server that reads/writes conf.yml using js-yaml, and it works well. Happy to put together a PR if this is something you'd consider merging β€” either as a sidecar or baked into the existing server.js.

No worries at all if it's out of scope or not the direction you want to take the project. Just thought I'd float the idea!

Metadata

Metadata

Assignees

Labels

βœ… Fixed[ISSUE] Auto-Assigned to Tickets whose fix has been deployedπŸ“Œ Keep Open[ISSUE][PR] Prevent auto-closingπŸ›©οΈ Released 4.3.8Included in release v4.3.8

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions