You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to organize a pagination on my page. I can pass parameters limit and skip with query. But, when I receive a response I don't recieve total count of records, although this field is returned folowing by CD API.
I can get all records and then make a slice, but it's a bad practice.
I propose to return total count with objects list.
For example:
I would like to organize a pagination on my page. I can pass parameters
limit
andskip
with query. But, when I receive a response I don't recieve total count of records, although this field is returned folowing by CD API.I can get all records and then make a slice, but it's a bad practice.
I propose to return total count with objects list.
For example:
For now, I have to make additional request to Content Management API with parameter
limit=0
and get total count from response.The text was updated successfully, but these errors were encountered: