commit 5fcf0b42809069a46b83c4ab50ce5617f800cd57 parent 6a08aa503954b342ef098ab77ffc548fec81471b Author: Florian Dold <florian@dold.me> Date: Sun, 7 Dec 2025 14:47:40 +0100 document FILE fields Diffstat:
| M | deployments/tops.rst | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/deployments/tops.rst b/deployments/tops.rst @@ -595,6 +595,14 @@ The the UI for the forms is defined in `taler-typescript-core <https://git.taler When the customer or officer submit the information throught the client software it must include the fields FORM_ID and FORM_VERSION attributed as defined in GANA. +Field names are always in ``SCREAMING_SNAKE_CASE``. + +File uploads should always use a single field named ``FILE`` with the following nested attributes: + +* ``CONTENTS``: Encoded contents as a string, encoding determined by ``ENCODING`` +* ``ENCODING``: Encoding of contents, currently only ``base64`` is supported. +* ``FILENAME``: *Optional*. File name of the upload. +* ``MIME_TYPE``: MIME type of the uploaded file. accept-tos ^^^^^^^^^^