You can use the REST API sample to publish, modify, and
delete information for a presentity. You can also use it to fetch
information about a presentity or a list of presentities.
The sample includes:
- JavaScript code for parsing lists of multipart/related documents
into JavaScript objects
- Example code that uses the parser for displaying lists that are
formatted
The following files are included in the sample:
- ReadMe.txt: Description of the sample.
- listParser.js: JavaScript code for parsing
lists of multipart/related documents into JavaScript objects.
- messages.properties: File containing all
of the messages in the sample, used for localization. When adding
a new locale, simply copy this file with the correct locale name and
change the messages values.
- pub.jsp: The main Publish page, used to
publish, modify, or delete information for a presentity.
- sub.jsp: The main Fetch page, used for fetching
information about a presentity or a list of presentities.
- subFormated.jsp: An example of parsing lists
information into JavaScript objects. The page uses the JavaScript
parser for displaying lists that are formatted.