Skip to content

feat: add indicator filters#172

Draft
Thuhaa wants to merge 1 commit intounicef-drp:mainfrom
UNDP-Data:feat/indicators-filters
Draft

feat: add indicator filters#172
Thuhaa wants to merge 1 commit intounicef-drp:mainfrom
UNDP-Data:feat/indicators-filters

Conversation

@Thuhaa
Copy link

@Thuhaa Thuhaa commented Dec 8, 2023

Added new parameters to the /indicator endpoint. Can be seen in swagger at /api/v1/docs/
Parameters are:

  1. name__contains
  2. shortcode__contains
  3. project_slug__in
  4. project_id__in
  5. description__contains
  6. created__by__contains

Example request:
http://localhost:2000/api/v1/indicators/?page=1&page_size=25&name__contains=Ind

Fixes #156

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] API - List Indicators

1 participant