mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 04:24:35 +03:00
cb85d62078
Additional documentation for REST queries with respect to how url template variables and query variables are interpreted. * Route variables and Query parameters are interpreted as scalars according to the variables types in the associated query and passed as JSON data through the query variables: * Missing nullable variables are interpreted as NULL * Boolean variables are interpreted as Bools * Boolean flags without values e.g. ``/api/rest/myquery?mybool`` are interpreted as True for boolean variables * String variables are interpreted as literal Strings * UUID variables are interpreted as strings * ID variables are interpreted as strings * Number, Int, Float, and Double variables are interpreted as Numbers * All other types or mismatches currently report variable type errors --- ### Kodiak commit message Documentation for variable interpretation for primitive URL variables #### Commit title Documentation for variable interpretation for primitive URL variables Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com> GitOrigin-RevId: 2d90facd0e644e275fe752dc393f066fb71490c5 |
||
---|---|---|
.. | ||
actions | ||
api-reference | ||
auth | ||
business-logic | ||
databases | ||
deployment | ||
event-triggers | ||
faq | ||
getting-started | ||
guides | ||
hasura-cli | ||
how-it-works | ||
integration | ||
introduction | ||
migrations | ||
performance | ||
remote-schemas | ||
scheduled-triggers | ||
security-disclosure | ||
troubleshooting | ||
version-control | ||
index.rst |