Report Load
Records an App's aggregate in-flight request count and last-request time, which drives idle reaping without an RPC per request. last_request_unix 0 with in_flight > 0 is stored as now. rps is accepted but not used yet.
Access: namespace OPERATOR or above (write)
Authorization
BearerAuth A namespace-scoped API key (cpk_…) for machines, or a Xeonr Auth OIDC
token for humans. The key's namespace and role are pinned server-side.
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
1 <= length <= 64validate:skip any count is meaningful; stored as-is
When the app last received a request. 0 with in_flight > 0 is stored as now. validate:skip any unix time is stored as-is
int64Recent request rate, for predictive scale-up. Not yet read by the server. validate:skip ignored by the handler today, so no bound is defensible
doubleResponse Body
application/json
application/json
curl -X POST "https://containers.xeonr.io/containers.api.v1.AppService/ReportLoad" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}Promote App Version POST
Moves the App's traffic pointer to a version and marks the previously active one superseded. Returns immediately without waiting for the version to warm; running instances of the old version are reaped once idle. InvalidArgument if the version belongs to another App. **Access:** namespace OPERATOR or above (write)
Rotate App Key POST
Issues a new App key and invalidates the previous one. The new key is returned and stays readable through GetApp. **Access:** namespace OPERATOR or above (write)