1
0
Commit Graph

13 Commits

Author SHA1 Message Date
Bharat Mediratta
033e35d07e Made the Gallery3::load() and create() functions a little more robust
Added example for REST comments.
2010-06-20 09:54:22 -07:00
Bharat Mediratta
47e0eaa98e Update the example for grabbing a random photo to tag ?random=true to the URL
instead of using set() since that now only applies to entity changes.
2010-06-02 22:14:13 -07:00
Bharat Mediratta
bd28e04f84 Updated for REST changes which allow PUT and POST requests to
modify members, not just entity.

- Example code updated to demonstrate how to reorder

- Added Gallery3::set_members()

- Fixed a weird array_diff problem -- not sure how this was working before

- JSON encode any complex values in our post data
2010-04-04 11:58:05 -07:00
Bharat Mediratta
f5d2c065dc Specify a proper sample image and include it in the example so that
the example actually works.
2010-03-30 20:14:22 -07:00
Bharat Mediratta
7806db1929 Fix the example $SITE_URL 2010-01-30 20:39:11 -08:00
Bharat Mediratta
eae41b182d Updated to reflect the fact that "resource" is now "entity" in responses. 2010-01-27 21:46:00 -08:00
Bharat Mediratta
6a3851bae2 Refactored the API to deal with relationships and data in general more
cleanly.  Unfortunately it makes resource data access a lot more
unwieldy so I don't think we're done yet.
2010-01-26 00:15:35 -08:00
Bharat Mediratta
052f0537ba Use a proper extension for the name of the photo (found by model based validation -- woot!) 2010-01-17 17:37:33 -08:00
Bharat Mediratta
88e1fbf28e Pick a random photo. 2010-01-08 15:30:54 -08:00
Bharat Mediratta
300a07b4ab print -> alert()
Test that passing params to get() works.
2010-01-08 11:16:25 -08:00
Bharat Mediratta
cbcbe30dba Add more tag support. 2010-01-05 13:42:45 -08:00
Bharat Mediratta
96f9aa482d Gallery3::create_xxx() methods are now just create(). We don't
differentiate between types of resources at this level, it's not
necessary.

Add example code for dealing with tags.
2010-01-04 21:49:40 -08:00
Bharat Mediratta
2f60a0ef11 First shot at a tight and intuitive client library for Gallery 3. 2010-01-03 17:03:33 -08:00