From bfaa4eceda474cb0200a3a75ac648249219904b5 Mon Sep 17 00:00:00 2001 From: Kaarle Ritvanen Date: Fri, 21 Feb 2014 16:39:57 +0200 Subject: audio data type --- protocol.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'protocol.txt') 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/ 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) -- cgit v1.2.3