utility

Get server status

Returns basic server status and order statistics.

get/

Request

  • Base URL
    <PIZZA_API_HOST>/api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    <PIZZA_API_HOST>/api/
  • Auth
    none declared

Response

Server status and order statistics

statusstring required
activeOrdersinteger required
totalOrdersinteger required
registeredUsersinteger required

Number of registered users in the system

timestampstring date-time required

Example response

{
  "status": "up",
  "activeOrders": 2,
  "totalOrders": 10,
  "registeredUsers": 5,
  "timestamp": "2025-05-06T12:00:00Z"
}

Changes

No recorded changes to this operation across all 4 revisions of this API.