Class StatusResponseModel
- Namespace
- Contensive.BaseModels
- Assembly
- CPBase.dll
Model for the /status remote method JSON response. Use this to deserialize the JSON returned by the /status endpoint with format=json.
public class StatusResponseModel
- Inheritance
-
StatusResponseModel
- Inherited Members
Properties
message
Human-readable status message
public string message { get; set; }
Property Value
metrics
Performance metrics for the application
public StatusResponseModel.StatusMetricsModel metrics { get; set; }
Property Value
performance
Availability/resource-headroom status (Site Monitor roadmap Phase 2), or null if unavailable. Distinct from metrics, which is self-reported request timing -- this object covers database size, memory headroom, caching, and cron/scheduler backlog. Not every field applies to every platform -- e.g. autoloadOptionsSizeKb is WordPress-only, dbSizeMb is set by both. Unused fields are simply left null, matching how Phase 1's security object handles platform-specific fields.
public StatusResponseModel.StatusPerformanceModel performance { get; set; }
Property Value
reliability
Backup/reliability status (Site Monitor roadmap Phase 3), or null if unavailable. Contensive only
for now -- WordPress's equivalent backup-monitoring fields live in its own reliability object,
built by the WordPress Site-Status plugin rather than this model.
public StatusResponseModel.StatusReliabilityModel reliability { get; set; }
Property Value
security
Security and update-hygiene status (Site Monitor roadmap Phase 1), or null if unavailable. Not every field applies to every platform -- e.g. phpVersion is WordPress-only, outdatedAddonCollections is Contensive-only. Unused fields are simply omitted/null.
public StatusResponseModel.StatusSecurityModel security { get; set; }
Property Value
status
Status result: "ok" or "error"
public string status { get; set; }
Property Value
version
The Contensive version running on the server
public string version { get; set; }
Property Value
windowsUpdates
Windows update status, or null if unavailable
public StatusResponseModel.StatusWindowsUpdatesModel windowsUpdates { get; set; }