GET request to any path with .json appended.
Basic read
null.
Shallow reads
For large datasets, you often don’t need the entire subtree. Addshallow=true to get only the immediate children without recursing into them:
true. You see which keys exist, but nothing about their values or size:
Enhanced shallow reads
Addv=2 for a more useful shallow response. With v=2, primitive values (strings, numbers, booleans) are returned as-is, and container objects are returned as {".sz": N} where N is the size in bytes:
players is an object containing ~4 KB of data, while settings, playerCount, and active are leaf values you can read directly. Useful for exploring an unfamiliar database or deciding which subtrees are worth fetching in full.
Without
v=2, the response above would be {"players": true, "settings": true, "playerCount": true, "active": true}, with no way to tell which children are containers and which are primitives.Querying
Filter and sort data using query parameters. These map directly to the query methods available in the SDKs.Order by
Specify a sort order withorderBy:
The
orderBy value must be a JSON string. Wrap it in double quotes in the URL. Most shells require escaping: orderBy=\"score\" or orderBy=%22score%22.Limit results
Range filters
Formatting
Pretty print
Silent response
204 No Content instead of echoing the written data back. Saves bandwidth on writes when you don’t need the response body.
JSONP
For cross-domain requests from browsers that don’t support CORS:Download
Content-Disposition header so browsers treat the response as a file download.
Timeouts
Set a request timeout with thetimeout parameter:
ms, s, min. Maximum timeout is 15 minutes. Default is 30 seconds.
If the request exceeds the timeout, you’ll get a 504 Gateway Timeout response.
