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!

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 …

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

I’d check the UI code to be sure.

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