Skip to content

Comments

[SNT-303] ScenarioRule endpoint for GET#193

Merged
tdethier merged 4 commits intomainfrom
SNT-303_scenario-rule-endpoint-get
Feb 19, 2026
Merged

[SNT-303] ScenarioRule endpoint for GET#193
tdethier merged 4 commits intomainfrom
SNT-303_scenario-rule-endpoint-get

Conversation

@tdethier
Copy link
Member

@tdethier tdethier commented Feb 18, 2026

What problem is this PR solving?

Add ScenarioRule endpoint for GET queries

Related JIRA tickets

SNT-303

Changes

  • add a /api/snt_malaria/scenario_rules/ endpoint
  • add tests for that endpoint views & serializers

How to test

  • Have a working SNT setup
  • Go to /api/ and check that there's a new endpoint
    • visit that endpoint, with and without a ?scenario=<id> parameter
  • There's currently no POST, so if you want to see if the endpoint returns some values, you need to manually add data in your database

Print screen / video

image image

Notes

/

Doc

/

@tdethier tdethier self-assigned this Feb 18, 2026
@tdethier tdethier added the enhancement New feature or request label Feb 18, 2026
Base automatically changed from SNT-302_models-for-rule-based-assignments to main February 19, 2026 14:37
@tdethier tdethier force-pushed the SNT-303_scenario-rule-endpoint-get branch from aeeacfb to 09aa0a0 Compare February 19, 2026 14:42
Copy link
Contributor

@Bewi Bewi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tdethier tdethier merged commit 904c640 into main Feb 19, 2026
2 checks passed
@tdethier tdethier deleted the SNT-303_scenario-rule-endpoint-get branch February 19, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants