Skip to content

REST API 5/6: REST read-only for alert schedules #1352

Description

@GonzoSpire

Part of #1347.

Scope

Attribute-routed controller exposing on /api/alertSchedules:

  • GET list, GET by id — read-only.
  • Reuse IAlertScheduleProvider / AlertScheduleProvider and the models under src/server/HSMServer.Core/Model/Policies/.
  • Permissions: same as the key owner has in the web UI.

Write operations are explicitly out of scope (schedule parser/timezone complexity — follow-up).

Acceptance criteria

  • List and get return the same data the web UI shows, within owner permissions.
  • Pagination on the list endpoint.

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions