Store capacity: the latest totals, a daily trend, per-collection counts and what each tenant holds. Proxied from the provisioner. Admin only.
Parameters
Output
application/jsoncollections
array
Required
No description available.
latest
ref#totals
Optional
No description available.
tenants
array
Required
No description available.
trend
array
Required
No description available.
Errors
AuthRequired
This endpoint requires an authenticated caller. Forbidden
The caller is not HappyProto staff, or the provisioner does not treat them as staff. InvalidRequest
The provisioner refused the range or grain, for example a range that runs backwards or is too long. NotFound
Passed through from the provisioner. InvalidSlug
Passed through from the provisioner. SlugTaken
Passed through from the provisioner. NotEntitled
Passed through from the provisioner. InstanceLimit
Passed through from the provisioner. NoCapacity
Passed through from the provisioner. OperationInProgress
Passed through from the provisioner. Upstream
The provisioner could not complete the request. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Store capacity: the latest totals, a daily trend, per-collection counts and what each tenant holds. Proxied from the provisioner. Admin only.",
"errors": [
{
"description": "This endpoint requires an authenticated caller.",
"name": "AuthRequired"
},
{
"description": "The caller is not HappyProto staff, or the provisioner does not treat them as staff.",
"name": "Forbidden"
},
{
"description": "The provisioner refused the range or grain, for example a range that runs backwards or is too long.",
"name": "InvalidRequest"
},
{
"description": "Passed through from the provisioner.",
"name": "NotFound"
},
{
"description": "Passed through from the provisioner.",
"name": "InvalidSlug"
},
{
"description": "Passed through from the provisioner.",
"name": "SlugTaken"
},
{
"description": "Passed through from the provisioner.",
"name": "NotEntitled"
},
{
"description": "Passed through from the provisioner.",
"name": "InstanceLimit"
},
{
"description": "Passed through from the provisioner.",
"name": "NoCapacity"
},
{
"description": "Passed through from the provisioner.",
"name": "OperationInProgress"
},
{
"description": "The provisioner could not complete the request.",
"name": "Upstream"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"collections": {
"items": {
"ref": "#collection",
"type": "ref"
},
"type": "array"
},
"latest": {
"ref": "#totals",
"type": "ref"
},
"tenants": {
"items": {
"ref": "#tenant",
"type": "ref"
},
"type": "array"
},
"trend": {
"items": {
"ref": "#trendPoint",
"type": "ref"
},
"type": "array"
}
},
"required": [
"trend",
"collections",
"tenants"
],
"type": "object"
}
},
"parameters": {
"properties": {
"from": {
"description": "Start of the range. Defaults to 30 days before `to`.",
"format": "datetime",
"type": "string"
},
"to": {
"description": "End of the range. Defaults to now.",
"format": "datetime",
"type": "string"
}
},
"type": "params"
},
"type": "query"
}