Skip to content

Notifications GET request returns wrong "count" #726

@fhlavac

Description

@fhlavac

When request sent to
/api/notifications?expand=resources&attributes=details&sort_by=id&sort_order=desc&limit=100
then in a reply (picture below) received count: 11468
image

I would expect that this value is the total notifications count of the current user but it isn't. In this case, the number of total user's notifications is 200. To get the number of total user's notifications I have to send another request. The current value of "count" is quite useless, maybe it is a bug. Would it be possible to replace it with the total number of current user's notifications?

@martinpovolny

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions