Hello!

In case you haven't had a chance to try out the new REST apis, you can
actually try them out very easily from a browser. Just fire up a local
version of Shindig and try this:

See john.doe's people connections:
http://localhost:8080/social/rest/people/john.doe/@all?st=john.doe%3Ajohn.doe%3A7810%3Ashindig%3Ahttp%253A//localhost%253A8080/gadgets/files/samplecontainer/examples/SocialHelloWorld.xml%3A0


See john.doe's people connection in atom format:
http://localhost:8080/social/rest/people/john.doe/@all?st=john.doe%3Ajohn.doe%3A7810%3Ashindig%3Ahttp%253A//localhost%253A8080/gadgets/files/samplecontainer/examples/SocialHelloWorld.xml%3A0&format=atom

See jain.doe's people connections:
http://localhost:8080/social/rest/people/jane.doe/@all?st=jane.doe%3Ajane.doe%3A7810%3Ashindig%3Ahttp%253A//localhost%253A8080/gadgets/files/samplecontainer/examples/SocialHelloWorld.xml%3A0

See jain.doe's activities:
http://localhost:8080/social/rest/activities/jane.doe/@all?st=jane.doe%3Ajane.doe%3A7810%3Ashindig%3Ahttp%253A//localhost%253A8080/gadgets/files/samplecontainer/examples/SocialHelloWorld.xml%3A0

You'll notice that a security token, "st" is required. In these examples I
just added the one that got generated from the samplecontainer. Once the
OAuth support is finished this won't be required - it will be up to the
container to implement their own security policy.

(By the way, this was done with the Java version of Shindig. I didn't try
the PHP version yet.)
-Chris

-- 
Chris Schalk, Google Developer Advocate

Reply via email to