DocumentationAPI reference
Rust · 0.1.0
InstanceStats
Application protocol schema. Field names and inherited descriptions are kept in their original language.
Where this schema is used
These links are derived from direct references in the protocol snapshot. Follow the calling operation for authentication, accepted fields and runtime behavior; a reusable resource schema is not by itself a complete write request.
Shape and fields
object
Resource usage statistics for the instance.
| Field | Type / requirement | Description |
|---|---|---|
database | InstanceStats_DatabaseStats | |
localStorageBytes | string | Recursive size of the data directory in bytes. -1 if unavailable. |
generatedTime | string (date-time) | Server-side timestamp when the snapshot was generated. |
Complete schema
Use this complete JSON definition for constraints and nested structure. A field's presence here does not mean it is writable by every caller.
{
"type": "object",
"properties": {
"database": {
"$ref": "#/components/schemas/InstanceStats_DatabaseStats"
},
"localStorageBytes": {
"type": "string",
"description": "Recursive size of the data directory in bytes. -1 if unavailable."
},
"generatedTime": {
"type": "string",
"description": "Server-side timestamp when the snapshot was generated.",
"format": "date-time"
}
},
"description": "Resource usage statistics for the instance."
}