All APIs use JSON for parameters and returns. This limits the available basic types to
For many common uses, there is a canonical encoding of data:
- IDs are handled as ASCII alpha-only strings. See the IDs document for details.
- Integer values are handled as
number. APIs may not expose integers of more than 32 bits.
- Bit fields also use the
numberinteger encoding. Bit fields may not use more than 32 bits.
- Time is encoded as Unix UTC microseconds in a
number. This fits the 53-bit mantissa of double floats.
- File content can be transmitted