Skip to content

Add API endpoints for planned maintenance tasks#1930

Open
johannaengland wants to merge 4 commits into
mainfrom
api/planned-maintenance
Open

Add API endpoints for planned maintenance tasks#1930
johannaengland wants to merge 4 commits into
mainfrom
api/planned-maintenance

Conversation

@johannaengland
Copy link
Copy Markdown
Contributor

Scope and purpose

Fixes #1774.

Potential follow up issue: Make it possible to filter on the GET endpoint.

Contributor Checklist

Every pull request should have this checklist filled out, no matter how small it is.
More information about contributing to Argus can be found in the
Development docs.

  • Added a changelog fragment for towncrier
  • Added/amended tests for new/changed code
  • Added/changed documentation, including updates to the user manual if feature flow or UI is considerably changed
  • Linted/formatted the code with ruff and djLint, easiest by using pre-commit
  • The first line of the commit message continues the sentence "If applied, this commit will ...", starts with a capital letter, does not end with punctuation and is 50 characters or less long. See our how-to
  • If applicable: Created new issues if this PR does not fix the issue completely/there is further work to be done
  • If this results in changes in the UI: Added screenshots of the before and after
  • If this results in changes to the database model: Updated the ER diagram

@johannaengland johannaengland requested review from a team, aleksfl and hmpf May 11, 2026 06:52
@johannaengland johannaengland self-assigned this May 11, 2026
@johannaengland johannaengland added API Affects Argus' REST API API v2 Ideas for API v2, backwards incompatible NOT OK planned maintenance labels May 11, 2026
@johannaengland johannaengland force-pushed the api/planned-maintenance branch from 49979db to aabe02b Compare May 11, 2026 06:53
@sonarqubecloud
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown

Test results

    8 files  1 728 suites   3m 11s ⏱️
  958 tests   957 ✅ 1 💤 0 ❌
7 664 runs  7 656 ✅ 8 💤 0 ❌

Results for commit aabe02b.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.75%. Comparing base (8a3dcda) to head (aabe02b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1930      +/-   ##
==========================================
+ Coverage   88.60%   88.75%   +0.14%     
==========================================
  Files         146      149       +3     
  Lines        7093     7149      +56     
==========================================
+ Hits         6285     6345      +60     
+ Misses        808      804       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Labels

API v2 Ideas for API v2, backwards incompatible NOT OK API Affects Argus' REST API planned maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add API endpoints for planned maintenance tasks

1 participant