The Pizza REST APIs are exposed over HTTP. Except where noted, the following conventions apply across all APIs.
API conventions #
Time units #
Whenever durations need to be specified, e.g. for a timeout
parameter, the
duration must specify the unit, like 2d
for 2 days. The supported units are:
Suffix | Meaning |
---|---|
d | Days |
h | Hours |
m | Minutes |
s | Seconds |
ms | Milliseconds |
micros | Microseconds |
nanos | Nanoseconds |