This function checks whether the DAV service is enabled.
uapi --output=jsonpretty \ --user=username \ DAV \ is_dav_service_enabled
{- "apiversion": 3,
- "func": "is_dav_service_enabled",
- "module": "DAV",
- "result": {
- "data": {
- "enabled": 1
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}