Bharat Mediratta
2d23f87e97
Handle 201 Created. Part of the fix for ticket #1178 .
2010-07-24 06:39:40 -07:00
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
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
ac28b85c5f
Merge branch 'master' of github.com:gallery/gallery3-contrib
2010-03-03 10:16:22 -08:00
Bharat Mediratta
5f65d082f9
Update the copyright to 2010.
2010-03-03 10:16:08 -08:00
Tim Almdal
8680715874
Gallery3::factory should be defined as static.
2010-02-10 17:54:56 -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
5731b93845
Track what data is changed and only send that on post/put requests.
2010-01-19 01:46:07 -08:00
Bharat Mediratta
1e820aad7c
Add a constructor to create an empty $data.
...
Make connect static.
2010-01-17 17:37:19 -08:00
Bharat Mediratta
5de5b1687f
Whitespace.
2010-01-17 17:22:47 -08:00
Bharat Mediratta
7ba6ba821a
Allow get() calls to take a "name" parameter to search the collection.
2010-01-08 11:16:04 -08:00
Bharat Mediratta
82fed14c3c
Add support for getting and removing members from a collection.
2010-01-05 13:42:30 -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