diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2013-12-17 16:56:42 +0200 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2013-12-17 19:28:56 +0200 |
commit | a8aa513b9d07e8cabdb541c5b01d51caf21673bb (patch) | |
tree | fb267c5c0e3476ccb2384fa7020a8156df334666 /protocol.txt | |
parent | 6073e42010ae41bde396d5b140def71c32376f9d (diff) | |
download | aconf-a8aa513b9d07e8cabdb541c5b01d51caf21673bb.tar.bz2 aconf-a8aa513b9d07e8cabdb541c5b01d51caf21673bb.tar.xz |
web client: disable deletion for non-removable collection members
Diffstat (limited to 'protocol.txt')
-rw-r--r-- | protocol.txt | 14 |
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 |