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

Make an unseen_count endpoint #61

Merged
merged 3 commits into from
Feb 4, 2019
Merged

Make an unseen_count endpoint #61

merged 3 commits into from
Feb 4, 2019

Conversation

briehl
Copy link
Member

@briehl briehl commented Feb 4, 2019

Makes this endpoint - api/V2/notifications/unseen_count that just returns the total number of unseen notifications summed across all categories for a user's feed. Includes the global feed count as well.

Returns a structure like this:

{
    'unseen': {
        'global': ##,
        'user': ##
    }
}

@coveralls
Copy link

coveralls commented Feb 4, 2019

Pull Request Test Coverage Report for Build 213

  • 19 of 19 (100.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.07%) to 90.411%

Totals Coverage Status
Change from base Build 211: 0.07%
Covered Lines: 1518
Relevant Lines: 1679

💛 - Coveralls

@briehl briehl merged commit 2aa74cd into kbase:develop Feb 4, 2019
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.

None yet

2 participants