Skip to content

[EDNA-135] Add getter of number of experiments#94

Open
gromakovsky wants to merge 1 commit into
gromak/edna130-optimized-filter-experimentsfrom
gromak/edna135-total-number-of-experiments
Open

[EDNA-135] Add getter of number of experiments#94
gromakovsky wants to merge 1 commit into
gromak/edna130-optimized-filter-experimentsfrom
gromak/edna135-total-number-of-experiments

Conversation

@gromakovsky

Copy link
Copy Markdown
Member

Description

Problem: in order to implement pagination on frontend it would be
convenient to have a quick way to know the total number of experiments
to be shown in dashboard.

Solution: add deGetExperimentsNumber endpoint similar to
deGetExperiments which returns just the number of experiments
instead of experiments themselves (and lacks sorting and pagination
arguments for obvious reasons).

Related issue(s)

Resolves https://issues.serokell.io/issue/EDNA-135

✅ Checklist for your Pull Request

Related changes (conditional)

  • Tests

    • If I added new functionality, I added tests covering it.
    • If I fixed a bug, I added a regression test to prevent the bug from
      silently reappearing again.
  • Documentation

    • I checked whether I should update the docs and did so if necessary:

Stylistic guide (mandatory)

Problem: in order to implement pagination on frontend it would be
convenient to have a quick way to know the total number of experiments
to be shown in dashboard.

Solution: add `deGetExperimentsNumber` endpoint similar to
`deGetExperiments` which returns just the number of experiments
instead of experiments themselves (and lacks sorting and pagination
arguments for obvious reasons).
@gromakovsky gromakovsky self-assigned this May 8, 2021
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.

1 participant