Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: gromak/edna130-optimized-filter-experiments
Choose a base branch
from

Conversation

gromakovsky
Copy link
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