Whats the /rest/db/status key to identify a needed override action for send-only folders


for receive folders keys like receiveOnlyChanged helps to identify a needed revert action.

Whats the key in /rest/db/status to identify a needed override action for send-only folders? Thanks!

(Catfriend1) #2

I don’t know the db/status but using the folder status endpoint with the folder id and doing this:

long neededItems = folderStatus.needFiles + folderStatus.needDirectories + folderStatus.needSymlinks + folderStatus.needDeletes;

boolean outOfSync = folderStatus.state.equals(“idle”) && neededItems > 0;

1 Like

Thanks! I see there is also a “needTotalItems” key, that makes the sum up obsolete, I guess …

(Catfriend1) #4

Maybe that’s also fitting. We don’t query total status on android as this is heavy on cpu.

(Audrius Butkevicius) #5

I’d check the UI code to be sure.

(system) closed #6

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.