The People Connection service is one of the most exciting features of the Patch Set 1 release. It allows you to build and manage your connections, as well as to monitor the activity stream in a snappy, intuitive UI.
Bob Fraser from the WebCenter Product Management team published a new sample on OTN demonstrating the REST APIs offered by the People Connection service. The main idea about REST-enabling the social computing services is to allow you to build alternative UIs interacting with the WebCenter back-end services. In Bob’s example you have a simple HTML form where you enter your status message, and it posts your status through the REST APIs to the People Connection service.
Here is how it works:
- Invoke the URL that hosts the sample, for example: http://myhost.com/updatestatus/updateStatus.html
- Provide your status update and submit the form
- Navigate to your WebCenter Gallery page, and confirm that your status has been updated. The changed status shows up in the Activity Stream as well. The Spaces screen shot above (click to enlarge) shows just that.