summaryrefslogtreecommitdiffstats
path: root/protocol.txt
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-02-21 16:39:57 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-02-24 13:05:49 +0200
commitbfaa4eceda474cb0200a3a75ac648249219904b5 (patch)
tree8b902920498b528c8a44f84f85fb7d02fc3a1f5e /protocol.txt
parentf6c04ff1d0395210f595e16cfc8757bb8f7ee706 (diff)
downloadacf2-bfaa4eceda474cb0200a3a75ac648249219904b5.tar.bz2
acf2-bfaa4eceda474cb0200a3a75ac648249219904b5.tar.xz
audio data type
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)