question

Anton Astashov avatar image
Anton Astashov asked

Wrong 'count' in children results

Hello, It seems like there is a bug in the 'count' results, when you return it with the children call response - it just matches the limit you passed in the querystring params, but should actually reflect the total number of children of the node. I.e. if I make a request like: https://cdws.us-east-1.amazonaws.com/drive/v1/nodes/blabla/children?tempLink=true&limit=2 It returns something like: {"count"=>2, "nextToken"=> "blabla", "data"=> {...}} But the actual number of children is bigger, and if I make a request without 'limit' querystring param https://cdws.us-east-1.amazonaws.com/drive/v1/nodes/blabla/children?tempLink=true I get it right: {"count"=>9, "data"=> {...}}
amazon drive
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sean Callahan avatar image
Sean Callahan answered
Thank for your post Anton. This looks broken according to my tech team. We will look into this and get it fixed.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sean Callahan avatar image
Sean Callahan answered
Hi Anton, This has been fixed.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.