This function returns information about the cPanel user's Site Quality Monitoring projects' most recent monitoring check results.
uapi --output=jsonpretty \ --user=username \ SiteQuality \ get_all_scores \ verbose=1
{- "apiversion": 3,
- "func": "get_all_scores",
- "module": "SiteQuality",
- "result": {
- "data": {
- "scores": [
- {
- "system": {
- "name": "MyProject",
- "id": 2542
}, - "scores": {
- "basic-uptime": {
- "master": {
- "title": null,
- "status": null,
- "message": null,
- "description": null,
- "identifier": null,
- "score": null,
- "incidents": [ ],
- "attributes": { }
}, - "sub_scores": [ ]
}, - "basic-performance": {
- "master": {
- "title": null,
- "status": null,
- "message": null,
- "description": null,
- "identifier": null,
- "score": null,
- "incidents": [ ],
- "attributes": { }
}, - "sub_scores": [ ]
}, - "basic-seo": {
- "master": {
- "title": null,
- "status": null,
- "message": null,
- "description": null,
- "identifier": null,
- "score": null,
- "incidents": [ ],
- "attributes": { }
}, - "sub_scores": [ ]
}, - "basic-content": {
- "master": {
- "title": null,
- "status": null,
- "message": null,
- "description": null,
- "identifier": null,
- "score": null,
- "incidents": [ ],
- "attributes": { }
}, - "sub_scores": [ ]
}, - "basic-tech": {
- "master": {
- "title": null,
- "status": null,
- "message": null,
- "description": null,
- "identifier": null,
- "score": null,
- "incidents": [ ],
- "attributes": { }
}, - "sub_scores": [ ]
}, - "basic-security": {
- "master": {
- "title": null,
- "status": null,
- "message": null,
- "description": null,
- "identifier": null,
- "score": null,
- "incidents": [ ],
- "attributes": { }
}, - "sub_scores": [ ]
}
}
}
]
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}