summaryrefslogtreecommitdiffstats
path: root/protocol.txt
diff options
context:
space:
mode:
Diffstat (limited to 'protocol.txt')
-rw-r--r--protocol.txt14
1 files changed, 8 insertions, 6 deletions
diff --git a/protocol.txt b/protocol.txt
index f65a93e..035f4ec 100644
--- a/protocol.txt
+++ b/protocol.txt
@@ -52,8 +52,8 @@ resp: JSON object, with the following attributes:
- name (last component of path name)
- ui-name (shown to user)
- description (optional help text)
- - type (e.g. model, collection, set, reference, string,
- number, boolean)
+ - type (e.g. model, collection, list, set, reference,
+ string, number, boolean)
- widget (name of client-side JS module used to display
the data)
- editable (boolean)
@@ -72,10 +72,12 @@ resp: JSON object, with the following attributes:
based on other fields
- fields (model only): array of field metadata JSON
objects
- - members (collections and sets only): metadata for
- members (JSON object)
- - ui-member (collections and sets only): singular noun
- describing members (shown to user)
+ - members (collections, lists, and sets only): metadata
+ for members (JSON object)
+ - ui-member (collections, lists, and sets only): singular
+ noun describing members (shown to user)
+ - removable (collections, lists, and sets only): list of
+ removable members
- scope (references only): subtree where the reference can
refer to