What does total in /notifications represent?
I ran it.
The result was items in Common Wrapper Object was array of 24 items where as total was 4.
1 Answer
This is a bug. I've tagged your question accordingly.
total, in the wrapper object, should always be the length of the items array, after concatenating all pages of results.
When I run /2.2/notifications?pagesize=100&filter=!*L6X1NqVdlFobvlv, I get 4 pages of results, currently totaling 382 items:
total remains fixed at 77. This is clearly a bug, total should be 382 in my case.
-
I think they may be telling about the types of
notification_type.amit jha– amit jha2015-07-17 11:28:36 +00:00Commented Jul 17, 2015 at 11:28 -
No, there are only 15
notification_types.Brock Adams– Brock Adams2015-07-17 11:32:00 +00:00Commented Jul 17, 2015 at 11:32 -
I meant in your response. How many types of
notification_types are in your response?amit jha– amit jha2015-07-17 11:37:01 +00:00Commented Jul 17, 2015 at 11:37 -
In my particular response there were 6 types of
notification_typereturned. What does that have to do with anything?Brock Adams– Brock Adams2015-07-17 11:42:10 +00:00Commented Jul 17, 2015 at 11:42 -
I was guessing. Why do
total= 4 comes whenitems!= 4?amit jha– amit jha2015-07-17 11:50:06 +00:00Commented Jul 17, 2015 at 11:50 -
1Why? Because it's a bug! There could be a mistake in the SQL, or an uninitialized variable, or any of a hundred things that can cause it. Only someone with developer access could know for sure.Brock Adams– Brock Adams2015-07-17 18:41:06 +00:00Commented Jul 17, 2015 at 18:41

filter