Last post i've do on answer on another topic asking about app folder or full dropbox, and how to detect, was completely not necessary, once i've see how API answer in these cases and how all work about.
Now, i've see there is around a post about files count and folder quota (if i'm not wrong on remember) but from the little on this, i can't understand, or better, i can't find out a way to achieve what i would, in full.
Even if the coded plugin provide a cache system,
i had a nice ( ??
) idea, to put on the user admin interface, an option that let choose how many files retrieve. The option let choose between a minimum of 200 or multiple of 200, as this is the dbx default number for each call.
All work nice, but as a thing is never perfect, i would like to add also the last beautiful thing to the user, on his dbx page: something like, You have 274 files linked in sharing, of 600 in total allowed.
I can get the value of this, counting the cached array, and comparing with the limit.
While, i can't previously know, how many linked files the user have, if i set limit to 200 files, only one call, but the user have linked in sharing more than 200.
There is no way to know the 'count' of shared files. Isn't it?
But i know there is an has_more cursor, so at best i can inform that 200 have been retrieved, but there are more, that have not been retrieved.
... finishing to write this, is all more clear also to me maybe now.
I'm wrong in something?