added 'devicy_sync' and 'sync_status' to api endpoints