summaryrefslogtreecommitdiffstats
path: root/protocol.txt
diff options
context:
space:
mode:
Diffstat (limited to 'protocol.txt')
-rw-r--r--protocol.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/protocol.txt b/protocol.txt
index 035f4ec..b881a96 100644
--- a/protocol.txt
+++ b/protocol.txt
@@ -41,11 +41,12 @@ req: GET /config/<obj_path>
resp: JSON object, with the following attributes:
data: JSON serialization of object
- primitive types as JSON primitives
+ - binary data encoded as data URIs
- references as path names (relative to scope)
- models as JSON objects with members as attributes:
- primitive members as JSON primitives
- - reference, model, collection, list, and set members as
- path names
+ - binary, reference, model, collection, list, and set
+ members as path names
- collections, lists, and sets as JSON arrays with members
as attributes (as for models)
meta: JSON object, with the following attributes
@@ -53,7 +54,7 @@ resp: JSON object, with the following attributes:
- ui-name (shown to user)
- description (optional help text)
- type (e.g. model, collection, list, set, reference,
- string, number, boolean)
+ string, number, boolean, binary)
- widget (name of client-side JS module used to display
the data)
- editable (boolean)