diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-04-04 11:55:54 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-04-04 11:55:54 -0700 |
commit | 5679e30ef6c68272cce295bd593bc23c9ec1e1b3 (patch) | |
tree | 8c2b5f9ed61aca0b2ad16478b9ee605a9398757d /modules/gallery_unit_test | |
parent | 4e450b5a9664d2a24b74050f7b410cd581fc41cb (diff) |
REST changes: Allow PUT and POST requests to modify members, not
just entity.
TESTS ARE NOT UPDATED YET.
- Fix item_rest::get() to maintain the proper sort order, which
requires duplicating some Item_Model code.
- Elide "weight" from the REST version of item
- Adjust the weight of members according to the order they're returned
from the client. You can't add or remove members here, you can only
reorder them.
- Changed the wire protocol to handle more complex values.
Now "entity" and "members" are JSON encoded. The Gallery3
helper does this correctly.
- Changed the wire protocol for tag_item -- now it stores the
tag and item urls in the entity, not as members. This is more
consistent.
- Added missing security for renaming and deleting tags.
- Got rid of vestigial tag_rest::post(). We add/remove tags
via the relationship.
Diffstat (limited to 'modules/gallery_unit_test')
0 files changed, 0 insertions, 0 deletions