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

New Monthly Submissions Endpoint #1423

Merged
merged 4 commits into from
May 30, 2018
Merged

New Monthly Submissions Endpoint #1423

merged 4 commits into from
May 30, 2018

Commits on May 29, 2018

  1. Add Monthly Submissions Endpoint

    - Add monthly-submissions endpoint to the UserProfiles viewset which returns
      the total number of submissions in a given month to the user's forms
    - Add monthly submissions serializer
    - Add tests
    Wambere committed May 29, 2018
    Configuration menu
    Copy the full SHA
    65de340 View commit details
    Browse the repository at this point in the history
  2. - Add documentation for new endpoint

    - Change query to be more efficient
    - Optimize code in serializer
    Wambere committed May 29, 2018
    Configuration menu
    Copy the full SHA
    f0aa70f View commit details
    Browse the repository at this point in the history
  3. - Make documentation clearer

    - Add validation for the query parameters in the monthly submissions endpoint
    - Return first item in the list, which is the dictionary with the total number of submissions
    - Change the tests to check for a dictionary instead of a list of a dictionary
    Wambere committed May 29, 2018
    Configuration menu
    Copy the full SHA
    9b44213 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2018

  1. Configuration menu
    Copy the full SHA
    bd1b5c5 View commit details
    Browse the repository at this point in the history