This function retrieves the installation status and detailed information of the WordPress site for cPanel user's primary domain.
uapi --output=jsonpretty \ --user=username \ WordPressSite \ retrieve
{- "apiversion": 3,
- "func": "retrieve",
- "module": "WordPressSite",
- "result": {
- "data": [
- {
- "details": null,
- "install_status": "in progress"
}
], - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}