Skip to content

[Matrix] Phase 2: Health Server Endpoints #782

@alacy-centrl

Description

@alacy-centrl

Overview

Add Matrix identity management endpoints to health server for configuration via OpenWork UI.

Tasks

  • Implement listMatrixIdentities() endpoint
  • Implement upsertMatrixIdentity() endpoint
  • Implement deleteMatrixIdentity() endpoint
  • Update config file persistence logic
  • Add runtime adapter restart on config change
  • Add Matrix to health snapshot

Endpoints

  • GET /identities/matrix - List Matrix accounts
  • POST /identities/matrix - Create/update Matrix account
  • DELETE /identities/matrix/:id - Remove Matrix account

Acceptance Criteria

  • Can list Matrix identities via API
  • Can add new Matrix accounts dynamically
  • Can remove Matrix accounts
  • Changes persist to config file
  • Adapters restart automatically on changes

Estimated Time

1 day

Dependencies

Technical Details

  • Follow pattern from Telegram/Slack identity endpoints
  • Validate homeserverUrl and accessToken
  • Support optional directory field
  • Handle adapter restart errors gracefully

See full plan: https://github.com/users/alacy-centrl/projects/2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions