This document list the web services that Clearspace exposes via REST, or Representational State Transfer. This guide includes the following sections:
As with other REST-style web services, methods here are each in one of four forms, similar to database operations.
The method descriptions here give the method type (also known as the HTTP "verb,"), such as GET, PUT, POST, or DELETE. They also give the resource endpoint. The endpoint is merely the end of the resource URI, which begins with the URL of your Clearspace instance and includes the general address of REST web services in Clearspace. Taken together, the complete URI's form is what you should use when requesting resources. That form looks like this:
http://<host_name>:<port_number>/<context>/rpc/rest/<endpoint>
So if your domain was at example.com and you had code to find out if avatars were enabled, you might end up with a resource URI like the following:
http://example.com:8080/ourspace/rpc/rest/avatarService/isAvatarsEnabled
Here's a brief client example in Java for getting a Clearspace REST resource. REST services in Clearspace use basic authentication, so you'll need to pass in user credentials that have sufficient permission to get the resource you're requesting.
This example uses DOM4J and Apache's HttpClient, but there aren't any implementation restrictions on how you request the resource and manipulate XML parameter or return values.
import java.io.InputStream;
import org.apache.commons.httpclient.Credentials;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.UsernamePasswordCredentials;
import org.apache.commons.httpclient.auth.AuthScope;
import org.apache.commons.httpclient.methods.GetMethod;
import org.dom4j.Document;
import org.dom4j.io.OutputFormat;
import org.dom4j.io.SAXReader;
import org.dom4j.io.XMLWriter;
// Code omitted.
// Use apache commons-httpclient to create the request/response
HttpClient client = new HttpClient();
Credentials defaultcreds = new UsernamePasswordCredentials("joe_admin",
"mypassword");
client.getState().setCredentials(AuthScope.ANY, defaultcreds);
// GET a community by its ID number, which is "1".
GetMethod method = new GetMethod(
"http://example.com:8080/clearspace/rpc/rest/communityService/communities/1");
client.executeMethod(method);
InputStream in = method.getResponseBodyAsStream();
// Use dom4j to parse the response and print nicely to the output stream
SAXReader reader = new SAXReader();
Document document = reader.read(in);
XMLWriter writer = new XMLWriter(System.out, OutputFormat
.createPrettyPrint());
writer.write(document);Note that to use any of the web services exposed by Clearspace, you'll need to first enable web services for your Clearspace instance. You can do that in the admin console at System > Settings > Web Services. On the Web Services page, enable the type of web services you want exposed by Clearspace, then click Save Settings.
| Service | Description |
|---|---|
| addressBookService | Provides ability to interact with the Private Message addressbook. |
| attachmentService | <p> A web service for managing attachment settings. |
| auditService | Provides a webservice for auditing actions from remote services. |
| avatarService | |
| blogService | A web service interface for managing blogs. |
| commentService | |
| communityService | Provides the ability to manipulate communities. |
| documentService | This service provides methods to load and manipulate documents, comments. |
| forumService | Provides the ability to manipulate forum messages. |
| groupService | Provides a the ability for managing groups and group membership. |
| iMService | Provides a the ability for managing real time comunication. |
| permissionService | Provides a webservice for managing permissions on users and groups. |
| pollService | |
| privateMessageService | Provides the ability to manipulate private messages. |
| profileFieldService | Defines methods used to create, access, update, and remove profile fields data. |
| profileSearchService | Provides the ability to search users. |
| profileService | Manages user profile data. |
| projectService | This service provides methods to load tasks by ID and to retrieve lists of projects. |
| ratingsService | |
| referenceService | Manager used to create references between different kind of jive objects. |
| searchService | Provides the ability to search for content. |
| statusLevelService | Manages status level feature. |
| systemPropertiesService | Provides a web service for managing Jive System Properties. |
| tagService | Provides a service to create, retrieve and delete tags. |
| taskService | |
| userService | Provides a webservice for managing user's, avatar's, and status levels. |
| watchService | A service for manipulating a user's watches on objects. |
Provides ability to interact with the Private Message addressbook. Retrieve, add and remove users.
| Method | Description |
|---|---|
| addUser | Adds a specified username to users addressbook. |
| addUsers | Adds a list of users to the Private Message addressbook of the specified user. |
| getRoster | Retrieves a list of users contained within the specified users addressbook. |
| removeUser | Removes the specified username from a users Private Message addressbook. |
| removeUsers | Removes the specified list of users from a users Private Message addressbook. |
Adds a specified username to users addressbook.
POST http://domain:port/clearspace_context/rpc/rest/addressBookService/addressbooks
<addUser>
<userID>xs:long</userID>
<usernameToAdd>xs:string</usernameToAdd>
</addUser>Adds a list of users to the Private Message addressbook of the specified user.
POST http://domain:port/clearspace_context/rpc/rest/addressBookService/bulk
<addUsers>
<userID>xs:long</userID>
<!-- List of ... -->
<userIDsToAdd>xs:long</userIDsToAdd>
</addUsers>Retrieves a list of users contained within the specified users addressbook.
GET http://domain:port/clearspace_context/rpc/rest/addressBookService/addressbooks/{userID}
<getRoster>
<userID>xs:long</userID>
</getRoster><getRosterResponse>
<!-- List of ... -->
<return>
<!-- Contents of User -->
<return>
</getRosterResponse>Removes the specified username from a users Private Message addressbook.
DELETE http://domain:port/clearspace_context/rpc/rest/addressBookService/addressbooks/{userID}/{usernameToRemove}
<removeUser>
<userID>xs:long</userID>
<usernameToRemove>xs:string</usernameToRemove>
</removeUser>Removes the specified list of users from a users Private Message addressbook.
DELETE http://domain:port/clearspace_context/rpc/rest/addressBookService/bulk}
<removeUsers>
<userID>xs:long</userID>
<!-- List of ... -->
<userIDsToRemove>xs:long</userIDsToRemove>
</removeUsers>A web service for managing attachment settings. A clone of the com.jivesoftware.community.AttachmentManager, modified for a web service.
There are three main properties that can administered with respect to attachments:
| Method | Description |
|---|---|
| addAllowedType | Adds a content type to the list of explicitly allowed types. |
| addDisallowedType | Adds a content type to the list of explicitly disallowed types. |
| getAllowedTypes | Returns a List of explicitly allowed types. |
| getDisallowedTypes | Returns a List of explicitly disallowed types. |
| getImagePreviewMaxSize | Returns the max dimension of generated thumbnails (ie, the max value for the width or height). |
| getMaxAttachmentSize | Returns the maximum size of an individual attachment in kilobytes. |
| getMaxAttachmentsPerBlogPost | Returns the maximum number of attachments per blog post. |
| getMaxAttachmentsPerDocument | Returns the maximum number of attachments per document. |
| getMaxAttachmentsPerMessage | Returns the maximum number of attachments per message. |
| isAllowAllByDefault | Returns true if in the "allow all content types by default" mode. |
| isAttachmentsEnabled | Returns true if attachments are enabled, false otherwise. |
| isImagePreviewEnabled | Returns true if image preview support is enabled. |
| isImagePreviewRatioEnabled | Returns true if the aspect ratio of thumbnails should be preserved. |
| isValidType | Returns true if the content type is valid based on the current settings of the <tt>allowAllByDefault</tt> flag and the allowed and disallowed types list. |
| removeAllowedType | Removes a content type fromt he list of explicitly allowed types. |
| removeDisallowedType | Removes a content type from the list of explicitly disallowed types. |
| setAllowAllByDefault | Sets the default allowed content types mode. |
| setAttachmentsEnabled | Sets whether attachments are attachmentsEnabled, false otherwise. |
| setImagePreviewEnabled | Toggles whether image preview support is enabled. |
| setImagePreviewMaxSize | Sets the max dimension of generated thumbnails (ie, the max value for the width or height). |
| setImagePreviewRatioEnabled | Toggles whether the aspect ratio of thumbnails should be preserved. |
| setMaxAttachmentSize | Sets the maximum size of an individual attachment in kilobytes. |
| setMaxAttachmentsPerBlogPost | Sets the maximum number of attachments per blog post. |
| setMaxAttachmentsPerDocument | Sets the maximum number of attachments per document. |
| setMaxAttachmentsPerMessage | Sets the maximum number of attachments per message. |
Adds a content type to the list of explicitly allowed types.
POST http://domain:port/clearspace_context/rpc/rest/attachmentService/allowedTypes
<addAllowedType>
<contentType>xs:string</contentType>
</addAllowedType>Adds a content type to the list of explicitly disallowed types.
POST http://domain:port/clearspace_context/rpc/rest/attachmentService/disallowedTypes
<addDisallowedType>
<contentType>xs:string</contentType>
</addDisallowedType>Returns a List of explicitly allowed types.
GET http://domain:port/clearspace_context/rpc/rest/attachmentService/allowedTypes
<getAllowedTypesResponse>
<!-- List of ... -->
<return>xs:string</return>
</getAllowedTypesResponse>Returns a List of explicitly disallowed types.
GET http://domain:port/clearspace_context/rpc/rest/attachmentService/disallowedTypes
<getDisallowedTypesResponse>
<!-- List of ... -->
<return>xs:string</return>
</getDisallowedTypesResponse>Returns the max dimension of generated thumbnails (ie, the max value for the width or height). The default value is 25.
GET http://domain:port/clearspace_context/rpc/rest/attachmentService/imagePreviewMaxSize
<getImagePreviewMaxSizeResponse>
<return>xs:int</return>
</getImagePreviewMaxSizeResponse>Returns the maximum size of an individual attachment in kilobytes. Trying to create an attachment larger than the max size will fail with an exception. The default maximum attachment size is 1 megabyte, or 1,024 K.
GET http://domain:port/clearspace_context/rpc/rest/attachmentService/maxAttachmentSize
<getMaxAttachmentSizeResponse>
<return>xs:int</return>
</getMaxAttachmentSizeResponse>Returns the maximum number of attachments per blog post. The default is 5 attachments.
GET http://domain:port/clearspace_context/rpc/rest/attachmentService/maxAttachmentsPerBlogPost
<getMaxAttachmentsPerBlogPostResponse>
<return>xs:int</return>
</getMaxAttachmentsPerBlogPostResponse>Returns the maximum number of attachments per document. The default is 5 attachments.
GET http://domain:port/clearspace_context/rpc/rest/attachmentService/maxAttachmentsPerDoc
<getMaxAttachmentsPerDocumentResponse>
<return>xs:int</return>
</getMaxAttachmentsPerDocumentResponse>Returns the maximum number of attachments per message. The default is 5 attachments.
GET http://domain:port/clearspace_context/rpc/rest/attachmentService/maxAttachmentsPerMessage
<getMaxAttachmentsPerMessageResponse>
<return>xs:int</return>
</getMaxAttachmentsPerMessageResponse>Returns true if in the "allow all content types by default" mode. The alternative is that all content types are disallowed unless they're on the "allowed" list.
GET http://domain:port/clearspace_context/rpc/rest/attachmentService/allowAllByDefault
<isAllowAllByDefaultResponse>
<return>xs:boolean</return>
</isAllowAllByDefaultResponse>Returns true if attachments are enabled, false otherwise.
GET http://domain:port/clearspace_context/rpc/rest/attachmentService/attachmentsEnabled
<isAttachmentsEnabledResponse>
<return>xs:boolean</return>
</isAttachmentsEnabledResponse>Returns true if image preview support is enabled. When enabled, the JiveServlet will generate thumbnails for image attachments. False by default.
GET http://domain:port/clearspace_context/rpc/rest/attachmentService/imagePreviewEnabled
<isImagePreviewEnabledResponse>
<return>xs:boolean</return>
</isImagePreviewEnabledResponse>Returns true if the aspect ratio of thumbnails should be preserved. When enabled, the aspect ratio of the original image will be preserved when generating the thumbnail. When false, the thumbnail will always be a square (which may distort the image). The default is true..
GET http://domain:port/clearspace_context/rpc/rest/attachmentService/imagePreviewRatioEnabled
<isImagePreviewRatioEnabledResponse>
<return>xs:boolean</return>
</isImagePreviewRatioEnabledResponse>Returns true if the content type is valid based on the current settings of the allowAllByDefault flag and the allowed and disallowed types list.
GET http://domain:port/clearspace_context/rpc/rest/attachmentService/allowedTypes/{contentType}
<isValidType>
<contentType>xs:string</contentType>
</isValidType><isValidTypeResponse>
<return>xs:boolean</return>
</isValidTypeResponse>Removes a content type fromt he list of explicitly allowed types. If the given content type does not exist in the list, this method does nothing.
DELETE http://domain:port/clearspace_context/rpc/rest/attachmentService/allowedTypes/{contentType}
<removeAllowedType>
<contentType>xs:string</contentType>
</removeAllowedType>Removes a content type from the list of explicitly disallowed types.
DELETE http://domain:port/clearspace_context/rpc/rest/attachmentService/disallowedTypes/{contentType}
<removeDisallowedType>
<contentType>xs:string</contentType>
</removeDisallowedType>Sets the default allowed content types mode. The value true means that all content types will be allowed unless they're on the "disallowed list". If false, no content types will be allowed unless on the "allowed list".
POST http://domain:port/clearspace_context/rpc/rest/attachmentService/allowAllByDefault
<setAllowAllByDefault>
<allowAllByDefault>xs:boolean</allowAllByDefault>
</setAllowAllByDefault>Sets whether attachments are attachmentsEnabled, false otherwise.
POST http://domain:port/clearspace_context/rpc/rest/attachmentService/attachmentsEnabled
<setAttachmentsEnabled>
<attachmentsEnabled>xs:boolean</attachmentsEnabled>
</setAttachmentsEnabled>Toggles whether image preview support is enabled. When enabled, the JiveServlet will generate thumbnails for image attachments. False by default.
POST http://domain:port/clearspace_context/rpc/rest/attachmentService/imagePreviewEnabled
<setImagePreviewEnabled>
<imagePreviewEnabled>xs:boolean</imagePreviewEnabled>
</setImagePreviewEnabled>Sets the max dimension of generated thumbnails (ie, the max value for the width or height). The default value is 25.
POST http://domain:port/clearspace_context/rpc/rest/attachmentService/imagePreviewMaxSize
<setImagePreviewMaxSize>
<imagePreviewMaxSize>xs:int</imagePreviewMaxSize>
</setImagePreviewMaxSize>Toggles whether the aspect ratio of thumbnails should be preserved. When enabled, the aspect ratio of the original image will be preserved when generating the thumbnail. When false, the thumbnail will always be a square (which may distort the image). The default is true.
POST http://domain:port/clearspace_context/rpc/rest/attachmentService/imagePreviewRatioEnabled
<setImagePreviewRatioEnabled>
<imagePreviewRatioEnabled>xs:boolean</imagePreviewRatioEnabled>
</setImagePreviewRatioEnabled>Sets the maximum size of an individual attachment in kilobytes. Trying to create an attachment larger than the max size will fail with an exception. The default maximum attachment size is 1 megabyte, or 1024 K.
POST http://domain:port/clearspace_context/rpc/rest/attachmentService/maxAttachmentSize
<setMaxAttachmentSize>
<maxAttachmentSize>xs:int</maxAttachmentSize>
</setMaxAttachmentSize>Sets the maximum number of attachments per blog post. The default is 5 attachments.
POST http://domain:port/clearspace_context/rpc/rest/attachmentService/maxAttachmentsPerBlogPost
<setMaxAttachmentsPerBlogPost>
<maxAttachmentsPerBlogPost>xs:int</maxAttachmentsPerBlogPost>
</setMaxAttachmentsPerBlogPost>Sets the maximum number of attachments per document. The default is 5 attachments.
POST http://domain:port/clearspace_context/rpc/rest/attachmentService/maxAttachmentsPerDocument
<setMaxAttachmentsPerDocument>
<maxAttachmentsPerDocument>xs:int</maxAttachmentsPerDocument>
</setMaxAttachmentsPerDocument>Sets the maximum number of attachments per message. The default is 5 attachments.
POST http://domain:port/clearspace_context/rpc/rest/attachmentService/maxAttachmentsPerMessage
<setMaxAttachmentsPerMessage>
<maxAttachmentsPerMessage>xs:int</maxAttachmentsPerMessage>
</setMaxAttachmentsPerMessage>Provides a webservice for auditing actions from remote services.
For soap services this service can be accessed at /rpc/soap/AuditService For rest services this service can be accessed at /rpc/rest/audit| Method | Description |
|---|---|
| auditEvent | Audits (logs) a remote event with formatted data passed from remote service. |
| getAuditMessages | Retrieves audit logs and returns them to remote caller. |
Audits (logs) a remote event with formatted data passed from remote service.
POST http://domain:port/clearspace_context/rpc/rest/auditService/audit
<auditEvent>
<username>xs:string</username>
<description>xs:string</description>
<details>xs:string</details>
</auditEvent>Retrieves audit logs and returns them to remote caller.
GET http://domain:port/clearspace_context/rpc/rest/auditService/audit
<getAuditMessagesResponse>
<!-- List of ... -->
<return>
<!-- Contents of -->
<return>
</getAuditMessagesResponse>| Method | Description |
|---|---|
| createAvatar | Creates a new avatar for a user allowing the user to specify byte array for the image. |
| deleteAvatar | Deletes an avatar from the system. |
| getActiveAvatar | Returns an avatar for a user, else the if the user does not have an active avatar specified. |
| getAvatar | Used to acquire an avatar by its id |
| getAvatarCount | Used to acquire a count of all the avatars for a specific user |
| getAvatars | Returns a collection of avatars for a user |
| getGlobalAvatars | Returns a collection of all of the global avatars |
| getMaxAllowableHeight | Returns the maximum allowable height for an avatar image |
| getMaxAllowableWidth | Returns the maximum allowable width for an avatar image |
| getMaxUserAvatars | Returns the maximum amount of avatars a user is allowed to have, -1 for limitless |
| getModerationAvatarCount | Used to acquire a count of all the avatars that require moderation. |
| getModerationAvatars | Returns a collection of all of the avatars that require moderation. |
| isAllowImageResize | Returns true if the system should attempt to resize images |
| isAvatarsEnabled | Returns true if the avatars feature is enabled, else false |
| isModerateUserAvatars | Returns whether or not user avatars will be moderated. |
| isUserAvatarsEnabled | Returns true if users can create their own avatars, false otherwise. |
| setActiveAvatar | Used to make a user use a global avatar, to set no active avatar pass -1 for the avatar value. |
| setAllowImageResize | Used to set whether the system should attempt to resize images |
| setMaxAllowableHeight | Sets the maximum allowable height for an avatar image |
| setMaxAllowableWidth | Sets the maximum allowable width for an avatar image |
| setMaxUserAvatars | Sets the maximum number of avatars a user can have |
| setModerateUserAvatars | Sets whether or not user avatars will be moderated. |
| setUserAvatarsEnabled | Sets whether or not users can create their own custom avatars. |
Creates a new avatar for a user allowing the user to specify byte array for the image.
POST http://domain:port/clearspace_context/rpc/rest/avatarService/avatars
<createAvatar>
<ownerID>xs:long</ownerID>
<name>xs:string</name>
<contentType>xs:string</contentType>
<!-- List of ... -->
<data>xs:base64Binary</data>
</createAvatar><createAvatarResponse>
<return>
<!-- Contents of Avatar -->
<return>
</createAvatarResponse>Deletes an avatar from the system.
DELETE http://domain:port/clearspace_context/rpc/rest/avatarService/avatar/{avatarID}
<deleteAvatar>
<avatarID>xs:long</avatarID>
</deleteAvatar>Returns an avatar for a user, else the if the user does not have an active avatar specified.
GET http://domain:port/clearspace_context/rpc/rest/avatarService/activeAvatar/{userID}
<getActiveAvatar>
<userID>xs:long</userID>
</getActiveAvatar><getActiveAvatarResponse>
<return>
<!-- Contents of Avatar -->
<return>
</getActiveAvatarResponse>Used to acquire an avatar by its id
GET http://domain:port/clearspace_context/rpc/rest/avatarService/avatarByID/{avatarID}
<getAvatar>
<avatarID>xs:long</avatarID>
</getAvatar><getAvatarResponse>
<return>
<!-- Contents of Avatar -->
<return>
</getAvatarResponse>Used to acquire a count of all the avatars for a specific user
GET http://domain:port/clearspace_context/rpc/rest/avatarService/avatarCount/{userID}
<getAvatarCount>
<userID>xs:long</userID>
</getAvatarCount><getAvatarCountResponse>
<return>xs:int</return>
</getAvatarCountResponse>Returns a collection of avatars for a user
GET http://domain:port/clearspace_context/rpc/rest/avatarService/avatarsByUser/{userID}
<getAvatars>
<userID>xs:long</userID>
</getAvatars><getAvatarsResponse>
<!-- List of ... -->
<return>
<!-- Contents of Avatar -->
<return>
</getAvatarsResponse>Returns a collection of all of the global avatars
GET http://domain:port/clearspace_context/rpc/rest/avatarService/globalAvatars
<getGlobalAvatarsResponse>
<!-- List of ... -->
<return>
<!-- Contents of Avatar -->
<return>
</getGlobalAvatarsResponse>Returns the maximum allowable height for an avatar image
GET http://domain:port/clearspace_context/rpc/rest/avatarService/avatarMaxAllowableHeight
<getMaxAllowableHeightResponse>
<return>xs:int</return>
</getMaxAllowableHeightResponse>Returns the maximum allowable width for an avatar image
GET http://domain:port/clearspace_context/rpc/rest/avatarService/avatarMaxAllowableWidth
<getMaxAllowableWidthResponse>
<return>xs:int</return>
</getMaxAllowableWidthResponse>Returns the maximum amount of avatars a user is allowed to have, -1 for limitless
GET http://domain:port/clearspace_context/rpc/rest/avatarService/maxUserAvatars
<getMaxUserAvatarsResponse>
<return>xs:int</return>
</getMaxUserAvatarsResponse>Used to acquire a count of all the avatars that require moderation.
GET http://domain:port/clearspace_context/rpc/rest/avatarService/moderationAvatarCount
<getModerationAvatarCountResponse>
<return>xs:int</return>
</getModerationAvatarCountResponse>Returns a collection of all of the avatars that require moderation.
GET http://domain:port/clearspace_context/rpc/rest/avatarService/moderationAvatars
<getModerationAvatarsResponse>
<!-- List of ... -->
<return>
<!-- Contents of Avatar -->
<return>
</getModerationAvatarsResponse>Returns true if the system should attempt to resize images
GET http://domain:port/clearspace_context/rpc/rest/avatarService/avatarAllowImageResize
<isAllowImageResizeResponse>
<return>xs:boolean</return>
</isAllowImageResizeResponse>Returns true if the avatars feature is enabled, else false
GET http://domain:port/clearspace_context/rpc/rest/avatarService/avatarsEnabled
<isAvatarsEnabledResponse>
<return>xs:boolean</return>
</isAvatarsEnabledResponse>Returns whether or not user avatars will be moderated. The default value is true.
GET http://domain:port/clearspace_context/rpc/rest/avatarService/moderateUserAvatars
<isModerateUserAvatarsResponse>
<return>xs:boolean</return>
</isModerateUserAvatarsResponse>Returns true if users can create their own avatars, false otherwise. If custom user avatars are enabled, the number of custom avatars allowed per user and whether or not custom avatars should be moderated can be set using setMaxUserAvatars(int max); and setModerateUserAvatars(boolean moderateUserAvatars); respecitvely.
GET http://domain:port/clearspace_context/rpc/rest/avatarService/userAvatarsEnabled
<isUserAvatarsEnabledResponse>
<return>xs:boolean</return>
</isUserAvatarsEnabledResponse>Used to make a user use a global avatar, to set no active avatar pass -1 for the avatar value.
POST http://domain:port/clearspace_context/rpc/rest/avatarService/activeAvatar
<setActiveAvatar>
<userID>xs:long</userID>
<avatarID>xs:long</avatarID>
</setActiveAvatar>Used to set whether the system should attempt to resize images
POST http://domain:port/clearspace_context/rpc/rest/avatarService/avatarAllowImageResize
<setAllowImageResize>
<isAllowImageResize>xs:boolean</isAllowImageResize>
</setAllowImageResize>Sets the maximum allowable height for an avatar image
POST http://domain:port/clearspace_context/rpc/rest/avatarService/avatarMaxAllowableHeight
<setMaxAllowableHeight>
<height>xs:int</height>
</setMaxAllowableHeight>Sets the maximum allowable width for an avatar image
POST http://domain:port/clearspace_context/rpc/rest/avatarService/avatarMaxAllowableWidth
<setMaxAllowableWidth>
<width>xs:int</width>
</setMaxAllowableWidth>Sets the maximum number of avatars a user can have
POST http://domain:port/clearspace_context/rpc/rest/avatarService/maxUserAvatars
<setMaxUserAvatars>
<max>xs:int</max>
</setMaxUserAvatars>Sets whether or not user avatars will be moderated. The default value is true.
POST http://domain:port/clearspace_context/rpc/rest/avatarService/moderateUserAvatars
<setModerateUserAvatars>
<moderateUserAvatars>xs:boolean</moderateUserAvatars>
</setModerateUserAvatars>Sets whether or not users can create their own custom avatars. If custom user avatars are enabled, the number of custom avatars allowed per user and whether or not custom avatars should be moderated can be set using setMaxUserAvatars(int max); and setModerateUserAvatars(boolean moderateUserAvatars); respecitvely.
POST http://domain:port/clearspace_context/rpc/rest/avatarService/userAvatarsEnabled
<setUserAvatarsEnabled>
<enableCustomAvatars>xs:boolean</enableCustomAvatars>
</setUserAvatarsEnabled>A web service interface for managing blogs.
| Method | Description |
|---|---|
| addAttachmentToBlogPost | Adds an attachment to the blog post with the specified ID. |
| addImageToBlogPost | Adds an image to the blog post with the specified ID. |
| createBlog | Creates a new blog. |
| createBlogPost | Creates a new blog post. |
| deleteBlog | Permanently deletes a blog and all of the blog postings and comments associated with the blog. |
| deleteBlogPost | Permanently deletes a blog post and all of the comments associated with the it. |
| getAttachmentsByBlogPostID | Returns an array of attachments that are attached to the specified blog post. |
| getBlog | Returns a blog by blog blogName. |
| getBlog | Returns a blog by blog ID. |
| getBlogCount | Returns the total number of blogs on this system. |
| getBlogCount | Returns the total number of blogs on this system that match the criteria specified by the ResultFilter. |
| getBlogCountForUser | Returns the count of all blogs which are associated with the given user. |
| getBlogPost | Returns a blog by blog ID. |
| getBlogPostCount | Returns the number of blog posts on the system, by default only includes blog posts where status = and publish date less than now(). |
| getBlogPostCount | Returns the number of blog posts on the system. |
| getBlogPosts | Returns all the blog posts that match the criteria specified by the BlogPostResultFilter on the entire system. |
| getBlogsByDisplayName | Returns all the blogs on this system whose display name is LIKE the given query. |
| getBlogsForUser | Returns all blogs which are associated with the given user. |
| getCommentCount | Returns the number of comments on blog posts in the system. |
| getCommentCount | Returns the number of comments on blog posts that match the criteria specified by the FeedbackResultFilter in the entire system. |
| getComments | Returns all the comments on blog posts that match the criteria specified by the FeedbackResultFilter in the entire system. |
| getImagesByBlogPostID | Returns an array of images that are attached to the specified blog post. |
| getPingServices | Returns a comma delimited list of available ping services for the system. |
| getRecentBlogs | Returns (at most) the ten most recent blogs created on this system. |
| getTags | Returns all tags for blogs in the system. |
| getTags | Returns all tags for blogs in the system filtered by the BlogTagResultFilter. |
| isBlogsEnabled | Returns true if the blogs feature is turned on. |
| isCommentsEnabled | Returns true if the comments feature is turned on. |
| isPingsEnabled | Returns true if the pings feature is turned on. |
| isPingsOverrideEnabled | Returns true if the system has been configured to allow users to override the ping URIs configured for the system. |
| isTrackbacksEnabled | Returns true if the trackbacks feature is turned on. |
| publishBlogPost | |
| setBlogsEnabled | Enables or disables the blogs feature. |
| setCommentsEnabled | Enables or disables the comments feature system wide. |
| setPingServices | Sets the comma delimited list of available ping services for the system. |
| setPingsEnabled | Enables or disables the pings feature system wide. |
| setPingsOverrideEnabled | Configures the system to allow users to override the ping URIs configured for all blogs. |
| setTrackbacksEnabled | Enables or disables the trackbacks feature system wide. |
| updateBlogPost | |
| userHasBlogs | Returns <tt>true</tt> if the given user has one or more blogs, <tt>false</tt> if the user does not have a blog. |
Adds an attachment to the blog post with the specified ID.
POST http://domain:port/clearspace_context/rpc/rest/blogService/attachments
<addAttachmentToBlogPost>
<blogPostID>xs:long</blogPostID>
<name>xs:string</name>
<contentTypes>xs:string</contentTypes>
<!-- List of ... -->
<source>xs:base64Binary</source>
</addAttachmentToBlogPost>Adds an image to the blog post with the specified ID.
POST http://domain:port/clearspace_context/rpc/rest/blogService/images
<addImageToBlogPost>
<blogPostID>xs:long</blogPostID>
<name>xs:string</name>
<contentTypes>xs:string</contentTypes>
<!-- List of ... -->
<source>xs:base64Binary</source>
</addImageToBlogPost>Creates a new blog.
POST http://domain:port/clearspace_context/rpc/rest/blogService/blogs
<createBlog>
<userID>xs:long</userID>
<blogName>xs:string</blogName>
<displayName>xs:string</displayName>
</createBlog><createBlogResponse>
<return>
<!-- Contents of Blog -->
<return>
</createBlogResponse>Creates a new blog post.
POST http://domain:port/clearspace_context/rpc/rest/blogService/blogPosts
<createBlogPost>
<subject>xs:string</subject>
<body>xs:string</body>
<blogID>xs:long</blogID>
<userID>xs:long</userID>
</createBlogPost><createBlogPostResponse>
<return>
<!-- Contents of BlogPost -->
<return>
</createBlogPostResponse>Permanently deletes a blog and all of the blog postings and comments associated with the blog.
DELETE http://domain:port/clearspace_context/rpc/rest/blogService/blogs/{blogID}
<deleteBlog>
<blogID>xs:long</blogID>
</deleteBlog>Permanently deletes a blog post and all of the comments associated with the it.
DELETE http://domain:port/clearspace_context/rpc/rest/blogService/blogPosts/{blogPostID}
<deleteBlogPost>
<blogPostID>xs:long</blogPostID>
</deleteBlogPost>Returns an array of attachments that are attached to the specified blog post.
GET http://domain:port/clearspace_context/rpc/rest/blogService/attachments/{blogPostID}
<getAttachmentsByBlogPostID>
<blogPostID>xs:long</blogPostID>
</getAttachmentsByBlogPostID><getAttachmentsByBlogPostIDResponse>
<!-- List of ... -->
<return>
<!-- Contents of Attachment -->
<return>
</getAttachmentsByBlogPostIDResponse>Returns a blog by blog ID.
GET http://domain:port/clearspace_context/rpc/rest/blogService/blogsByID/{blogID}
<getBlog>
<blogID>xs:long</blogID>
</getBlog><getBlogResponse>
<return>
<!-- Contents of Blog -->
<return>
</getBlogResponse>Returns a blog by blog blogName.
GET http://domain:port/clearspace_context/rpc/rest/blogService/blogsByName/{blogName}
<getBlog>
<blogName>xs:string</blogName>
</getBlog><getBlogResponse>
<return>
<!-- Contents of Blog -->
<return>
</getBlogResponse>Returns the total number of blogs on this system.
GET http://domain:port/clearspace_context/rpc/rest/blogService/blogCount
<getBlogCountResponse>
<return>xs:int</return>
</getBlogCountResponse>Returns the total number of blogs on this system that match the criteria specified by the ResultFilter.
POST http://domain:port/clearspace_context/rpc/rest/blogService/blogCount
<getBlogCount>
<filter>
<!-- Contents of BlogResultFilter -->
<filter>
</getBlogCount><getBlogCountResponse>
<!-- List of ... -->
<return>
<!-- Contents of Blog -->
<return>
</getBlogCountResponse>Returns the count of all blogs which are associated with the given user.
GET http://domain:port/clearspace_context/rpc/rest/blogService/userBlogCount/{userID}
<getBlogCountForUser>
<userID>xs:long</userID>
</getBlogCountForUser><getBlogCountForUserResponse>
<return>xs:int</return>
</getBlogCountForUserResponse>Returns a blog by blog ID.
GET http://domain:port/clearspace_context/rpc/rest/blogService/blogPosts/{blogPostID}
<getBlogPost>
<blogPostID>xs:long</blogPostID>
</getBlogPost><getBlogPostResponse>
<return>
<!-- Contents of BlogPost -->
<return>
</getBlogPostResponse>Returns the number of blog posts on the system, by default only includes blog posts where status = and publish date less than now().
GET http://domain:port/clearspace_context/rpc/rest/blogService/blogPostCount
<getBlogPostCountResponse>
<return>xs:int</return>
</getBlogPostCountResponse>Returns the number of blog posts on the system. The default blog post result filter () only includes blog posts where status = and publish date less than now().
POST http://domain:port/clearspace_context/rpc/rest/blogService/blogPostCount
<getBlogPostCount>
<filter>
<!-- Contents of BlogPostResultFilter -->
<filter>
</getBlogPostCount><getBlogPostCountResponse>
<return>xs:int</return>
</getBlogPostCountResponse>Returns all the blog posts that match the criteria specified by the BlogPostResultFilter on the entire system.
POST http://domain:port/clearspace_context/rpc/rest/blogService/blogsPostsWithFilter
<getBlogPosts>
<filter>
<!-- Contents of BlogPostResultFilter -->
<filter>
</getBlogPosts><getBlogPostsResponse>
<!-- List of ... -->
<return>
<!-- Contents of BlogPost -->
<return>
</getBlogPostsResponse>Returns all the blogs on this system whose display name is LIKE the given query.
NOTE: This method is designed only to be used only by administrators for administration purposes and will throw an UnauthorizedException if the current user is not a system administrator.GET http://domain:port/clearspace_context/rpc/rest/blogService/blogsByDisplayName/{query}/{startIndex}/{endIndex}/{numResults}
<getBlogsByDisplayName>
<query>xs:string</query>
<startIndex>xs:int</startIndex>
<endIndex>xs:int</endIndex>
<numResults>xs:int</numResults>
</getBlogsByDisplayName><getBlogsByDisplayNameResponse>
<!-- List of ... -->
<return>
<!-- Contents of Blog -->
<return>
</getBlogsByDisplayNameResponse>Returns all blogs which are associated with the given user.
GET http://domain:port/clearspace_context/rpc/rest/blogService/userBlogs/{userID}
<getBlogsForUser>
<userID>xs:long</userID>
</getBlogsForUser><getBlogsForUserResponse>
<!-- List of ... -->
<return>
<!-- Contents of Blog -->
<return>
</getBlogsForUserResponse>Returns the number of comments on blog posts in the system.
GET http://domain:port/clearspace_context/rpc/rest/blogService/commentCount
<getCommentCountResponse>
<return>xs:int</return>
</getCommentCountResponse>Returns the number of comments on blog posts that match the criteria specified by the FeedbackResultFilter in the entire system.
POST http://domain:port/clearspace_context/rpc/rest/blogService/commentCountWithFilter
<getCommentCount>
<filter>
<!-- Contents of FeedbackResultFilter -->
<filter>
</getCommentCount><getCommentCountResponse>
<return>xs:int</return>
</getCommentCountResponse>Returns all the comments on blog posts that match the criteria specified by the FeedbackResultFilter in the entire system.
POST http://domain:port/clearspace_context/rpc/rest/blogService/commentsWithFilter
<getComments>
<filter>
<!-- Contents of FeedbackResultFilter -->
<filter>
</getComments><getCommentsResponse>
<!-- List of ... -->
<return>
<!-- Contents of Comment -->
<return>
</getCommentsResponse>Returns an array of images that are attached to the specified blog post.
GET http://domain:port/clearspace_context/rpc/rest/blogService/images/{blogPostID}
<getImagesByBlogPostID>
<blogPostID>xs:long</blogPostID>
</getImagesByBlogPostID><getImagesByBlogPostIDResponse>
<!-- List of ... -->
<return>
<!-- Contents of Image -->
<return>
</getImagesByBlogPostIDResponse>Returns a comma delimited list of available ping services for the system.
GET http://domain:port/clearspace_context/rpc/rest/blogService/pingServices
<getPingServicesResponse>
<return>xs:string</return>
</getPingServicesResponse>Returns (at most) the ten most recent blogs created on this system.
GET http://domain:port/clearspace_context/rpc/rest/blogService/recentBlogs
<getRecentBlogsResponse>
<!-- List of ... -->
<return>
<!-- Contents of Blog -->
<return>
</getRecentBlogsResponse>Returns all tags for blogs in the system.
GET http://domain:port/clearspace_context/rpc/rest/blogService/tags
<getTagsResponse>
<!-- List of ... -->
<return>
<!-- Contents of TagCount -->
<return>
</getTagsResponse>Returns all tags for blogs in the system filtered by the BlogTagResultFilter.
POST http://domain:port/clearspace_context/rpc/rest/blogService/tags
<getTagsResponse>
<!-- List of ... -->
<return>
<!-- Contents of TagCount -->
<return>
</getTagsResponse>Returns true if the blogs feature is turned on. When blogs are disabled, other methods serve as no-ops.
GET http://domain:port/clearspace_context/rpc/rest/blogService/blogsEnabled
<isBlogsEnabledResponse>
<return>xs:boolean</return>
</isBlogsEnabledResponse>Returns true if the comments feature is turned on. When comments are disabled on the system, all individual blog comment settings are disabled as well.
GET http://domain:port/clearspace_context/rpc/rest/blogService/commentsEnabled
<isCommentsEnabledResponse>
<return>xs:boolean</return>
</isCommentsEnabledResponse>Returns true if the pings feature is turned on. When pings are disabled on the system, all individual blog ping settings are disabled as well.
GET http://domain:port/clearspace_context/rpc/rest/blogService/pingsEnabled
<isPingsEnabledResponse>
<return>xs:boolean</return>
</isPingsEnabledResponse>Returns true if the system has been configured to allow users to override the ping URIs configured for the system.
GET http://domain:port/clearspace_context/rpc/rest/blogService/pingsOverrideEnabled
<isPingsOverrideEnabledResponse>
<return>xs:boolean</return>
</isPingsOverrideEnabledResponse>Returns true if the trackbacks feature is turned on. When trackbacks are disabled on the system, all individual blog trackback settings are disabled as well.
GET http://domain:port/clearspace_context/rpc/rest/blogService/trackbacksEnabled
<isTrackbacksEnabledResponse>
<return>xs:boolean</return>
</isTrackbacksEnabledResponse>POST http://domain:port/clearspace_context/rpc/rest/blogService/publishBlogPost
<publishBlogPost>
<subject>xs:string</subject>
<body>xs:string</body>
<blogID>xs:long</blogID>
<userID>xs:long</userID>
</publishBlogPost><publishBlogPostResponse>
<return>
<!-- Contents of BlogPost -->
<return>
</publishBlogPostResponse>Enables or disables the blogs feature. When blogs are disabled, other methods serve as no-ops.
POST http://domain:port/clearspace_context/rpc/rest/blogService/blogsEnabled
<setBlogsEnabled>
<blogsEnabled>xs:boolean</blogsEnabled>
</setBlogsEnabled>Enables or disables the comments feature system wide.
POST http://domain:port/clearspace_context/rpc/rest/blogService/commentsEnabled
<setCommentsEnabled>
<commentsEnabled>xs:boolean</commentsEnabled>
</setCommentsEnabled>Sets the comma delimited list of available ping services for the system.
POST http://domain:port/clearspace_context/rpc/rest/blogService/pingServices
<setPingServices>
<services>xs:string</services>
</setPingServices>Enables or disables the pings feature system wide.
POST http://domain:port/clearspace_context/rpc/rest/blogService/pingsEnabled
<setPingsEnabled>
<pingsEnabled>xs:boolean</pingsEnabled>
</setPingsEnabled>Configures the system to allow users to override the ping URIs configured for all blogs.
POST http://domain:port/clearspace_context/rpc/rest/blogService/pingsOverrideEnabled
<setPingsOverrideEnabled>
<pingsOverrideEnabled>xs:boolean</pingsOverrideEnabled>
</setPingsOverrideEnabled>Enables or disables the trackbacks feature system wide.
POST http://domain:port/clearspace_context/rpc/rest/blogService/trackbacksEnabled
<setTrackbacksEnabled>
<trackbacksEnabled>xs:boolean</trackbacksEnabled>
</setTrackbacksEnabled>PUT http://domain:port/clearspace_context/rpc/rest/blogService/blogPosts
<updateBlogPost>
<blogPost>
<!-- Contents of BlogPost -->
<blogPost>
</updateBlogPost>Returns true if the given user has one or more blogs, false if the user does not have a blog.
GET http://domain:port/clearspace_context/rpc/rest/blogService/userHasBlogs
<userHasBlogs>
<userID>xs:long</userID>
</userHasBlogs><userHasBlogsResponse>
<return>xs:boolean</return>
</userHasBlogsResponse>| Method | Description |
|---|---|
| addComment | Adds a new comment to an object. |
| addCommentToComment | Adds a new comment having a parent comment to the object. |
| deleteAllComments | Deletes all comments on the object. |
| deleteComment | Deletes a comment in the object. |
| deleteCommentRecursive | Deletes a comment in the object. |
| getComment | Acquire a comment. |
| getCommentCount | Returns the number of comments in the object. |
| getCommentCountWithFilter | Returns the number of comments in the object based on the specified ResultFilter. |
| getComments | Returns an array of all the comments in the object. |
| getUserContentCommentCount | Returns a count of all the comments in all content which has been authored by the supplied user. |
| getUserContentCommentCountWithFilter | Returns a count of all the comments in all content which has been authored by the supplied user. |
| getUserContentComments | Returns array of all the comments in all content which has been authored by the supplied user. |
| getUserContentCommentsWithFilter | Returns array of all the comments in all content which has been authored by the supplied user. |
| updateComment | Updates an existing comment. |
Adds a new comment to an object.
POST http://domain:port/clearspace_context/rpc/rest/commentService/comments
<addComment>
<objectType>xs:int</objectType>
<objectID>xs:long</objectID>
<userID>xs:long</userID>
<body>xs:string</body>
</addComment><addCommentResponse>
<return>
<!-- Contents of Comment -->
<return>
</addCommentResponse>Adds a new comment having a parent comment to the object.
POST http://domain:port/clearspace_context/rpc/rest/commentService/comments/addChild
<addCommentToComment>
<objectType>xs:int</objectType>
<objectID>xs:long</objectID>
<commentID>xs:long</commentID>
<userID>xs:long</userID>
<body>xs:string</body>
</addCommentToComment><addCommentToCommentResponse>
<return>
<!-- Contents of Comment -->
<return>
</addCommentToCommentResponse>Deletes all comments on the object.
DELETE http://domain:port/clearspace_context/rpc/rest/commentService/comments/{objectType}/{objectID}
<deleteAllComments>
<objectType>xs:int</objectType>
<objectID>xs:long</objectID>
</deleteAllComments>Deletes a comment in the object. Deleting a comment also deletes all of its children comments. The search index and other resources that referenced the comment and its children will also be updated appropriately.
DELETE http://domain:port/clearspace_context/rpc/rest/commentService/comments/{objectType}/{objectID}/{commentID}
<deleteComment>
<objectType>xs:int</objectType>
<objectID>xs:long</objectID>
<commentID>xs:long</commentID>
</deleteComment>Deletes a comment in the object. The search index and other resources that referenced the comment will also be updated appropriately.
DELETE http://domain:port/clearspace_context/rpc/rest/commentService/comments/recursiveDelete/{objectType}/{objectID}/{commentID}/{recursive}
<deleteCommentRecursive>
<objectType>xs:int</objectType>
<objectID>xs:long</objectID>
<commentID>xs:long</commentID>
<recursive>xs:boolean</recursive>
</deleteCommentRecursive>Acquire a comment.
GET http://domain:port/clearspace_context/rpc/rest/commentService/comments/{objectType}/{objectID}/{commentID}
<getComment>
<objectType>xs:int</objectType>
<objectID>xs:long</objectID>
<commentID>xs:long</commentID>
</getComment><getCommentResponse>
<return>
<!-- Contents of Comment -->
<return>
</getCommentResponse>Returns the number of comments in the object.
GET http://domain:port/clearspace_context/rpc/rest/commentService/commentcount/{objectType}/{objectID}
<getCommentCount>
<objectType>xs:int</objectType>
<objectID>xs:long</objectID>
</getCommentCount><getCommentCountResponse>
<return>xs:int</return>
</getCommentCountResponse>Returns the number of comments in the object based on the specified ResultFilter. This is useful for determining such things as the number of comments in a date range, etc.
POST http://domain:port/clearspace_context/rpc/rest/commentService/comments/count
<getCommentCountWithFilter>
<objectType>xs:int</objectType>
<objectID>xs:long</objectID>
<filter>
<!-- Contents of CommentResultFilter -->
<filter>
</getCommentCountWithFilter><getCommentCountWithFilterResponse>
<return>xs:int</return>
</getCommentCountWithFilterResponse>Returns an array of all the comments in the object.
GET http://domain:port/clearspace_context/rpc/rest/commentService/comments/{objectType}/{objectID}
<getComments>
<objectType>xs:int</objectType>
<objectID>xs:long</objectID>
</getComments><getCommentsResponse>
<!-- List of ... -->
<return>
<!-- Contents of Comment -->
<return>
</getCommentsResponse>Returns a count of all the comments in all content which has been authored by the supplied user.
GET http://domain:port/clearspace_context/rpc/rest/commentService/usercommentcount/{userID}
<getUserContentCommentCount>
<userID>xs:long</userID>
</getUserContentCommentCount><getUserContentCommentCountResponse>
<return>xs:int</return>
</getUserContentCommentCountResponse>Returns a count of all the comments in all content which has been authored by the supplied user.
POST http://domain:port/clearspace_context/rpc/rest/commentService/comments/user/count
<getUserContentCommentCountWithFilter>
<userID>xs:long</userID>
<filter>
<!-- Contents of UserContentCommentResultFilter -->
<filter>
</getUserContentCommentCountWithFilter><getUserContentCommentCountWithFilterResponse>
<return>xs:int</return>
</getUserContentCommentCountWithFilterResponse>Returns array of all the comments in all content which has been authored by the supplied user.
GET http://domain:port/clearspace_context/rpc/rest/commentService/usercomments/{userID}
<getUserContentComments>
<userID>xs:long</userID>
</getUserContentComments><getUserContentCommentsResponse>
<!-- List of ... -->
<return>
<!-- Contents of Comment -->
<return>
</getUserContentCommentsResponse>Returns array of all the comments in all content which has been authored by the supplied user.
POST http://domain:port/clearspace_context/rpc/rest/commentService/comments/user
<getUserContentCommentsWithFilter>
<userID>xs:long</userID>
<filter>
<!-- Contents of UserContentCommentResultFilter -->
<filter>
</getUserContentCommentsWithFilter><getUserContentCommentsWithFilterResponse>
<!-- List of ... -->
<return>
<!-- Contents of Comment -->
<return>
</getUserContentCommentsWithFilterResponse>Updates an existing comment.
PUT http://domain:port/clearspace_context/rpc/rest/commentService/comments
<updateComment>
<objectType>xs:int</objectType>
<objectID>xs:long</objectID>
<comment>
<!-- Contents of Comment -->
<comment>
</updateComment>Provides the ability to manipulate communities. This service will allow you to create, delete, move and acquire communities.
| Method | Description |
|---|---|
| createCommunity | Creates a new Community as a sub-community off of the specified community. |
| deleteCommunity | Used to delete the specified community |
| deleteProperty | Delete a property with the given name from the community with the given id. |
| getCommunity | Returns a by its id |
| getDocumentIDs | Returns document IDs for all the published documents in the community. |
| getProperties | Returns all tbe extended properties for the community with the specified id. |
| getProperty | Returns a specific extended property for the community with the specified property name and community ID. |
| getRecursiveCommunities | |
| getRecursiveCommunities | Returns all of the communities under the specified community recursively. |
| getRecursiveCommunityCount | Returns a count of call the communities under a community |
| getSubCommunities | Returns all the sub communities for the parent community. |
| setProperty | Set an extended propery for the community with the given community id. |
| updateCommunity | Update a Community |
Creates a new Community as a sub-community off of the specified community.
POST http://domain:port/clearspace_context/rpc/rest/communityService/communities
<createCommunity>
<name>xs:string</name>
<displayName>xs:string</displayName>
<description>xs:string</description>
<communityID>xs:long</communityID>
</createCommunity><createCommunityResponse>
<return>
<!-- Contents of Community -->
<return>
</createCommunityResponse>Used to delete the specified community
DELETE http://domain:port/clearspace_context/rpc/rest/communityService/communities/{communityID}
<deleteCommunity>
<communityID>xs:long</communityID>
</deleteCommunity>Delete a property with the given name from the community with the given id.
DELETE http://domain:port/clearspace_context/rpc/rest/communityService/properties/{communityID}/{name}
<deleteProperty>
<name>xs:string</name>
<communityID>xs:long</communityID>
</deleteProperty>Returns a by its id
GET http://domain:port/clearspace_context/rpc/rest/communityService/communities/{communityID}
<getCommunity>
<communityID>xs:long</communityID>
</getCommunity><getCommunityResponse>
<return>
<!-- Contents of Community -->
<return>
</getCommunityResponse>Returns document IDs for all the published documents in the community. Does not traverse the subcommunities.
GET http://domain:port/clearspace_context/rpc/rest/communityService/documentIDs/{communityID}
<getDocumentIDs>
<communityID>xs:long</communityID>
</getDocumentIDs><getDocumentIDsResponse>
<!-- List of ... -->
<return>Long</return>
</getDocumentIDsResponse>Returns all tbe extended properties for the community with the specified id.
GET http://domain:port/clearspace_context/rpc/rest/communityService/properties/{communityID}
<getProperties>
<communityID>xs:long</communityID>
</getProperties><getPropertiesResponse>
<!-- List of ... -->
<return>
<!-- Contents of Property -->
<return>
</getPropertiesResponse>Returns a specific extended property for the community with the specified property name and community ID.
GET http://domain:port/clearspace_context/rpc/rest/communityService/properties/{communityID}/{name}
<getProperty>
<name>xs:string</name>
<communityID>xs:long</communityID>
</getProperty><getPropertyResponse>
<return>xs:string</return>
</getPropertyResponse>Returns all of the communities under the specified community recursively.
GET http://domain:port/clearspace_context/rpc/rest/communityService/recursiveCommunities/{communityID}
<getRecursiveCommunities>
<communityID>xs:long</communityID>
</getRecursiveCommunities><getRecursiveCommunitiesResponse>
<!-- List of ... -->
<return>
<!-- Contents of Community -->
<return>
</getRecursiveCommunitiesResponse>GET http://domain:port/clearspace_context/rpc/rest/communityService/communities
<getRecursiveCommunitiesResponse>
<!-- List of ... -->
<return>
<!-- Contents of Community -->
<return>
</getRecursiveCommunitiesResponse>Returns a count of call the communities under a community
GET http://domain:port/clearspace_context/rpc/rest/communityService/recursiveCount/{communityID}
<getRecursiveCommunityCount>
<communityID>xs:long</communityID>
</getRecursiveCommunityCount><getRecursiveCommunityCountResponse>
<return>xs:int</return>
</getRecursiveCommunityCountResponse>Returns all the sub communities for the parent community.
GET http://domain:port/clearspace_context/rpc/rest/communityService/subCommunities/{communityID}
<getSubCommunities>
<communityID>xs:long</communityID>
</getSubCommunities><getSubCommunitiesResponse>
<!-- List of ... -->
<return>
<!-- Contents of Community -->
<return>
</getSubCommunitiesResponse>Set an extended propery for the community with the given community id.
POST http://domain:port/clearspace_context/rpc/rest/communityService/properties
<setProperty>
<name>xs:string</name>
<value>xs:string</value>
<communityID>xs:long</communityID>
</setProperty>Update a Community
PUT http://domain:port/clearspace_context/rpc/rest/communityService/communities
<updateCommunity>
<community>
<!-- Contents of Community -->
<community>
</updateCommunity>This service provides methods to load and manipulate documents, comments.
| Method | Description |
|---|---|
| addAttachmentToDocumentByDocumentID | Add a new attachment to the document with the specified id. |
| addAttachmentToDocumentByInternalDocID | Add a new attachment to the document with the specified internal id. |
| addAuthor | Adds the user with the supplied id as an author of this document of the specified document. |
| addDocumentApproverOnCommunity | Add the user as a document approver for this entire community. |
| addDocumentApproverOnDocument | Adds a user as a document approver for this document. |
| addImageToDocumentByDocumentID | Add a new image to the document with the specified id. |
| addImageToDocumentByInternalDocID | Add a new image to the document with the specified internal id. |
| createBinaryDocument | Creates a new binary document. |
| createDocument | Create a new document. |
| deleteDocument | Deletes a document. |
| deleteDocumentProperty | Delete a property with the given name from the document with the given ID. |
| getApprovalStatusForDocument | Returns a collection of objects. |
| getAttachmentCountByDocumentID | Returns the number of attachments on the document with the specified id. |
| getAttachmentCountByInternalDocID | Returns the number of attachments on the document with the specified internal id. |
| getAttachmentsByDocumentID | Acquire the attachments for a document by the document id. |
| getAttachmentsByInternalDocID | Acquire the attachments for a document by the internal document id. |
| getAuthors | Returns the userss who are allowed to edit the document. |
| getBinaryDocumentContent | Returns the content of the binary document. |
| getDocumentApproversOnCommunity | Returns all of the users that must approve new documents before they reach a PUBLISHED state when it is in a PENDING_APPROVAL state. |
| getDocumentApproversOnDocument | Returns all of the users that must approve new documents before they reach a PUBLISHED state when it is in a PENDING_APPROVAL state. |
| getDocumentByDocumentID | Returns a document from the community based on its document ID. |
| getDocumentByDocumentIDAndVersion | Returns the revision of the document with the specified docID and version number. |
| getDocumentByInternalDocID | Returns the document with the specified docID. |
| getDocumentByInternalDocIDAndVersion | Returns the revision of document with the specified docID and version number. |
| getDocumentProperties | Returns all tbe extended properties for the message with the specified ID. |
| getDocumentProperty | Returns a specific extended property for the document with the specified property name and document ID. |
| getDocumentsByCommunity | Returns all of the documents for the specified community. |
| getImageCountByDocumentID | Returns the number of images on the document with the specified id. |
| getImageCountByInternalDocID | Returns the number of images on the document with the specified internal id. |
| getPopularDocuments | Returns the top x documents across all communities according to ratings, document views and time passed since the document was created. |
| getPopularDocumentsByLanguage | Returns the top x documents across all communities according to ratings, document views and time passed since the document was created in the languages specified. |
| getUserApprovalDocuments | Returns a list of documents that a user needs to approve. |
| isCommentsEnabled | Returns true if the comments feature is turned on. |
| isTrackbacksEnabled | Returns true if the trackbacks feature is turned on. |
| moveDocument | Moves a document from it's current community to another. |
| publishDocument | Publish a new document. |
| removeAuthor | Removes the user with the supplied id as an author of this document. |
| setCommentsEnabled | Enables or disables the comments feature system wide. |
| setDocumentProperty | Set an extended for the property with the given document id. |
| setTrackbacksEnabled | Enables or disables the trackbacks feature system wide. |
| updateDocument |
Add a new attachment to the document with the specified id.
POST http://domain:port/clearspace_context/rpc/rest/documentService/attachments
<addAttachmentToDocumentByDocumentID>
<documentID>xs:string</documentID>
<name>xs:string</name>
<contentType>xs:string</contentType>
<!-- List of ... -->
<source>xs:base64Binary</source>
</addAttachmentToDocumentByDocumentID>Add a new attachment to the document with the specified internal id.
POST http://domain:port/clearspace_context/rpc/rest/documentService/attachmentsByInternalDocID
<addAttachmentToDocumentByInternalDocID>
<internalDocID>xs:long</internalDocID>
<name>xs:string</name>
<contentType>xs:string</contentType>
<!-- List of ... -->
<source>xs:base64Binary</source>
</addAttachmentToDocumentByInternalDocID>Adds the user with the supplied id as an author of this document of the specified document. Once any users have been added, the document is no longer available for editing by just anyone with the appropriate permissions.
POST http://domain:port/clearspace_context/rpc/rest/documentService/authors
<addAuthor>
<documentID>xs:long</documentID>
<userID>xs:long</userID>
</addAuthor>Add the user as a document approver for this entire community.
This user will be required to approve all document edits for all documents in this community that have document approval enabled.POST http://domain:port/clearspace_context/rpc/rest/documentService/approval/communityUsers
<addDocumentApproverOnCommunity>
<communityID>xs:long</communityID>
<userID>xs:long</userID>
</addDocumentApproverOnCommunity>Adds a user as a document approver for this document. If document approval is enabled for this document this user will have to approve this document to before it will be changed to a PUBLISHED status when it is edited.
POST http://domain:port/clearspace_context/rpc/rest/documentService/approval/users
<addDocumentApproverOnDocument>
<documentID>xs:long</documentID>
<userID>xs:long</userID>
</addDocumentApproverOnDocument>Add a new image to the document with the specified id.
POST http://domain:port/clearspace_context/rpc/rest/documentService/images
<addImageToDocumentByDocumentID>
<documentID>xs:string</documentID>
<name>xs:string</name>
<contentType>xs:string</contentType>
<!-- List of ... -->
<source>xs:base64Binary</source>
</addImageToDocumentByDocumentID>Add a new image to the document with the specified internal id.
POST http://domain:port/clearspace_context/rpc/rest/documentService/imagesByInternalDocID
<addImageToDocumentByInternalDocID>
<internalDocID>xs:long</internalDocID>
<name>xs:string</name>
<conentType>xs:string</conentType>
<!-- List of ... -->
<source>xs:base64Binary</source>
</addImageToDocumentByInternalDocID>Creates a new binary document.
If a documentID is not provided (i.e. it's null) one will be automatically created. By default the autogenerated ID will be 'tempDOC-#' however the 'tempDOC-#' prefix can be controlled by changing the 'jive.temporaryDocPrefix' jive property.POST http://domain:port/clearspace_context/rpc/rest/documentService/binaryDocument
<createBinaryDocument>
<communityID>xs:long</communityID>
<userID>xs:long</userID>
<>xs:long</>
<>xs:string</>
<>xs:string</>
<>xs:string</>
<>xs:string</>
<!-- List of ... -->
<>xs:base64Binary</>
</createBinaryDocument><createBinaryDocumentResponse>
<return>
<!-- Contents of Document -->
<return>
</createBinaryDocumentResponse>Create a new document.
If a documentID is not provided (i.e. it's null, or empty string) one will be automatically created. By default the autogenerated ID will be 'tempDOC-#' however the 'tempDOC-#' prefix can be controlled by changing the 'jive.temporaryDocPrefix' jive property.POST http://domain:port/clearspace_context/rpc/rest/documentService/documents
<createDocument>
<communityID>xs:long</communityID>
<userID>xs:long</userID>
<documentTypeID>xs:long</documentTypeID>
<documentID>xs:string</documentID>
<title>xs:string</title>
<body>xs:string</body>
</createDocument><createDocumentResponse>
<return>
<!-- Contents of Document -->
<return>
</createDocumentResponse>Deletes a document. Once a document is deleted, the document object should no longer be used. The search index and other resources that referenced the document and its comments will also be updated appropriately.
Note that since documents are versioned you may want to just delete or archive the specific version of the document instead of deleting the document which will delete all versions of the document. If this is the case seeDELETE http://domain:port/clearspace_context/rpc/rest/documentService/{documentID}
<deleteDocument>
<documentID>xs:long</documentID>
</deleteDocument>Delete a property with the given name from the document with the given ID.
DELETE http://domain:port/clearspace_context/rpc/rest/documentService/properties/{documentID}/{name}
<deleteDocumentProperty>
<name>xs:string</name>
<documentID>xs:long</documentID>
</deleteDocumentProperty>Returns a collection of objects. The objects contain show which user has approved the Document and which hasn't.
GET http://domain:port/clearspace_context/rpc/rest/documentService/approval/status/{documentID}
<getApprovalStatusForDocument>
<documentID>xs:long</documentID>
</getApprovalStatusForDocument><getApprovalStatusForDocumentResponse>
<!-- List of ... -->
<return>
<!-- Contents of ApprovalStatus -->
<return>
</getApprovalStatusForDocumentResponse>Returns the number of attachments on the document with the specified id.
GET http://domain:port/clearspace_context/rpc/rest/documentService/attachmentCount/{documentID}
<getAttachmentCountByDocumentID>
<documentID>xs:string</documentID>
</getAttachmentCountByDocumentID><getAttachmentCountByDocumentIDResponse>
<return>xs:int</return>
</getAttachmentCountByDocumentIDResponse>Returns the number of attachments on the document with the specified internal id.
GET http://domain:port/clearspace_context/rpc/rest/documentService/attachmentCountByInternalDocID/{internalDocID}
<getAttachmentCountByInternalDocID>
<internalDocID>xs:long</internalDocID>
</getAttachmentCountByInternalDocID><getAttachmentCountByInternalDocIDResponse>
<return>xs:int</return>
</getAttachmentCountByInternalDocIDResponse>Acquire the attachments for a document by the document id.
GET http://domain:port/clearspace_context/rpc/rest/documentService/attachments/{documentID}
<getAttachmentsByDocumentID>
<documentID>xs:string</documentID>
</getAttachmentsByDocumentID><getAttachmentsByDocumentIDResponse>
<!-- List of ... -->
<return>
<!-- Contents of Attachment -->
<return>
</getAttachmentsByDocumentIDResponse>Acquire the attachments for a document by the internal document id.
GET http://domain:port/clearspace_context/rpc/rest/documentService/attachementsByInternalDocID/{internalDocID}
<getAttachmentsByInternalDocID>
<internalDocID>xs:long</internalDocID>
</getAttachmentsByInternalDocID><getAttachmentsByInternalDocIDResponse>
<!-- List of ... -->
<return>
<!-- Contents of Attachment -->
<return>
</getAttachmentsByInternalDocIDResponse>Returns the userss who are allowed to edit the document. If no users are specifically allowed to edit, then anyone with appropriate permissions can do so.
GET http://domain:port/clearspace_context/rpc/rest/documentService/authors/{documentID}
<getAuthors>
<documentID>xs:long</documentID>
</getAuthors><getAuthorsResponse>
<!-- List of ... -->
<return>
<!-- Contents of User -->
<return>
</getAuthorsResponse>Returns the content of the binary document.
GET http://domain:port/clearspace_context/rpc/rest/documentService/binaryDocument/{documentID}
<getBinaryDocumentContentResponse>
<return>
<!-- Contents of BinaryBody -->
<return>
</getBinaryDocumentContentResponse>Returns all of the users that must approve new documents before they reach a PUBLISHED state when it is in a PENDING_APPROVAL state.
GET http://domain:port/clearspace_context/rpc/rest/documentService/approval/communityUsers/{communityID}
<getDocumentApproversOnCommunity>
<communityID>xs:long</communityID>
</getDocumentApproversOnCommunity><getDocumentApproversOnCommunityResponse>
<!-- List of ... -->
<return>
<!-- Contents of User -->
<return>
</getDocumentApproversOnCommunityResponse>Returns all of the users that must approve new documents before they reach a PUBLISHED state when it is in a PENDING_APPROVAL state.
GET http://domain:port/clearspace_context/rpc/rest/documentService/approval/users/{documentID}
<getDocumentApproversOnDocument>
<documentID>xs:long</documentID>
</getDocumentApproversOnDocument><getDocumentApproversOnDocumentResponse>
<!-- List of ... -->
<return>
<!-- Contents of User -->
<return>
</getDocumentApproversOnDocumentResponse>Returns a document from the community based on its document ID.
GET http://domain:port/clearspace_context/rpc/rest/documentService/documents/{documentID}
<getDocumentByDocumentID>
<documentID>xs:string</documentID>
</getDocumentByDocumentID><getDocumentByDocumentIDResponse>
<return>
<!-- Contents of Document -->
<return>
</getDocumentByDocumentIDResponse>Returns the revision of the document with the specified docID and version number.
GET http://domain:port/clearspace_context/rpc/rest/documentService/documents/{documentID}/{version}
<getDocumentByDocumentIDAndVersion>
<documentID>xs:string</documentID>
<version>xs:int</version>
</getDocumentByDocumentIDAndVersion><getDocumentByDocumentIDAndVersionResponse>
<return>
<!-- Contents of Document -->
<return>
</getDocumentByDocumentIDAndVersionResponse>Returns the document with the specified docID. It's a good idea to only display the string version of ID's to users so most often this method will be used only internally to the API.
GET http://domain:port/clearspace_context/rpc/rest/documentService/documentsByInternalDocID/{internalDocID}
<getDocumentByInternalDocID>
<internalDocID>xs:long</internalDocID>
</getDocumentByInternalDocID><getDocumentByInternalDocIDResponse>
<return>
<!-- Contents of Document -->
<return>
</getDocumentByInternalDocIDResponse>Returns the revision of document with the specified docID and version number. It's a good idea to only display the string version of ID's to users so most often this method will be used only internally to the API.
GET http://domain:port/clearspace_context/rpc/rest/documentService/documentsByInternalDocID/{internalDocID}/{version}
<getDocumentByInternalDocIDAndVersion>
<internalDocID>xs:long</internalDocID>
<version>xs:int</version>
</getDocumentByInternalDocIDAndVersion><getDocumentByInternalDocIDAndVersionResponse>
<return>
<!-- Contents of Document -->
<return>
</getDocumentByInternalDocIDAndVersionResponse>Returns all tbe extended properties for the message with the specified ID.
GET http://domain:port/clearspace_context/rpc/rest/documentService/properties/{documentID}
<getDocumentProperties>
<documentID>xs:long</documentID>
</getDocumentProperties><getDocumentPropertiesResponse>
<!-- List of ... -->
<return>
<!-- Contents of Property -->
<return>
</getDocumentPropertiesResponse>Returns a specific extended property for the document with the specified property name and document ID.
GET http://domain:port/clearspace_context/rpc/rest/documentService/properties/{documentID}/{name}
<getDocumentProperty>
<name>xs:string</name>
<documentID>xs:long</documentID>
</getDocumentProperty><getDocumentPropertyResponse>
<return>xs:string</return>
</getDocumentPropertyResponse>Returns all of the documents for the specified community.
GET http://domain:port/clearspace_context/rpc/rest/documentService/documentsByCommunity/{communityID}
<getDocumentsByCommunity>
<communityID>xs:long</communityID>
</getDocumentsByCommunity><getDocumentsByCommunityResponse>
<!-- List of ... -->
<return>
<!-- Contents of Document -->
<return>
</getDocumentsByCommunityResponse>Returns the number of images on the document with the specified id.
GET http://domain:port/clearspace_context/rpc/rest/documentService/imageCount/{documentID}
<getImageCountByDocumentID>
<documentID>xs:string</documentID>
</getImageCountByDocumentID><getImageCountByDocumentIDResponse>
<return>xs:int</return>
</getImageCountByDocumentIDResponse>Returns the number of images on the document with the specified internal id.
GET http://domain:port/clearspace_context/rpc/rest/documentService/imageCountByInternalDocID/{internalDocID}
<getImageCountByInternalDocID>
<internalDocID>xs:long</internalDocID>
</getImageCountByInternalDocID><getImageCountByInternalDocIDResponse>
<return>xs:int</return>
</getImageCountByInternalDocIDResponse>Returns the top x documents across all communities according to ratings, document views and time passed since the document was created. The algorithm is as follows:
Top x of ((document views) * (document mean rating+2)) * 1/(1 + number of days since creation date) The number of documents to return is determined by the property "popularDocuments.number", defaulting to 5 if the property is not specified. Popular documents are only calculated once every 15 minutes.GET http://domain:port/clearspace_context/rpc/rest/documentService/popularDocuments
<getPopularDocumentsResponse>
<!-- List of ... -->
<return>
<!-- Contents of Document -->
<return>
</getPopularDocumentsResponse>Returns the top x documents across all communities according to ratings, document views and time passed since the document was created in the languages specified. The algorithm is as follows:
Top x of ((document views) * (document mean rating+2)) * 1/(1 + number of days since creation date) The number of documents to return is determined by the property "popularDocuments.number", defaulting to 5 if the property is not specified. Popular documents are only calculated once every 15 minutes.GET http://domain:port/clearspace_context/rpc/rest/documentService/documentsByLanguage/{languages}
<getPopularDocumentsByLanguage>
<!-- List of ... -->
<languages>xs:string</languages>
</getPopularDocumentsByLanguage><getPopularDocumentsByLanguageResponse>
<!-- List of ... -->
<return>
<!-- Contents of Document -->
<return>
</getPopularDocumentsByLanguageResponse>Returns a list of documents that a user needs to approve.
GET http://domain:port/clearspace_context/rpc/rest/documentService/approval/users/{userID}
<getUserApprovalDocuments>
<userID>xs:long</userID>
</getUserApprovalDocuments><getUserApprovalDocumentsResponse>
<!-- List of ... -->
<return>
<!-- Contents of Document -->
<return>
</getUserApprovalDocumentsResponse>Returns true if the comments feature is turned on. When comments are disabled on the system, all individual document comment settings are disabled as well.
GET http://domain:port/clearspace_context/rpc/rest/documentService/commentsEnabled
<isCommentsEnabledResponse>
<return>xs:boolean</return>
</isCommentsEnabledResponse>Returns true if the trackbacks feature is turned on. When trackbacks are disabled on the system, all individual document trackback settings are disabled as well.
GET http://domain:port/clearspace_context/rpc/rest/documentService/trackbacksEnabled
<isTrackbacksEnabledResponse>
<return>xs:boolean</return>
</isTrackbacksEnabledResponse>Moves a document from it's current community to another.
POST http://domain:port/clearspace_context/rpc/rest/documentService/moveDocument
<moveDocument>
<documentID>xs:long</documentID>
<communityID>xs:long</communityID>
</moveDocument>Publish a new document. Unlike create, this document will go straight to the published state.
If a documentID is not provided (i.e. it's null or empty string) one will be automatically created. By default the autogenerated ID will be 'tempDOC-#' however the 'tempDOC-#' prefix can be controlled by changing the 'jive.temporaryDocPrefix' jive property.PUT http://domain:port/clearspace_context/rpc/rest/documentService/publish
<publishDocument>
<communityID>xs:long</communityID>
<userID>xs:long</userID>
<documentTypeID>xs:long</documentTypeID>
<documentID>xs:string</documentID>
<title>xs:string</title>
<body>xs:string</body>
</publishDocument><publishDocumentResponse>
<return>
<!-- Contents of Document -->
<return>
</publishDocumentResponse>Removes the user with the supplied id as an author of this document.
DELETE http://domain:port/clearspace_context/rpc/rest/documentService/authors/{documentID}/{userID}
<removeAuthor>
<documentID>xs:long</documentID>
<userID>xs:long</userID>
</removeAuthor>Enables or disables the comments feature system wide.
POST http://domain:port/clearspace_context/rpc/rest/documentService/commentsEnabled
<setCommentsEnabled>
<enableComments>xs:boolean</enableComments>
</setCommentsEnabled>Set an extended for the property with the given document id.
POST http://domain:port/clearspace_context/rpc/rest/documentService/properties
<setDocumentProperty>
<name>xs:string</name>
<value>xs:string</value>
<documentID>xs:long</documentID>
</setDocumentProperty>Enables or disables the trackbacks feature system wide.
POST http://domain:port/clearspace_context/rpc/rest/documentService/trackbacksEnabled
<setTrackbacksEnabled>
<enableTrackbacks>xs:boolean</enableTrackbacks>
</setTrackbacksEnabled>PUT http://domain:port/clearspace_context/rpc/rest/documentService/documents
<updateDocument>
<document>
<!-- Contents of Document -->
<document>
</updateDocument>Provides the ability to manipulate forum messages. This service will allow you to delete, move and acquire forum messages.
| Method | Description |
|---|---|
| addAttachmentToMessage | Adds an attachment to the message with the specified ID. |
| addImageToMessage | Adds an image to the message with the specified ID. |
| createMessage | Creates a new message on the given thread. |
| createReplyMessage | Creates a new message that is a direct response to a given message. |
| createThread | Creates a new thread. |
| deleteMessage | Delete the message with the following id. |
| deleteMessageAndChildren | Delete the message with the specified id. |
| deleteMessageProperty | Delete a property with the given name from the message with the given ID. |
| deleteThread | Deletes a thread with the specified ID. |
| deleteThreadProperty | Delete a property with the given name from the thread with the given ID. |
| getAttachmentsByMessageID | Returns an array of attachments that are attached to the specified message. |
| getChild | Returns the child of parent at index index in the parent's child array. |
| getChildCount | Returns the number of children of parent. |
| getChildren | Returns an array of all the child messages of the parent. |
| getForumMessage | Returns a by its ID. |
| getForumThread | Returns a by its ID. |
| getImagesByMessageID | Returns an array of images that are attached to the specified message. |
| getIndexOfChild | Returns the index of child in parent. |
| getMessageCountByCommunityID | Returns the number of messages that are in the community. |
| getMessageCountByCommunityIDAndFilter | Returns the number of messages that are in the community with the specified id after the specified filter has been applied. |
| getMessageCountByThreadID | Returns the number of messages that are in the thread. |
| getMessageCountByThreadIDAndFilter | Returns the number of messages that are in the thread with the specified id after the specified filter has been applied. |
| getMessageCountsByCommunityIDAndFilter | Returns the number of messages that are in the community with the specified id after the specified filter has been applied. |
| getMessageDepth | Returns the depth of a message in the message tree hierarchy. |
| getMessageIDsByCommunityID | Returns all of the message IDs for all of the message that are in the community. |
| getMessageIDsByCommunityIDAndFilter | Returns all of the message IDs for all of the message that are in the community with the specified ID, filtered by the the specified result filter. |
| getMessageIDsByThreadID | Returns the IDs of the messages that are in the thread. |
| getMessageIDsByThreadIDAndFilter | Returns all of the message IDs for all of the message that are in the thread after the specified filter has been applied. |
| getMessageProperties | Returns all tbe extended properties for the message with the specified ID. |
| getMessageProperty | Returns a specific extended property for the message with the specified property name and message ID. |
| getMessagesByCommunityID | Returns all of the messages that are in the community. |
| getMessagesByCommunityIDAndFilter | Returns all of the messages that are in the community with the specified ID, filtered by the the specified result filter. |
| getMessagesByThreadID | Returns the messages that are in the thread. |
| getMessagesByThreadIDAndFilter | Returns all of the messages that are in the thread after the specified filter has been applied. |
| getParent | Returns the parent of the <code>child</code> ForumMessage. |
| getPopularThreads | Returns an array of thread IDs for all the popular threads in the system. |
| getPopularThreadsByCommunityID | Return an array of popular threads by community. |
| getRecursiveChildCount | Returns the total number of recursive children of a parent. |
| getRecursiveChildren | Returns an array for all child messages (and sub-children, etc) of the parent. |
| getRecursiveMessages | Returns an array for all messages in the thread in depth-first order. |
| getRootMessage | Returns the root of a thread. |
| getThreadCountByCommunityID | Returns the number of threads in the specified community. |
| getThreadCountByCommunityIDAndFilter | Returns the number of threads in the specified community after being filtered by the specified filter. |
| getThreadProperties | Returns all tbe extended properties for the thread with the specified ID. |
| getThreadProperty | Returns a specific extended property for the thread with the specified property name and thread ID. |
| getThreadsByCommunityID | Returns all of the IDs for threads a community. |
| getThreadsByCommunityIDAndFilter | Returns all of the IDs for threads a community has filtered by the specified result filter. |
| getUnfilteredMessageProperties | Returns the properties without applying filters to them first. |
| hasParent | Returns true if the <code>child</code> message has a parent message. |
| isLeaf | Returns true if node is a leaf. |
| moveThread | Moves the thread with the specified ID to the community with the specified ID. |
| setMessageProperty | Set an extended for the property with the given message id. |
| setThreadProperty | Set an extended for the property for the thread with the given ID. |
| updateForumMessage | Used to update the subject and body of a |
Adds an attachment to the message with the specified ID.
POST http://domain:port/clearspace_context/rpc/rest/forumService/attachments
<addAttachmentToMessage>
<messageID>xs:long</messageID>
<name>xs:string</name>
<contentType>xs:string</contentType>
<!-- List of ... -->
<source>xs:base64Binary</source>
</addAttachmentToMessage>Adds an image to the message with the specified ID.
POST http://domain:port/clearspace_context/rpc/rest/forumService/images
<addImageToMessage>
<messsageID>xs:long</messsageID>
<name>xs:string</name>
<contentType>xs:string</contentType>
<!-- List of ... -->
<source>xs:base64Binary</source>
</addImageToMessage>Creates a new message on the given thread.
If userID is a value less than one then the message will be created for an anonymous user.POST http://domain:port/clearspace_context/rpc/rest/forumService/messages
<createMessageResponse>
<return>
<!-- Contents of ForumMessage -->
<return>
</createMessageResponse>Creates a new message that is a direct response to a given message.
If userID is a value less than one then the message will be created for an anonymous user.POST http://domain:port/clearspace_context/rpc/rest/forumService/replyMessage
<createReplyMessageResponse>
<return>
<!-- Contents of ForumMessage -->
<return>
</createReplyMessageResponse>Creates a new thread.
POST http://domain:port/clearspace_context/rpc/rest/forumService/threads
<createThreadResponse>
<return>
<!-- Contents of ForumThread -->
<return>
</createThreadResponse>Delete the message with the following id.
DELETE http://domain:port/clearspace_context/rpc/rest/forumService/messages/{messageID}
<deleteMessage>
<messageID>xs:long</messageID>
</deleteMessage>Delete the message with the specified id. If the deleteChildren parameters is set to true all children of this message will be deleted.
DELETE http://domain:port/clearspace_context/rpc/rest/forumService/messages/{messageID}/{deleteChildren}
<deleteMessageAndChildren>
<messageID>xs:long</messageID>
<deleteChildren>xs:boolean</deleteChildren>
</deleteMessageAndChildren>Delete a property with the given name from the message with the given ID.
DELETE http://domain:port/clearspace_context/rpc/rest/forumService/properties
<deleteMessageProperty>
<name>xs:string</name>
<messageID>xs:long</messageID>
</deleteMessageProperty>Deletes a thread with the specified ID.
DELETE http://domain:port/clearspace_context/rpc/rest/forumService/threads/{threadID}
<deleteThread>
<threadID>xs:long</threadID>
</deleteThread>Delete a property with the given name from the thread with the given ID.
DELETE http://domain:port/clearspace_context/rpc/rest/forumService/threadProperties/{threadID}/{name}
<deleteThreadProperty>
<name>xs:string</name>
<threadID>xs:long</threadID>
</deleteThreadProperty>Returns an array of attachments that are attached to the specified message.
GET http://domain:port/clearspace_context/rpc/rest/forumService/attachments/{messageID}
<getAttachmentsByMessageID>
<messageID>xs:long</messageID>
</getAttachmentsByMessageID><getAttachmentsByMessageIDResponse>
<!-- List of ... -->
<return>
<!-- Contents of Attachment -->
<return>
</getAttachmentsByMessageIDResponse>Returns the child of parent at index index in the parent's child array. The index must be a valid one, that is:
index >= 0, and index < getChildCount(parent). If the index is not valid, or if the
child could not be loaded for any other reason, a ForumMessageNotFoundException will be thrown.
GET http://domain:port/clearspace_context/rpc/rest/forumService/children/{messageID}/{index}
<getChild>
<messageID>xs:long</messageID>
<index>xs:int</index>
</getChild><getChildResponse>
<return>
<!-- Contents of ForumMessage -->
<return>
</getChildResponse>Returns the number of children of parent. Returns 0 if the node is a leaf or if it has no children.
GET http://domain:port/clearspace_context/rpc/rest/forumService/childCount/{messageID}
<getChildCount>
<messageID>xs:long</messageID>
</getChildCount><getChildCountResponse>
<return>xs:int</return>
</getChildCountResponse>Returns an array of all the child messages of the parent. This method only considers direct descendants of the parent message and not sub-children. To get an array for the full hierarchy of children for a parent message, use the method.
GET http://domain:port/clearspace_context/rpc/rest/forumService/children/{mesageID}
<getChildren>
<messageID>xs:long</messageID>
</getChildren><getChildrenResponse>
<!-- List of ... -->
<return>
<!-- Contents of ForumMessage -->
<return>
</getChildrenResponse>Returns a by its ID.
GET http://domain:port/clearspace_context/rpc/rest/forumService/messages/{messageID}
<getForumMessage>
<messageID>xs:long</messageID>
</getForumMessage><getForumMessageResponse>
<return>
<!-- Contents of ForumMessage -->
<return>
</getForumMessageResponse>Returns a by its ID.
GET http://domain:port/clearspace_context/rpc/rest/forumService/threads/{threadID}
<getForumThread>
<threadID>xs:long</threadID>
</getForumThread><getForumThreadResponse>
<return>
<!-- Contents of ForumThread -->
<return>
</getForumThreadResponse>Returns an array of images that are attached to the specified message.
GET http://domain:port/clearspace_context/rpc/rest/forumService/images/{messageID}
<getImagesByMessageID>
<messageID>xs:long</messageID>
</getImagesByMessageID><getImagesByMessageIDResponse>
<!-- List of ... -->
<return>
<!-- Contents of Image -->
<return>
</getImagesByMessageIDResponse>Returns the index of child in parent. This method does not deal with the indexes of sub-children of parents. For example, take the following tree:
4
|-- 2
|-- |-- 1
|-- |-- 6
|-- |-- 8
|-- 5
In this example, getIndexOfChild(4, 2) would return 0, getIndexOfChild(4, 5) would return 1, and
getIndexOfChild(2, 8) would return 2. getIndexOfChild(4, 8) -- NOT VALID
GET http://domain:port/clearspace_context/rpc/rest/forumService/indexOfChild/{parentID}/{messageID}
<getIndexOfChild>
<parentID>xs:long</parentID>
<messageID>xs:long</messageID>
</getIndexOfChild><getIndexOfChildResponse>
<return>xs:int</return>
</getIndexOfChildResponse>Returns the number of messages that are in the community.
http://domain:port/clearspace_context/rpc/rest/forumService/messageCountByCommunityID/{communityID}
<getMessageCountByCommunityID>
<communityID>xs:long</communityID>
</getMessageCountByCommunityID><getMessageCountByCommunityIDResponse>
<return>xs:int</return>
</getMessageCountByCommunityIDResponse>Returns the number of messages that are in the community with the specified id after the specified filter has been applied.
POST http://domain:port/clearspace_context/rpc/rest/forumService/messageCountByCommunityID
<getMessageCountByCommunityIDAndFilter>
<communityID>xs:long</communityID>
<filter>
<!-- Contents of ResultFilter -->
<filter>
</getMessageCountByCommunityIDAndFilter><getMessageCountByCommunityIDAndFilterResponse>
<return>xs:int</return>
</getMessageCountByCommunityIDAndFilterResponse>Returns the number of messages that are in the thread.
GET http://domain:port/clearspace_context/rpc/rest/forumService/messageCountByThreadID/{threadID}
<getMessageCountByThreadID>
<threadID>xs:long</threadID>
</getMessageCountByThreadID><getMessageCountByThreadIDResponse>
<return>xs:int</return>
</getMessageCountByThreadIDResponse>Returns the number of messages that are in the thread with the specified id after the specified filter has been applied.
POST http://domain:port/clearspace_context/rpc/rest/forumService/messageCountByThreadID
<getMessageCountByThreadIDAndFilter>
<threadID>xs:long</threadID>
<filter>
<!-- Contents of ResultFilter -->
<filter>
</getMessageCountByThreadIDAndFilter><getMessageCountByThreadIDAndFilterResponse>
<return>xs:int</return>
</getMessageCountByThreadIDAndFilterResponse>Returns the number of messages that are in the community with the specified id after the specified filter has been applied.
POST http://domain:port/clearspace_context/rpc/rest/forumService/messageCountsByCommunityID
<getMessageCountsByCommunityIDAndFilterResponse>
<return>xs:int</return>
</getMessageCountsByCommunityIDAndFilterResponse>Returns the depth of a message in the message tree hierarchy. The root message is always at depth 0. For example, consider the following message tree:
1
|-- 3
|-- |-- 4
|-- |-- |-- 7
The depth of message 4 is 2, the depth of message 7 is 3, etc. This method is useful in combination with the
array to build a UI of hierarchical messages.
GET http://domain:port/clearspace_context/rpc/rest/forumService/messageDepth/{messageID}
<getMessageDepth>
<messageID>xs:long</messageID>
</getMessageDepth><getMessageDepthResponse>
<return>xs:int</return>
</getMessageDepthResponse>Returns all of the message IDs for all of the message that are in the community.
If the number of results exceeds than then message IDs up to will be returned.GET http://domain:port/clearspace_context/rpc/rest/forumService/messageIDsByCommunityID/{communityID}
<getMessageIDsByCommunityID>
<communityID>xs:long</communityID>
</getMessageIDsByCommunityID><getMessageIDsByCommunityIDResponse>
<!-- List of ... -->
<return>xs:long</return>
</getMessageIDsByCommunityIDResponse>Returns all of the message IDs for all of the message that are in the community with the specified ID, filtered by the the specified result filter.
POST http://domain:port/clearspace_context/rpc/rest/forumService/messageIdsByCommunityID/{communityID}
<getMessageIDsByCommunityIDAndFilter>
<communityID>xs:long</communityID>
<filter>
<!-- Contents of ResultFilter -->
<filter>
</getMessageIDsByCommunityIDAndFilter><getMessageIDsByCommunityIDAndFilterResponse>
<!-- List of ... -->
<return>xs:long</return>
</getMessageIDsByCommunityIDAndFilterResponse>Returns the IDs of the messages that are in the thread.
If the number of results exceeds than then message IDs up to will be returned.GET http://domain:port/clearspace_context/rpc/rest/forumService/messageIDsByThreadID/{threadID}
<getMessageIDsByThreadID>
<threadID>xs:long</threadID>
</getMessageIDsByThreadID><getMessageIDsByThreadIDResponse>
<!-- List of ... -->
<return>xs:long</return>
</getMessageIDsByThreadIDResponse>Returns all of the message IDs for all of the message that are in the thread after the specified filter has been applied.
POST http://domain:port/clearspace_context/rpc/rest/forumService/messageIDsByThreadID
<getMessageIDsByThreadIDAndFilter>
<threadID>xs:long</threadID>
<filter>
<!-- Contents of ResultFilter -->
<filter>
</getMessageIDsByThreadIDAndFilter><getMessageIDsByThreadIDAndFilterResponse>
<!-- List of ... -->
<return>xs:long</return>
</getMessageIDsByThreadIDAndFilterResponse>Returns all tbe extended properties for the message with the specified ID.
GET http://domain:port/clearspace_context/rpc/rest/forumService/properties/{messageID}
<getMessageProperties>
<messageID>xs:long</messageID>
</getMessageProperties><getMessagePropertiesResponse>
<!-- List of ... -->
<return>
<!-- Contents of Property -->
<return>
</getMessagePropertiesResponse>Returns a specific extended property for the message with the specified property name and message ID.
GET http://domain:port/clearspace_context/rpc/rest/forumService/properties/{messageID}/{name}
<getMessageProperty>
<name>xs:string</name>
<messageID>xs:long</messageID>
</getMessageProperty><getMessagePropertyResponse>
<return>xs:string</return>
</getMessagePropertyResponse>Returns all of the messages that are in the community.
If the number of results exceeds than then message IDs up to will be returned.GET http://domain:port/clearspace_context/rpc/rest/forumService/messagesByCommunityID/{communityID}
<getMessagesByCommunityID>
<communityID>xs:long</communityID>
</getMessagesByCommunityID><getMessagesByCommunityIDResponse>
<!-- List of ... -->
<return>
<!-- Contents of ForumMessage -->
<return>
</getMessagesByCommunityIDResponse>Returns all of the messages that are in the community with the specified ID, filtered by the the specified result filter.
POST http://domain:port/clearspace_context/rpc/rest/forumService/messagesByCommunityID
<getMessagesByCommunityIDAndFilter>
<communityID>xs:long</communityID>
<filter>
<!-- Contents of ResultFilter -->
<filter>
</getMessagesByCommunityIDAndFilter><getMessagesByCommunityIDAndFilterResponse>
<!-- List of ... -->
<return>
<!-- Contents of ForumMessage -->
<return>
</getMessagesByCommunityIDAndFilterResponse>Returns the messages that are in the thread.
If the number of results exceeds than then message IDs up to will be returned.GET http://domain:port/clearspace_context/rpc/rest/forumService/messagesByThreadID/{threadID}
<getMessagesByThreadID>
<threadID>xs:long</threadID>
</getMessagesByThreadID><getMessagesByThreadIDResponse>
<!-- List of ... -->
<return>
<!-- Contents of ForumMessage -->
<return>
</getMessagesByThreadIDResponse>Returns all of the messages that are in the thread after the specified filter has been applied.
POST http://domain:port/clearspace_context/rpc/rest/forumService/messagesByThreadID
<getMessagesByThreadIDAndFilter>
<threadID>xs:long</threadID>
<filter>
<!-- Contents of ResultFilter -->
<filter>
</getMessagesByThreadIDAndFilter><getMessagesByThreadIDAndFilterResponse>
<!-- List of ... -->
<return>
<!-- Contents of ForumMessage -->
<return>
</getMessagesByThreadIDAndFilterResponse>Returns the parent of the child ForumMessage.
GET http://domain:port/clearspace_context/rpc/rest/forumService/parentMessage/{messageID}
<getParent>
<messageID>xs:long</messageID>
</getParent><getParentResponse>
<return>
<!-- Contents of ForumMessage -->
<return>
</getParentResponse>Returns an array of thread IDs for all the popular threads in the system.
GET http://domain:port/clearspace_context/rpc/rest/forumService/popularThreads
<getPopularThreadsResponse>
<!-- List of ... -->
<return>
<!-- Contents of ForumThread -->
<return>
</getPopularThreadsResponse>Return an array of popular threads by community.
GET http://domain:port/clearspace_context/rpc/rest/forumService/popularThreadsByCommunityID/{communityID}
<getPopularThreadsByCommunityID>
<communityID>xs:long</communityID>
</getPopularThreadsByCommunityID><getPopularThreadsByCommunityIDResponse>
<!-- List of ... -->
<return>
<!-- Contents of ForumThread -->
<return>
</getPopularThreadsByCommunityIDResponse>Returns the total number of recursive children of a parent. Returns 0 if there are no children. This method is not intended to aid in navigation of a Thread but is included as an added utility.
GET http://domain:port/clearspace_context/rpc/rest/forumService/recursiveChildCount/{messageID}
<getRecursiveChildCount>
<messageID>xs:long</messageID>
</getRecursiveChildCount><getRecursiveChildCountResponse>
<return>xs:int</return>
</getRecursiveChildCountResponse>Returns an array for all child messages (and sub-children, etc) of the parent. Messages will be returned depth-first. For example, consider the following message tree:
1
|-- 3
|-- |-- 4
|-- |-- |-- 7
|-- |-- |-- |-- 10
|-- |-- 6
|-- |-- 8
|-- 5
Calling getRecursiveChildren(3) on the tree above would return the sequence 4, 7, 10, 6, 8. This method is a
powerful way to show all children of a message, especially in combination with the
method.
GET http://domain:port/clearspace_context/rpc/rest/forumService/recursiveChildren/{messageID}
<getRecursiveChildren>
<messageID>xs:long</messageID>
</getRecursiveChildren><getRecursiveChildrenResponse>
<!-- List of ... -->
<return>
<!-- Contents of ForumMessage -->
<return>
</getRecursiveChildrenResponse>Returns an array for all messages in the thread in depth-first order. For example, consider the following message tree:
1
|-- 3
|-- |-- 4
|-- |-- |-- 7
|-- |-- |-- |-- 10
|-- |-- 6
|-- |-- 8
|-- 5
Calling getRecursiveMessages() on the tree above would return the sequence 1, 3, 4, 7, 10, 6, 8, 5. This method
is a powerful way to show the full tree of messages, especially in combination with the method.
GET http://domain:port/clearspace_context/rpc/rest/forumService/recusiveMessages/{threadID}
<getRecursiveMessages>
<threadID>xs:long</threadID>
</getRecursiveMessages><getRecursiveMessagesResponse>
<!-- List of ... -->
<return>
<!-- Contents of ForumMessage -->
<return>
</getRecursiveMessagesResponse>Returns the root of a thread. Returns null only if thread has no nodes.
GET http://domain:port/clearspace_context/rpc/rest/forumService/rootMessage/{threadID}
<getRootMessage>
<threadID>xs:long</threadID>
</getRootMessage><getRootMessageResponse>
<return>
<!-- Contents of ForumMessage -->
<return>
</getRootMessageResponse>Returns the number of threads in the specified community.
GET http://domain:port/clearspace_context/rpc/rest/forumService/threadCountByCommunityID/{communityID}
<getThreadCountByCommunityID>
<communityID>xs:long</communityID>
</getThreadCountByCommunityID><getThreadCountByCommunityIDResponse>
<return>xs:int</return>
</getThreadCountByCommunityIDResponse>Returns the number of threads in the specified community after being filtered by the specified filter.
POST http://domain:port/clearspace_context/rpc/rest/forumService/threadCountByCommunityID
<getThreadCountByCommunityIDAndFilterResponse>
<return>xs:int</return>
</getThreadCountByCommunityIDAndFilterResponse>Returns all tbe extended properties for the thread with the specified ID.
GET http://domain:port/clearspace_context/rpc/rest/forumService/threadProperties/{threadID}
<getThreadProperties>
<threadID>xs:long</threadID>
</getThreadProperties><getThreadPropertiesResponse>
<!-- List of ... -->
<return>
<!-- Contents of Property -->
<return>
</getThreadPropertiesResponse>Returns a specific extended property for the thread with the specified property name and thread ID.
GET http://domain:port/clearspace_context/rpc/rest/forumService/threadProperties/{threadID}/{name}
<getThreadProperty>
<name>xs:string</name>
<threadID>xs:long</threadID>
</getThreadProperty><getThreadPropertyResponse>
<return>xs:string</return>
</getThreadPropertyResponse>Returns all of the IDs for threads a community. If the number of threads exceeds the threads up to will be returned.
GET http://domain:port/clearspace_context/rpc/rest/forumService/threadsByCommunityID/{communityID}
<getThreadsByCommunityID>
<communityID>xs:long</communityID>
</getThreadsByCommunityID><getThreadsByCommunityIDResponse>
<!-- List of ... -->
<return>
<!-- Contents of ForumThread -->
<return>
</getThreadsByCommunityIDResponse>Returns all of the IDs for threads a community has filtered by the specified result filter.
POST http://domain:port/clearspace_context/rpc/rest/forumService/threadsByCommunityID
<getThreadsByCommunityIDAndFilter>
<communityID>xs:long</communityID>
<filter>
<!-- Contents of ResultFilter -->
<filter>
</getThreadsByCommunityIDAndFilter><getThreadsByCommunityIDAndFilterResponse>
<!-- List of ... -->
<return>
<!-- Contents of ForumThread -->
<return>
</getThreadsByCommunityIDAndFilterResponse>Returns the properties without applying filters to them first.
GET http://domain:port/clearspace_context/rpc/rest/forumService/unfilteredProperties/{messageID}
<getUnfilteredMessageProperties>
<messageID>xs:long</messageID>
</getUnfilteredMessageProperties><getUnfilteredMessagePropertiesResponse>
<!-- List of ... -->
<return>
<!-- Contents of Property -->
<return>
</getUnfilteredMessagePropertiesResponse>Returns true if the child message has a parent message.
GET http://domain:port/clearspace_context/rpc/rest/forumService/hasParent/{messageID}
<hasParent>
<messageID>xs:long</messageID>
</hasParent><hasParentResponse>
<return>xs:boolean</return>
</hasParentResponse>Returns true if node is a leaf. A node is a leaf when it has no children messages.
GET http://domain:port/clearspace_context/rpc/rest/forumService/isLeaf/{messageID}
<isLeaf>
<messageID>xs:long</messageID>
</isLeaf><isLeafResponse>
<return>xs:boolean</return>
</isLeafResponse>Moves the thread with the specified ID to the community with the specified ID.
PUT http://domain:port/clearspace_context/rpc/rest/forumService/moveThread
<moveThread>
<threadID>xs:long</threadID>
<communityID>xs:long</communityID>
</moveThread>Set an extended for the property with the given message id.
POST http://domain:port/clearspace_context/rpc/rest/forumService/properties
<setMessageProperty>
<name>xs:string</name>
<value>xs:string</value>
<messageID>xs:long</messageID>
</setMessageProperty>Set an extended for the property for the thread with the given ID.
POST http://domain:port/clearspace_context/rpc/rest/forumService/threadProperties
<setThreadProperty>
<name>xs:string</name>
<value>xs:string</value>
<threadID>xs:long</threadID>
</setThreadProperty>Used to update the subject and body of a
PUT http://domain:port/clearspace_context/rpc/rest/forumService/messages
Provides a the ability for managing groups and group membership.
| Method | Description |
|---|---|
| addAdministratorToGroup | Make the user with the specified userID an administrator of the group with the specified groupID. |
| addMemberToGroup | Add the user with the specified userID to the group with the specified groupID. |
| createGroup | Creates a new group. |
| deleteGroup | Delete the group with the specified id. |
| deleteProperty | Deletes an extended property from the specfied group. |
| getAdministratorCount | Returns the count of how many administrators there are for the group with the specified ID. |
| getGroup | Returns a by its ID. |
| getGroupAdmins | Returns an array of all the user IDs that administer this group. |
| getGroupByName | Returns a by its name. |
| getGroupCount | Returns a count of all groups in the system. |
| getGroupMembers | Returns an array of all userIDs for all the members of a particular group. |
| getGroupNames | Returns an array of all the group names for all the groups in the system. |
| getGroupNamesBounded | Returns an array of the group names beginning at startIndex and until the number results equals numResults. |
| getGroups | Returns an array of all the group IDs for all the groups in the system. |
| getProperties | Returns an array of all the extended properties for a group. |
| getUserGroupNames | Returns an array of group names that an entity belongs to. |
| getUserGroups | Returns an array of all the group IDs that a user belongs too. |
| isReadOnly | Returns true if this GroupService is read-only. |
| removeAdministratorFromGroup | Remove the user with the specified ID as an administrator from the group with the specified ID. |
| removeMemberFromGroup | Remove the user with the specified id from the group with the specified id. |
| setProperty | Set a new extended property on the specified group. |
| updateGroup | Update the following group in the system. |
Make the user with the specified userID an administrator of the group with the specified groupID.
POST http://domain:port/clearspace_context/rpc/rest/groupService/groupAdmins
<addAdministratorToGroup>
<userID>xs:long</userID>
<groupID>xs:long</groupID>
</addAdministratorToGroup>Add the user with the specified userID to the group with the specified groupID.
POST http://domain:port/clearspace_context/rpc/rest/groupService/groupMembers
<addMemberToGroup>
<userID>xs:long</userID>
<groupID>xs:long</groupID>
</addMemberToGroup>Creates a new group.
POST http://domain:port/clearspace_context/rpc/rest/groupService/groups
<createGroup>
<name>xs:string</name>
<description>xs:string</description>
</createGroup><createGroupResponse>
<return>
<!-- Contents of Group -->
<return>
</createGroupResponse>Delete the group with the specified id.
DELETE http://domain:port/clearspace_context/rpc/rest/groupService/groups/{groupID}
<deleteGroup>
<groupID>xs:long</groupID>
</deleteGroup>Deletes an extended property from the specfied group.
DELETE http://domain:port/clearspace_context/rpc/rest/groupService/properties/{groupID}/{name}
<deleteProperty>
<name>xs:string</name>
<groupID>xs:long</groupID>
</deleteProperty>Returns the count of how many administrators there are for the group with the specified ID.
GET http://domain:port/clearspace_context/rpc/rest/groupService/administratorCount/{groupID}
<getAdministratorCount>
<groupID>xs:long</groupID>
</getAdministratorCount><getAdministratorCountResponse>
<return>xs:int</return>
</getAdministratorCountResponse>Returns a by its ID.
GET http://domain:port/clearspace_context/rpc/rest/groupService/groupsByID/{groupID}
<getGroup>
<groupID>xs:long</groupID>
</getGroup><getGroupResponse>
<return>
<!-- Contents of Group -->
<return>
</getGroupResponse>Returns an array of all the user IDs that administer this group.
GET http://domain:port/clearspace_context/rpc/rest/groupService/groupAdmins/{groupID}
<getGroupAdmins>
<groupID>xs:long</groupID>
</getGroupAdmins><getGroupAdminsResponse>
<!-- List of ... -->
<return>
<!-- Contents of User -->
<return>
</getGroupAdminsResponse>Returns a by its name. The name should be encoded using java.net.URLEncoder.encode(name, "UTF-8") or equivalent.
GET http://domain:port/clearspace_context/rpc/rest/groupService/groups/{name}
<getGroupByName>
<name>xs:string</name>
</getGroupByName><getGroupByNameResponse>
<return>
<!-- Contents of Group -->
<return>
</getGroupByNameResponse>Returns a count of all groups in the system.
GET http://domain:port/clearspace_context/rpc/rest/groupService/groupCount
<getGroupCountResponse>
<return>xs:int</return>
</getGroupCountResponse>Returns an array of all userIDs for all the members of a particular group.
GET http://domain:port/clearspace_context/rpc/rest/groupService/groupMembers/{groupID}
<getGroupMembers>
<groupID>xs:long</groupID>
</getGroupMembers><getGroupMembersResponse>
<!-- List of ... -->
<return>
<!-- Contents of User -->
<return>
</getGroupMembersResponse>Returns an array of all the group names for all the groups in the system.
GET http://domain:port/clearspace_context/rpc/rest/groupService/groupNames
<getGroupNamesResponse>
<!-- List of ... -->
<return>xs:string</return>
</getGroupNamesResponse>Returns an array of the group names beginning at startIndex and until the number results equals numResults.
GET http://domain:port/clearspace_context/rpc/rest/groupService/groupNamesBounded/{startIndex}/{numResults}
<getGroupNamesBounded>
<startIndex>xs:int</startIndex>
<numResults>xs:int</numResults>
</getGroupNamesBounded><getGroupNamesBoundedResponse>
<!-- List of ... -->
<return>xs:string</return>
</getGroupNamesBoundedResponse>Returns an array of all the group IDs for all the groups in the system.
GET http://domain:port/clearspace_context/rpc/rest/groupService/groups
<getGroupsResponse>
<!-- List of ... -->
<return>
<!-- Contents of Group -->
<return>
</getGroupsResponse>Returns an array of all the extended properties for a group.
GET http://domain:port/clearspace_context/rpc/rest/groupService/properties/{groupID}
<getProperties>
<groupID>xs:long</groupID>
</getProperties><getPropertiesResponse>
<!-- List of ... -->
<return>
<!-- Contents of Property -->
<return>
</getPropertiesResponse>Returns an array of group names that an entity belongs to.
GET http://domain:port/clearspace_context/rpc/rest/groupService/userGroupNames/{userID}
<getUserGroupNames>
<userID>xs:long</userID>
</getUserGroupNames><getUserGroupNamesResponse>
<!-- List of ... -->
<return>xs:string</return>
</getUserGroupNamesResponse>Returns an array of all the group IDs that a user belongs too.
GET http://domain:port/clearspace_context/rpc/rest/groupService/userGroups/{userID}
<getUserGroups>
<userID>xs:long</userID>
</getUserGroups><getUserGroupsResponse>
<!-- List of ... -->
<return>
<!-- Contents of Group -->
<return>
</getUserGroupsResponse>Returns true if this GroupService is read-only. When read-only, groups can not be created, deleted, or modified.
GET http://domain:port/clearspace_context/rpc/rest/groupService/isReadOnly
<isReadOnlyResponse>
<return>xs:boolean</return>
</isReadOnlyResponse>Remove the user with the specified ID as an administrator from the group with the specified ID.
DELETE http://domain:port/clearspace_context/rpc/rest/groupService/groupAdmins/{groupID}/{userID}
<removeAdministratorFromGroup>
<userID>xs:long</userID>
<groupID>xs:long</groupID>
</removeAdministratorFromGroup>Remove the user with the specified id from the group with the specified id.
DELETE http://domain:port/clearspace_context/rpc/rest/groupService/groupMembers/{groupID}/{userID}
<removeMemberFromGroup>
<userID>xs:long</userID>
<groupID>xs:long</groupID>
</removeMemberFromGroup>Set a new extended property on the specified group.
POST http://domain:port/clearspace_context/rpc/rest/groupService/properties
<setProperty>
<name>xs:string</name>
<value>xs:string</value>
<groupID>xs:long</groupID>
</setProperty>Update the following group in the system.
PUT http://domain:port/clearspace_context/rpc/rest/groupService/groups
Provides a the ability for managing real time comunication.
| Method | Description |
|---|---|
| configureComponent | Tries to connect to XMPP server. |
| testCredentials | Test if user's credentials are OK and have enough permissions. |
| updateSharedSecret | Updates the shared secret and resets the connection using it. |
Tries to connect to XMPP server. Since the server could have several host names this method will try to connect using each one. When it founds a host/port combination that works it stops trying and saves that configuration.
POST http://domain:port/clearspace_context/rpc/rest/iMService/configureComponent
<configureComponent>
<domain>xs:string</domain>
<!-- List of ... -->
<hosts>xs:string</hosts>
<port>xs:int</port>
</configureComponent>Test if user's credentials are OK and have enough permissions. Throws an UnauthorizedException if user is not loged in or it doesn't have enough permissions.
GET http://domain:port/clearspace_context/rpc/rest/iMService/testCredentials
Updates the shared secret and resets the connection using it.
POST http://domain:port/clearspace_context/rpc/rest/iMService/updateSharedSecret
<updateSharedSecret>
<newSecret>xs:string</newSecret>
</updateSharedSecret>Provides a webservice for managing permissions on users and groups.
| Method | Description |
|---|---|
| addCommunityPermissionToGroup | Add the specified permission on the specified community to the group with the specified id. |
| addCommunityPermissionToUser | Add the specified permission on the specified community to the user with the specified id. |
| addPermissionToGroup | Add the specified permission to the group with the specified id. |
| addPermissionToUser | Add the specified permission to the user with the specified id. |
| anonymousUserHasPermission | Returns true if the anonymous users have a particular permission globally. |
| anonymousUserHasPermissionOnCommunity | Returns true if the anonymous users have a particular permission on the community with the specified ID. |
| authenticate | Returns if the username and password are valid; otherwise this method throws an UnauthorizedException. |
| isAuthorized | Returns true if the current user has globally has the specified permission. |
| isAuthorizedOnCommunity | Returns true if the current user has the permission specified on the specified community. |
| isGroupAuthorized | Returns true if the specified group has the specified permission on the specified jive Object. |
| isUserAuthorized | Check to see if the specified user has the particular permission system wide. |
| isUserAuthorizedOnCommunity | Check to see if the specified user has the particular permission on the specified community. |
| registeredUserHasPermission | Returns true if registered users have a particular permission globally. |
| registeredUserHasPermissionOnCommunity | Returns true if registered users have a particular permission on the community with the specified ID. |
| removeCommunityPermissionFromGroup | Remove the specified permission on the specified community from the group with the specified id. |
| removeCommunityPermissionFromUser | Remove the specified permission on the specified community from the user with the specified id. |
| removePermissionFromGroup | Remove the specified permission from the group with the specified id. |
| removePermissionFromUser | Remove the specified permission from the user with the specified id. |
| usersWithPermission | Returns all the userID's of users with a particular permission. |
| usersWithPermissionCount | Returns a count of the users that have a particular permission. |
| usersWithPermissionCountOnCommunity | Returns a count of the users that have a particular permission on the specified community. |
| usersWithPermissionOnCommunity | Returns all the userID's of users with a particular permission on the specified community. |
Add the specified permission on the specified community to the group with the specified id.
POST http://domain:port/clearspace_context/rpc/rest/permissionService/groupCommunityPermissions/{permission}/{additive}/{groupID}/{communityID}
<addCommunityPermissionToGroup>
<permission>xs:long</permission>
<additive>xs:boolean</additive>
<groupID>xs:long</groupID>
<communityID>xs:long</communityID>
</addCommunityPermissionToGroup>Add the specified permission on the specified community to the user with the specified id.
POST http://domain:port/clearspace_context/rpc/rest/permissionService/userCommunityPermissions
<addCommunityPermissionToUser>
<permission>xs:long</permission>
<additive>xs:boolean</additive>
<userID>xs:long</userID>
<communityID>xs:long</communityID>
</addCommunityPermissionToUser>Add the specified permission to the group with the specified id.
POST http://domain:port/clearspace_context/rpc/rest/permissionService/groupPermissions
<addPermissionToGroup>
<permission>xs:long</permission>
<additive>xs:boolean</additive>
<groupID>xs:long</groupID>
</addPermissionToGroup>Add the specified permission to the user with the specified id.
POST http://domain:port/clearspace_context/rpc/rest/permissionService/userPermissions
<addPermissionToUser>
<permission>xs:long</permission>
<additive>xs:boolean</additive>
<userID>xs:long</userID>
</addPermissionToUser>Returns true if the anonymous users have a particular permission globally.
GET http://domain:port/clearspace_context/rpc/rest/permissionService/anonymousUserHasPermission/{permission}/{additive}
<anonymousUserHasPermission>
<permission>xs:long</permission>
<additive>xs:boolean</additive>
</anonymousUserHasPermission><anonymousUserHasPermissionResponse>
<return>xs:boolean</return>
</anonymousUserHasPermissionResponse>Returns true if the anonymous users have a particular permission on the community with the specified ID.
GET http://domain:port/clearspace_context/rpc/rest/permissionService/anonymousUserHasPermissionOnCommunity/{permission}/{additive}/{communityID}
<anonymousUserHasPermissionOnCommunity>
<permission>xs:long</permission>
<additive>xs:boolean</additive>
<communityID>xs:long</communityID>
</anonymousUserHasPermissionOnCommunity><anonymousUserHasPermissionOnCommunityResponse>
<return>xs:boolean</return>
</anonymousUserHasPermissionOnCommunityResponse>Returns if the username and password are valid; otherwise this method throws an UnauthorizedException.
GET http://domain:port/clearspace_context/rpc/rest/permissionService/authenticate/{userID}/{password}
<authenticate>
<userID>xs:string</userID>
<password>xs:string</password>
</authenticate>Returns true if the current user has globally has the specified permission. Certain methods of this class are restricted to certain permissions as specified in the method comments.
GET http://domain:port/clearspace_context/rpc/rest/permissionService/isAuthorized/{permission}
<isAuthorized>
<permission>xs:long</permission>
</isAuthorized><isAuthorizedResponse>
<return>xs:boolean</return>
</isAuthorizedResponse>Returns true if the current user has the permission specified on the specified community.
GET http://domain:port/clearspace_context/rpc/rest/permissionService/isAuthorizedOnCommunity/{permission}/{communityID}
<isAuthorizedOnCommunity>
<permission>xs:long</permission>
<communityID>xs:long</communityID>
</isAuthorizedOnCommunity><isAuthorizedOnCommunityResponse>
<return>xs:boolean</return>
</isAuthorizedOnCommunityResponse>Returns true if the specified group has the specified permission on the specified jive Object.
GET http://domain:port/clearspace_context/rpc/rest/permissionService/isGroupAuthorized/{permission}/{groupID}/{objectType}/{objectID}
<isGroupAuthorized>
<permission>xs:long</permission>
<groupID>xs:long</groupID>
<objectType>xs:int</objectType>
<objectID>xs:long</objectID>
</isGroupAuthorized><isGroupAuthorizedResponse>
<return>xs:boolean</return>
</isGroupAuthorizedResponse>Check to see if the specified user has the particular permission system wide.
GET http://domain:port/clearspace_context/rpc/rest/permissionService/isUserAuthorized/{permissoin}/{userID}
<isUserAuthorized>
<permission>xs:long</permission>
<userID>xs:long</userID>
</isUserAuthorized><isUserAuthorizedResponse>
<return>xs:boolean</return>
</isUserAuthorizedResponse>Check to see if the specified user has the particular permission on the specified community.
GET http://domain:port/clearspace_context/rpc/rest/permissionService/isUserAuthorizedOnCommunity/{permission}/{userID}/{communityID}
<isUserAuthorizedOnCommunity>
<permission>xs:long</permission>
<userID>xs:long</userID>
<communityID>xs:long</communityID>
</isUserAuthorizedOnCommunity><isUserAuthorizedOnCommunityResponse>
<return>xs:boolean</return>
</isUserAuthorizedOnCommunityResponse>Returns true if registered users have a particular permission globally. "Registered Users" does not refer to the static current list of users. Instead, it dynamically matches to any member of the user database.
GET http://domain:port/clearspace_context/rpc/rest/permissionService/registeredUserHasPermission/{permission}/{additive}
<registeredUserHasPermission>
<permission>xs:long</permission>
<additive>xs:boolean</additive>
</registeredUserHasPermission><registeredUserHasPermissionResponse>
<return>xs:boolean</return>
</registeredUserHasPermissionResponse>Returns true if registered users have a particular permission on the community with the specified ID. "Registered Users" does not refer to the static current list of users. Instead, it dynamically matches to any member of the user database.
GET http://domain:port/clearspace_context/rpc/rest/permissionService/registeredUserHasPermissionOnCommunity/{permission}/{additive}/{communityID}
<registeredUserHasPermissionOnCommunity>
<permission>xs:long</permission>
<additive>xs:boolean</additive>
<communityID>xs:long</communityID>
</registeredUserHasPermissionOnCommunity><registeredUserHasPermissionOnCommunityResponse>
<return>xs:boolean</return>
</registeredUserHasPermissionOnCommunityResponse>Remove the specified permission on the specified community from the group with the specified id.
DELETE http://domain:port/clearspace_context/rpc/rest/permissionService/groupCommunityPermissions/{permission}/{additive}/{groupID}/{communityID}
<removeCommunityPermissionFromGroup>
<permission>xs:long</permission>
<additive>xs:boolean</additive>
<groupID>xs:long</groupID>
<communityID>xs:long</communityID>
</removeCommunityPermissionFromGroup>Remove the specified permission on the specified community from the user with the specified id.
DELETE http://domain:port/clearspace_context/rpc/rest/permissionService/userCommunityPermissions/{permission}/{additive}/{userID}/{communityID}
<removeCommunityPermissionFromUser>
<permission>xs:long</permission>
<additive>xs:boolean</additive>
<userID>xs:long</userID>
<communityID>xs:long</communityID>
</removeCommunityPermissionFromUser>Remove the specified permission from the group with the specified id.
DELETE http://domain:port/clearspace_context/rpc/rest/permissionService/groupPermissions/{permission}/{additive}/{groupID}
<removePermissionFromGroup>
<permission>xs:long</permission>
<additive>xs:boolean</additive>
<groupID>xs:long</groupID>
</removePermissionFromGroup>Remove the specified permission from the user with the specified id.
DELETE http://domain:port/clearspace_context/rpc/rest/permissionService/userPermissions/{permission}/{additive}/{userID}
<removePermissionFromUser>
<permission>xs:long</permission>
<additive>xs:boolean</additive>
<userID>xs:long</userID>
</removePermissionFromUser>Returns all the userID's of users with a particular permission. This list does not include the special "anonymous users" and "registered users" permission types. This method is not the normal method for determining if a user has a certain permission on an object in the system; instead it is only useful for permission management. For example, to check if a user has(perm), where community is the community you want to check perms on.
GET http://domain:port/clearspace_context/rpc/rest/permissionService/userPermissions/{permission}/{additive}
<usersWithPermission>
<permission>xs:long</permission>
<additive>xs:boolean</additive>
</usersWithPermission><usersWithPermissionResponse>
<!-- List of ... -->
<return>xs:long</return>
</usersWithPermissionResponse>Returns a count of the users that have a particular permission. This count does not include the special "anonymous users" and "registered users" permission types.
GET http://domain:port/clearspace_context/rpc/rest/permissionService/usersWithPermissionCount/{permission}/{additive}
<usersWithPermissionCount>
<permission>xs:long</permission>
<additive>xs:boolean</additive>
</usersWithPermissionCount><usersWithPermissionCountResponse>
<return>xs:int</return>
</usersWithPermissionCountResponse>Returns a count of the users that have a particular permission on the specified community. This count does not include the special "anonymous users" and "registered users" permission types.
GET http://domain:port/clearspace_context/rpc/rest/permissionService/communityUserPermissionCount/{permission}/{additive}/{communityID}
<usersWithPermissionCountOnCommunity>
<permission>xs:long</permission>
<additive>xs:boolean</additive>
<communityID>xs:long</communityID>
</usersWithPermissionCountOnCommunity><usersWithPermissionCountOnCommunityResponse>
<return>xs:int</return>
</usersWithPermissionCountOnCommunityResponse>Returns all the userID's of users with a particular permission on the specified community. This list does not include the special "anonymous users" and "registered users" permission types. This method is not the normal method for determining if a user has a certain permission on an object in the system; instead it is only useful for permission management. For example, to check if a user has(perm), where community is the community you want to check perms on.
GET http://domain:port/clearspace_context/rpc/rest/permissionService/userCommunityPermissions/{permission}/{additive}/{communityID}
<usersWithPermissionOnCommunity>
<permission>xs:long</permission>
<additive>xs:boolean</additive>
<communityID>xs:long</communityID>
</usersWithPermissionOnCommunity><usersWithPermissionOnCommunityResponse>
<!-- List of ... -->
<return>xs:long</return>
</usersWithPermissionOnCommunityResponse>| Method | Description |
|---|---|
| addAnonymousVote | Add a guest vote for an option in the poll. |
| addOption | Add a new option to the poll. |
| addUserVote | Add a user vote for an option in the poll. |
| changeAnonymousVote | Change a guest vote. |
| changeUserVote | Change a user vote. |
| createPoll | |
| deleteOption | Remove an option from the poll. |
| deletePoll | Deletes a poll. |
| getActivePollCount | Returns a count of all active polls in the system. |
| getActivePollCountByObjectTypeAndObjectID | Returns a count of all active polls of a given type and object ID. |
| getActivePolls | Returns an iterable of active polls in the system. |
| getActivePollsByObjectTypeAndObjectID | Returns an iterable of active polls associated with the object specified by the objectType and objectID. |
| getAnonymousVoteCount | Returns a count of all guests user votes for all options in the poll. |
| getAnonymousVoteCountByIndex | Returns a count of all user votes for the specified option in the poll. |
| getAnonymousVoteIndices | Returns a list of option indexes corresponding to the anonymous votes, or an empty array if the user has not voted. |
| getAnonymousVotes | Returns a list of uniqueID's for guests who have voted for the option at the given index. |
| getAnonymousVotesByIndex | Returns an Iterator of uniqueID's for guests who have voted for the option at the given index. |
| getLivePollCount | Returns a count of all live polls in the system. |
| getLivePollCountByObjectTypeAndObjectID | Returns a count of all live polls of a given type and object ID. |
| getLivePolls | Returns a List of live polls in the system. |
| getLivePollsByObjectTypeAndObjectID | Returns an iterable of live polls associated with the object specified by the objectType and objectID. |
| getPoll | Returns the Poll specified by the poll ID. |
| getPollCount | Returns a count of all polls, both active and inactive. |
| getPollCountByObjectTypeAndObjectID | Returns an count of polls, both active and inactive, associated with the object specified by the objectType and objectID. |
| getPolls | Returns an iterable of all polls, both active and inactive. |
| getPollsByObjectTypeAndObjectID | Returns an iterable of polls, both active and inactive, associated with the object specified by the objectType and objectID. |
| getUserVoteCount | Returns a count of all user votes for all options in the poll. |
| getUserVoteCountByIndex | Returns a count of all user votes for the specified option in the poll. |
| getUserVoteIndices | Returns a list of option indexes corresponding to the user votes, or an empty array if the user has not voted. |
| getUserVotes | Returns a List of User objects for users who have voted for any options in the poll. |
| getUserVotesByIndex | Returns a list of User objects for users who have voted for the option at the given index. |
| getVoteCount | Returns a count of all votes (both guest and user votes) for all options in the poll. |
| getVoteCountByIndex | Returns a count of all votes (both guest and user votes) for the specified option in the poll. |
| hasAnonymousVoted | Returns true if the guest associated with the uniqueID has previously voted in the poll, false otherwise. |
| hasUserVoted | Returns true if the user specified has previously voted in the poll, false otherwise. |
| isModeEnabled | Returns true if the mode specified is enabled for the poll, false otherwise. |
| removeAnonymousVote | Remove a guest vote. |
| removeUserVote | Remove a user vote. |
| setMode | Sets a mode to be enabled or disabled for the poll. |
| setOption | Sets the text of the option at the specified index. |
| setOptionIndex | Moves the option's index. |
| update |
Add a guest vote for an option in the poll.
POST http://domain:port/clearspace_context/rpc/rest/pollService/votes/anonymous
<addAnonymousVote>
<pollID>xs:long</pollID>
<index>xs:int</index>
<uniqueID>xs:string</uniqueID>
</addAnonymousVote>Add a new option to the poll. The option will be added to the end of the option list for the poll.
POST http://domain:port/clearspace_context/rpc/rest/pollService/options
<addOption>
<pollID>xs:long</pollID>
<value>xs:string</value>
</addOption>Add a user vote for an option in the poll.
POST http://domain:port/clearspace_context/rpc/rest/pollService/votes/user
<addUserVote>
<pollID>xs:long</pollID>
<index>xs:int</index>
<userID>xs:long</userID>
</addUserVote>Change a guest vote. This method will throw a PollException unless the mode 'ALLOW_ANONYMOUS_VOTE_MODIFICATION' is enabled for the poll.
PUT http://domain:port/clearspace_context/rpc/rest/pollService/votes/anonymous
<changeAnonymousVote>
<pollID>xs:long</pollID>
<prevOptionIndex>xs:int</prevOptionIndex>
<newOptionIndex>xs:int</newOptionIndex>
<uniqueID>xs:string</uniqueID>
</changeAnonymousVote>Change a user vote. This method will throw a PollException unless the mode 'ALLOW_USER_VOTE_MODIFICATION' is enabled for the poll.
PUT http://domain:port/clearspace_context/rpc/rest/pollService/votes/user
<changeUserVote>
<pollID>xs:long</pollID>
<prevOptionIndex>xs:int</prevOptionIndex>
<newOptionIndex>xs:int</newOptionIndex>
<userID>xs:long</userID>
</changeUserVote>POST http://domain:port/clearspace_context/rpc/rest/pollService/polls
<createPoll>
<objectType>xs:int</objectType>
<objectID>xs:long</objectID>
<userID>xs:long</userID>
<name>xs:string</name>
</createPoll><createPollResponse>
<return>
<!-- Contents of Poll -->
<return>
</createPollResponse>Remove an option from the poll.
DELETE http://domain:port/clearspace_context/rpc/rest/pollService/options/{pollID}/{index}
<deleteOption>
<pollID>xs:long</pollID>
<index>xs:int</index>
</deleteOption>Deletes a poll.
DELETE http://domain:port/clearspace_context/rpc/rest/pollService/polls/{pollID}
<deletePoll>
<pollID>xs:long</pollID>
</deletePoll>Returns a count of all active polls in the system. Active polls are defined as polls where the current date is between the poll's start and expire dates.
GET http://domain:port/clearspace_context/rpc/rest/pollService/activePollCount
<getActivePollCountResponse>
<return>xs:int</return>
</getActivePollCountResponse>Returns a count of all active polls of a given type and object ID. Active polls are defined as polls where the current date is between the poll's start and expire dates.
GET http://domain:port/clearspace_context/rpc/rest/pollService/activePollCount/{objectType}/{objectID}
<getActivePollCountByObjectTypeAndObjectID>
<objectType>xs:int</objectType>
<objectID>xs:long</objectID>
</getActivePollCountByObjectTypeAndObjectID><getActivePollCountByObjectTypeAndObjectIDResponse>
<return>xs:int</return>
</getActivePollCountByObjectTypeAndObjectIDResponse>Returns an iterable of active polls in the system. Active polls are defined as polls where the current date is between the poll's start and expire dates.
GET http://domain:port/clearspace_context/rpc/rest/pollService/activePolls
<getActivePollsResponse>
<!-- List of ... -->
<return>
<!-- Contents of Poll -->
<return>
</getActivePollsResponse>Returns an iterable of active polls associated with the object specified by the objectType and objectID. Active polls are defined as polls where the current date is between the poll's start and expire dates.
GET http://domain:port/clearspace_context/rpc/rest/pollService/activePolls/{objectType}/{objectID}
<getActivePollsByObjectTypeAndObjectID>
<objectType>xs:int</objectType>
<objectID>xs:long</objectID>
</getActivePollsByObjectTypeAndObjectID><getActivePollsByObjectTypeAndObjectIDResponse>
<!-- List of ... -->
<return>
<!-- Contents of Poll -->
<return>
</getActivePollsByObjectTypeAndObjectIDResponse>Returns a count of all guests user votes for all options in the poll.
GET http://domain:port/clearspace_context/rpc/rest/pollService/votes/anonymousCount/{pollID}
<getAnonymousVoteCount>
<pollID>xs:long</pollID>
</getAnonymousVoteCount><getAnonymousVoteCountResponse>
<return>xs:int</return>
</getAnonymousVoteCountResponse>Returns a count of all user votes for the specified option in the poll.
GET http://domain:port/clearspace_context/rpc/rest/pollService/votes/anonymousCount/{pollID}/{index}
<getAnonymousVoteCountByIndex>
<pollID>xs:long</pollID>
<index>xs:int</index>
</getAnonymousVoteCountByIndex><getAnonymousVoteCountByIndexResponse>
<return>xs:int</return>
</getAnonymousVoteCountByIndexResponse>Returns a list of option indexes corresponding to the anonymous votes, or an empty array if the user has not voted.
GET http://domain:port/clearspace_context/rpc/rest/pollService/votes/anonymousIndices/{pollID}/{uniqueID}
<getAnonymousVoteIndices>
<pollID>xs:long</pollID>
<uniqueID>xs:string</uniqueID>
</getAnonymousVoteIndices><getAnonymousVoteIndicesResponse>
<!-- List of ... -->
<return>xs:int</return>
</getAnonymousVoteIndicesResponse>Returns a list of uniqueID's for guests who have voted for the option at the given index.
GET http://domain:port/clearspace_context/rpc/rest/pollService/votes/anonymous/{pollID}
<getAnonymousVotes>
<pollID>xs:long</pollID>
</getAnonymousVotes><getAnonymousVotesResponse>
<!-- List of ... -->
<return>xs:string</return>
</getAnonymousVotesResponse>Returns an Iterator of uniqueID's for guests who have voted for the option at the given index.
GET http://domain:port/clearspace_context/rpc/rest/pollService/votes/anonymous/{pollID}/{index}
<getAnonymousVotesByIndex>
<pollID>xs:long</pollID>
<index>xs:int</index>
</getAnonymousVotesByIndex><getAnonymousVotesByIndexResponse>
<!-- List of ... -->
<return>xs:string</return>
</getAnonymousVotesByIndexResponse>Returns a count of all live polls in the system. Live polls are defined as polls where the current date is between the poll's start and end dates.
GET http://domain:port/clearspace_context/rpc/rest/pollService/livePollCount
<getLivePollCountResponse>
<return>xs:int</return>
</getLivePollCountResponse>Returns a count of all live polls of a given type and object ID. Live polls are defined as polls where the current date is between the poll's start and end dates.
GET http://domain:port/clearspace_context/rpc/rest/pollService/livePollCount/{objectType}/{objectID}
<getLivePollCountByObjectTypeAndObjectID>
<objectType>xs:int</objectType>
<objectID>xs:long</objectID>
</getLivePollCountByObjectTypeAndObjectID><getLivePollCountByObjectTypeAndObjectIDResponse>
<return>xs:int</return>
</getLivePollCountByObjectTypeAndObjectIDResponse>Returns a List of live polls in the system. Live polls are defined as polls where the current date is between the poll's start and end dates.
GET http://domain:port/clearspace_context/rpc/rest/pollService/livePolls
<getLivePollsResponse>
<!-- List of ... -->
<return>
<!-- Contents of Poll -->
<return>
</getLivePollsResponse>Returns an iterable of live polls associated with the object specified by the objectType and objectID. Live polls are defined as polls where the current date is between the poll's start and end dates.
GET http://domain:port/clearspace_context/rpc/rest/pollService/livePolls/{objectType}/{objectID}
<getLivePollsByObjectTypeAndObjectID>
<objectType>xs:int</objectType>
<objectID>xs:long</objectID>
</getLivePollsByObjectTypeAndObjectID><getLivePollsByObjectTypeAndObjectIDResponse>
<!-- List of ... -->
<return>
<!-- Contents of Poll -->
<return>
</getLivePollsByObjectTypeAndObjectIDResponse>Returns the Poll specified by the poll ID.
GET http://domain:port/clearspace_context/rpc/rest/pollService/polls/{pollID}
<getPoll>
<pollID>xs:long</pollID>
</getPoll><getPollResponse>
<return>
<!-- Contents of Poll -->
<return>
</getPollResponse>Returns a count of all polls, both active and inactive.
GET http://domain:port/clearspace_context/rpc/rest/pollService/pollCount
<getPollCountResponse>
<return>xs:int</return>
</getPollCountResponse>Returns an count of polls, both active and inactive, associated with the object specified by the objectType and objectID.
GET http://domain:port/clearspace_context/rpc/rest/pollService/pollCount/{objectType}/{objectID}
<getPollCountByObjectTypeAndObjectID>
<objectType>xs:int</objectType>
<objectID>xs:long</objectID>
</getPollCountByObjectTypeAndObjectID><getPollCountByObjectTypeAndObjectIDResponse>
<return>xs:int</return>
</getPollCountByObjectTypeAndObjectIDResponse>Returns an iterable of all polls, both active and inactive. The ordering of the polls is from active to inactive polls and then from newest to oldest in each group.
GET http://domain:port/clearspace_context/rpc/rest/pollService/polls
<getPollsResponse>
<!-- List of ... -->
<return>
<!-- Contents of Poll -->
<return>
</getPollsResponse>Returns an iterable of polls, both active and inactive, associated with the object specified by the objectType and objectID.
GET http://domain:port/clearspace_context/rpc/rest/pollService/polls/{objectType}/{objectID}
<getPollsByObjectTypeAndObjectIDResponse>
<!-- List of ... -->
<return>
<!-- Contents of Poll -->
<return>
</getPollsByObjectTypeAndObjectIDResponse>Returns a count of all user votes for all options in the poll.
GET http://domain:port/clearspace_context/rpc/rest/pollService/votes/userCount/{pollID}
<getUserVoteCount>
<pollID>xs:long</pollID>
</getUserVoteCount><getUserVoteCountResponse>
<return>xs:int</return>
</getUserVoteCountResponse>Returns a count of all user votes for the specified option in the poll.
GET http://domain:port/clearspace_context/rpc/rest/pollService/votes/userCount/{pollID}/{index}
<getUserVoteCountByIndex>
<pollID>xs:long</pollID>
<index>xs:int</index>
</getUserVoteCountByIndex><getUserVoteCountByIndexResponse>
<return>xs:int</return>
</getUserVoteCountByIndexResponse>Returns a list of option indexes corresponding to the user votes, or an empty array if the user has not voted.
GET http://domain:port/clearspace_context/rpc/rest/pollService/votes/userIndices/{pollID}/{userID}
<getUserVoteIndices>
<pollID>xs:long</pollID>
<userID>xs:long</userID>
</getUserVoteIndices><getUserVoteIndicesResponse>
<!-- List of ... -->
<return>xs:int</return>
</getUserVoteIndicesResponse>Returns a List of User objects for users who have voted for any options in the poll.
GET http://domain:port/clearspace_context/rpc/rest/pollService/votes/{pollID}
<getUserVotes>
<pollID>xs:long</pollID>
</getUserVotes><getUserVotesResponse>
<!-- List of ... -->
<return>
<!-- Contents of User -->
<return>
</getUserVotesResponse>Returns a list of User objects for users who have voted for the option at the given index.
GET http://domain:port/clearspace_context/rpc/rest/pollService/votes/{pollID}/{index}
<getUserVotesByIndexResponse>
<!-- List of ... -->
<return>
<!-- Contents of User -->
<return>
</getUserVotesByIndexResponse>Returns a count of all votes (both guest and user votes) for all options in the poll.
GET http://domain:port/clearspace_context/rpc/rest/pollService/votes/count/{pollID}
<getVoteCount>
<pollID>xs:long</pollID>
</getVoteCount><getVoteCountResponse>
<return>xs:int</return>
</getVoteCountResponse>Returns a count of all votes (both guest and user votes) for the specified option in the poll.
GET http://domain:port/clearspace_context/rpc/rest/pollService/votesByIndex/{pollID}/{index}
<getVoteCountByIndex>
<pollID>xs:long</pollID>
<index>xs:int</index>
</getVoteCountByIndex><getVoteCountByIndexResponse>
<return>xs:int</return>
</getVoteCountByIndexResponse>Returns true if the guest associated with the uniqueID has previously voted in the poll, false otherwise.
GET http://domain:port/clearspace_context/rpc/rest/pollService/votes/anonymousVoted/{pollID}/{uniqueID}
<hasAnonymousVoted>
<pollID>xs:long</pollID>
<uniqueID>xs:string</uniqueID>
</hasAnonymousVoted><hasAnonymousVotedResponse>
<return>xs:boolean</return>
</hasAnonymousVotedResponse>Returns true if the user specified has previously voted in the poll, false otherwise.
GET http://domain:port/clearspace_context/rpc/rest/pollService/votes/userVoted/{pollID}/{userID}
<hasUserVoted>
<pollID>xs:long</pollID>
<userID>xs:long</userID>
</hasUserVoted><hasUserVotedResponse>
<return>xs:boolean</return>
</hasUserVotedResponse>Returns true if the mode specified is enabled for the poll, false otherwise. Valid modes are defined as static final constants in this interface.
GET http://domain:port/clearspace_context/rpc/rest/pollService/modes/{pollID}/{mode}
<isModeEnabled>
<pollID>xs:long</pollID>
<mode>xs:long</mode>
</isModeEnabled><isModeEnabledResponse>
<return>xs:boolean</return>
</isModeEnabledResponse>Remove a guest vote. This method will throw a PollException unless the mode 'ALLOW_ANONYMOUS_VOTE_MODIFICATION' is enabled for the poll.
DELETE http://domain:port/clearspace_context/rpc/rest/pollService/votes/anonymous/{pollID}/{prevOptionIndex}/{uniqueID}
<removeAnonymousVote>
<pollID>xs:long</pollID>
<prevOptionIndex>xs:int</prevOptionIndex>
<uniqueID>xs:string</uniqueID>
</removeAnonymousVote>Remove a user vote. This method will throw a PollException unless the mode 'ALLOW_USER_VOTE_MODIFICATION' is enabled for the poll.
DELETE http://domain:port/clearspace_context/rpc/rest/pollService/votes/user/{pollID}/{prevOptionIndex}/{userID}
<removeUserVote>
<pollID>xs:long</pollID>
<prevOptionIndex>xs:int</prevOptionIndex>
<userID>xs:long</userID>
</removeUserVote>Sets a mode to be enabled or disabled for the poll. Valid modes are defined as static final constants in this interface.
POST http://domain:port/clearspace_context/rpc/rest/pollService/modes
<setMode>
<pollID>xs:long</pollID>
<mode>xs:long</mode>
<enabled>xs:boolean</enabled>
</setMode>Sets the text of the option at the specified index.
PUT http://domain:port/clearspace_context/rpc/rest/pollService/options
<setOption>
<pollID>xs:long</pollID>
<index>xs:int</index>
<value>xs:string</value>
</setOption>Moves the option's index.
PUT http://domain:port/clearspace_context/rpc/rest/pollService/options/index
<setOptionIndex>
<pollID>xs:long</pollID>
<currentIndex>xs:int</currentIndex>
<newIndex>xs:int</newIndex>
</setOptionIndex>PUT http://domain:port/clearspace_context/rpc/rest/pollService/polls
Provides the ability to manipulate private messages. Send, retrieve, move, list.
| Method | Description |
|---|---|
| createFolder | Creates a new folder. |
| createMessage | Creates a new private message. |
| deleteFolder | Deletes a folder. |
| deleteMessage | Deletes a private message from the folder by moving it to the trash folder. |
| getFolder | Returns the specified folder for a user. |
| getFolders | Returns an Iterator of PrivateMessageFolder objects for the folders the user has. |
| getMessage | Returns the specified private message. |
| getMessageCount | Returns the total number of private messages a user has in their mailbox. |
| getMessageCountForFolder | Returns the message count on a specific folder. |
| getMessages | Returns all the messages in the folder sorted by date descending. |
| getUnreadMessageCount | Returns the total number of unread private messages a user has in their mailbox. |
| getUnreadMessageCountForFolder | Returns the total number of unread private messages a user has in a specific folder. |
| isPrivateMessagesEnabled | Returns <tt>true</tt> if the feature is enabled, <tt>false</tt> otherwise. |
| moveMessage | Moves a private message to another folder. |
| saveMessageAsDraft | Saves a message as a draft by storing it in the sender's <tt>Drafts</tt> folder. |
| sendMessage | Sends a private message to another user. |
Creates a new folder.
POST http://domain:port/clearspace_context/rpc/rest/privateMessageService/folders
<createFolder>
<userID>xs:long</userID>
<name>xs:string</name>
</createFolder><createFolderResponse>
<return>
<!-- Contents of PrivateMessageFolder -->
<return>
</createFolderResponse>Creates a new private message. The message must be either saved as a draft or sent to another user in order to be stored permanently.
POST http://domain:port/clearspace_context/rpc/rest/privateMessageService/messages
<createMessage>
<senderID>xs:long</senderID>
</createMessage><createMessageResponse>
<return>
<!-- Contents of PrivateMessage -->
<return>
</createMessageResponse>Deletes a folder. All messages in the folder will be moved to the user's Trash folder. Attempting to delete one of the four default folders will move all messages in the folder to Trash but won't delete the folder itself. If the folder is the Trash folder, all messages in the folder will be permanently deleted.
DELETE http://domain:port/clearspace_context/rpc/rest/privateMessageService/folders/{userID}/{folderID}
<deleteFolder>
<userID>xs:long</userID>
<folderID>xs:int</folderID>
</deleteFolder>Deletes a private message from the folder by moving it to the trash folder. Messages in the Trash folder will be routinely automatically deleted. If this is the Trash folder, this method will do nothing.
DELETE http://domain:port/clearspace_context/rpc/rest/privateMessageService/userMessages/{userID}/{messageID}
<deleteMessage>
<userID>xs:long</userID>
<messageID>xs:long</messageID>
</deleteMessage>Returns the specified folder for a user.
GET http://domain:port/clearspace_context/rpc/rest/privateMessageService/folders/{userID}/{folderID}
<getFolder>
<userID>xs:long</userID>
<folderID>xs:int</folderID>
</getFolder><getFolderResponse>
<return>
<!-- Contents of PrivateMessageFolder -->
<return>
</getFolderResponse>Returns an Iterator of PrivateMessageFolder objects for the folders the user has. The four built-in folders (Inbox, Sent, Drafts, Trash) are returned first, followed by custom folders in alphabetical order.
GET http://domain:port/clearspace_context/rpc/rest/privateMessageService/folders/{userID}
<getFolders>
<userID>xs:long</userID>
</getFolders><getFoldersResponse>
<!-- List of ... -->
<return>
<!-- Contents of PrivateMessageFolder -->
<return>
</getFoldersResponse>Returns the specified private message.
GET http://domain:port/clearspace_context/rpc/rest/privateMessageService/messages/{privateMessageID}
<getMessage>
<privateMessageID>xs:long</privateMessageID>
</getMessage><getMessageResponse>
<return>
<!-- Contents of PrivateMessage -->
<return>
</getMessageResponse>Returns the total number of private messages a user has in their mailbox. This calculation does not count any messages in the user's Trash folder.
GET http://domain:port/clearspace_context/rpc/rest/privateMessageService/messageCount/{userID}
<getMessageCount>
<userID>xs:long</userID>
</getMessageCount><getMessageCountResponse>
<return>xs:int</return>
</getMessageCountResponse>Returns the message count on a specific folder.
GET http://domain:port/clearspace_context/rpc/rest/privateMessageService/messsageCount/{userID}/{folderID}
<getMessageCountForFolder>
<userID>xs:long</userID>
<folderID>xs:int</folderID>
</getMessageCountForFolder><getMessageCountForFolderResponse>
<return>xs:int</return>
</getMessageCountForFolderResponse>Returns all the messages in the folder sorted by date descending.
GET http://domain:port/clearspace_context/rpc/rest/privateMessageService/userMesages/{userID}/{folderID}
<getMessages>
<userID>xs:long</userID>
<folderID>xs:long</folderID>
</getMessages><getMessagesResponse>
<!-- List of ... -->
<return>
<!-- Contents of PrivateMessage -->
<return>
</getMessagesResponse>Returns the total number of unread private messages a user has in their mailbox. This calculation does not count any messages in the user's Trash folder.
GET http://domain:port/clearspace_context/rpc/rest/privateMessageService/unreadMessageCount/{userID}
<getUnreadMessageCount>
<userID>xs:long</userID>
</getUnreadMessageCount><getUnreadMessageCountResponse>
<return>xs:int</return>
</getUnreadMessageCountResponse>Returns the total number of unread private messages a user has in a specific folder.
GET http://domain:port/clearspace_context/rpc/rest/privateMessageService/unreadMessageCount/{userID}/{folderID}
<getUnreadMessageCountForFolder>
<userID>xs:long</userID>
<folderID>xs:int</folderID>
</getUnreadMessageCountForFolder><getUnreadMessageCountForFolderResponse>
<return>xs:int</return>
</getUnreadMessageCountForFolderResponse>Returns true if the feature is enabled, false otherwise.
GET http://domain:port/clearspace_context/rpc/rest/privateMessageService/privateMessagesEnabled
<isPrivateMessagesEnabledResponse>
<return>xs:boolean</return>
</isPrivateMessagesEnabledResponse>Moves a private message to another folder.
POST http://domain:port/clearspace_context/rpc/rest/privateMessageService/moveMessage
<moveMessage>
<userID>xs:long</userID>
<messageID>xs:long</messageID>
<destinationFolderID>xs:int</destinationFolderID>
</moveMessage>Saves a message as a draft by storing it in the sender's Drafts folder.
POST http://domain:port/clearspace_context/rpc/rest/privateMessageService/saveDraft
<saveMessageAsDraft>
<privateMessage>
<!-- Contents of PrivateMessage -->
<privateMessage>
</saveMessageAsDraft>Sends a private message to another user. The message will be delivered to the recipient's Inbox. Optionally, a copy of the message will be put in the sender's Sent folder.
If the recipient's mailbox is full, a will be thrown. The exception will also be thrown if the recipient is not allowed to receive private messages or if the user has elected to save a copy of the message in their Sent folder, but doesn't have room to do so.POST http://domain:port/clearspace_context/rpc/rest/privateMessageService/sendMessage
<sendMessage>
<privateMessage>
<!-- Contents of PrivateMessage -->
<privateMessage>
<recipientID>xs:long</recipientID>
<copyToSentFolder>xs:boolean</copyToSentFolder>
</sendMessage>Defines methods used to create, access, update, and remove profile fields data. All user profile data is managed via the ProfileService.
| Method | Description |
|---|---|
| createProfileField | Creates a new profile field. |
| deleteProfileField | Removes a profile field from the system. |
| editProfileField | Edits the profile field data. |
| editProfileFieldOptions | Edits the objects for a profile field. |
| getDefaultFields | Returns a list of all default profile fields. |
| getProfileField | Gets a profile field object by its id. |
| getProfileFields | Gets the list of all profile fields in the system. |
| setIndex | Sets the index of the profile field. |
Creates a new profile field.
POST http://domain:port/clearspace_context/rpc/rest/profileFieldService/fields
<createProfileField>
<field>
<!-- Contents of ProfileField -->
<field>
</createProfileField><createProfileFieldResponse>
<return>
<!-- Contents of ProfileField -->
<return>
</createProfileFieldResponse>Removes a profile field from the system. This method will also remove all the user data and objects associated with the field.
DELETE http://domain:port/clearspace_context/rpc/rest/profileFieldService/fields/{fieldID}
<deleteProfileField>
<fieldID>xs:long</fieldID>
</deleteProfileField>Edits the profile field data.
PUT http://domain:port/clearspace_context/rpc/rest/profileFieldService/fields
<editProfileField>
<field>
<!-- Contents of ProfileField -->
<field>
</editProfileField>Edits the objects for a profile field.
PUT http://domain:port/clearspace_context/rpc/rest/profileFieldService/options
<editProfileFieldOptions>
<field>
<!-- Contents of ProfileField -->
<field>
</editProfileFieldOptions>Returns a list of all default profile fields. These fields need not be shown, but they cannot be deleted.
GET http://domain:port/clearspace_context/rpc/rest/profileFieldService/defaultFields
<getDefaultFieldsResponse>
<!-- List of ... -->
<return>
<!-- Contents of ProfileField -->
<return>
</getDefaultFieldsResponse>Gets a profile field object by its id.
GET http://domain:port/clearspace_context/rpc/rest/profileFieldService/fields/{fieldID}
<getProfileField>
<fieldID>xs:long</fieldID>
</getProfileField><getProfileFieldResponse>
<return>
<!-- Contents of ProfileField -->
<return>
</getProfileFieldResponse>Gets the list of all profile fields in the system.
GET http://domain:port/clearspace_context/rpc/rest/profileFieldService/fields
<getProfileFieldsResponse>
<!-- List of ... -->
<return>
<!-- Contents of ProfileField -->
<return>
</getProfileFieldsResponse>Sets the index of the profile field. The index value can be used to display the fields in an arbitrary order. Index values are from 0 to getProfileFields().size() - 1.
POST http://domain:port/clearspace_context/rpc/rest/profileFieldService/index
<setIndex>
<fieldID>xs:long</fieldID>
<newIndex>xs:int</newIndex>
</setIndex>Provides the ability to search users.
| Method | Description |
|---|---|
| getSimilarUserResults | Returns the the first 5 users that are similar to the specified user. |
| isSearchEnabled | Returns true if the profile search feature is turned on. |
| search | Returns the users that correspond to the search query. |
| searchBounded | Returns the users that correspond to the search query beginning at startIndex and until the number results equals numResults. |
Returns the the first 5 users that are similar to the specified user. This method only checks profile data, and does not use username, name, or email address as a means of determining similarity.
GET http://domain:port/clearspace_context/rpc/rest/profileSearchService/similarUsers/{targetUserID}
<getSimilarUserResults>
<groupID>xs:long</groupID>
</getSimilarUserResults><getSimilarUserResultsResponse>
<!-- List of ... -->
<return>
<!-- Contents of User -->
<return>
</getSimilarUserResultsResponse>Returns true if the profile search feature is turned on. When profile search is disabled, other methods serve as no-ops.
GET http://domain:port/clearspace_context/rpc/rest/profileSearchService/isSearchEnabled
<isSearchEnabledResponse>
<return>xs:boolean</return>
</isSearchEnabledResponse>Returns the users that correspond to the search query.
POST http://domain:port/clearspace_context/rpc/rest/profileSearchService/searchProfile
<search>
<query>
<!-- Contents of ProfileSearchQuery -->
<query>
</search><searchResponse>
<!-- List of ... -->
<return>
<!-- Contents of User -->
<return>
</searchResponse>Returns the users that correspond to the search query beginning at startIndex and until the number results equals numResults.
POST http://domain:port/clearspace_context/rpc/rest/profileSearchService/searchProfileBounded
<searchBounded>
<query>
<!-- Contents of ProfileSearchQuery -->
<query>
<startIndex>xs:int</startIndex>
<numResults>xs:int</numResults>
</searchBounded><searchBoundedResponse>
<!-- List of ... -->
<return>
<!-- Contents of User -->
<return>
</searchBoundedResponse>Manages user profile data. Defines methods used to create, access, update, and remove user profile data.
| Method | Description |
|---|---|
| deleteProfileByID | Removes all user profile data associated with a particular profile field. |
| deleteProfileByUserID | Removes all user profile data associated with a particular user. |
| getProfile | Gets a map of user profile values for a particular user mapped to their corresponding <tt>ProfileField</tt> id. |
| getProfileImage | Returns the profile image for a user. |
| setProfile | Sets a array of profile values for a particular user. |
| setProfileImage | Set a new profile page image for the specified user. |
Removes all user profile data associated with a particular profile field. This method is generally called when a profile field is removed from the system.
DELETE http://domain:port/clearspace_context/rpc/rest/profileService/fields/{fieldID}
<deleteProfileByID>
<fieldID>xs:long</fieldID>
</deleteProfileByID>Removes all user profile data associated with a particular user. This method is generally called when a user is removed from the system.
DELETE http://domain:port/clearspace_context/rpc/rest/profileService/profiles/{userID}
<deleteProfileByUserID>
<userID>xs:long</userID>
</deleteProfileByUserID>Gets a map of user profile values for a particular user mapped to their corresponding ProfileField id.
GET http://domain:port/clearspace_context/rpc/rest/profileService/profiles/{userID}
<getProfile>
<userID>xs:long</userID>
</getProfile><getProfileResponse>
<!-- List of ... -->
<return>
<!-- Contents of UserProfile -->
<return>
</getProfileResponse>Returns the profile image for a user.
GET http://domain:port/clearspace_context/rpc/rest/profileService/images/{userID}
<getProfileImage>
<userID>xs:long</userID>
</getProfileImage><getProfileImageResponse>
<!-- List of ... -->
<return>xs:base64Binary</return>
</getProfileImageResponse>Sets a array of profile values for a particular user.
POST http://domain:port/clearspace_context/rpc/rest/profileService/profiles
<setProfile>
<userID>xs:long</userID>
<!-- List of ... -->
<profiles>
<!-- Contents of UserProfile -->
<profiles>
</setProfile>Set a new profile page image for the specified user.
POST http://domain:port/clearspace_context/rpc/rest/profileService/images
<setProfileImage>
<userID>xs:long</userID>
<mimeType>xs:string</mimeType>
<!-- List of ... -->
<data>xs:base64Binary</data>
</setProfileImage>This service provides methods to load tasks by ID and to retrieve lists of projects. Once a handle on a project is obtained one can use the methods in this interface to update or delete a project or otherwise modify the project.
| Method | Description |
|---|---|
| create | |
| delete | |
| getCheckPoints | |
| getProjectByID | |
| getProjectCount | |
| getProjects | |
| getUserCount | |
| setCheckPoints | |
| update |
POST http://domain:port/clearspace_context/rpc/rest/projectService/projects
<create>
<containerType>xs:int</containerType>
<containerID>xs:long</containerID>
<name>xs:string</name>
<description>xs:string</description>
<userID>xs:long</userID>
<!-- List of ... -->
<checkPoints>
<!-- Contents of CheckPoint -->
<checkPoints>
<dueDate>xs:dateTime</dueDate>
</create><createResponse>
<return>
<!-- Contents of Project -->
<return>
</createResponse>DELETE http://domain:port/clearspace_context/rpc/rest/projectService/projects/{projectID}
<delete>
<projectID>xs:long</projectID>
</delete>GET http://domain:port/clearspace_context/rpc/rest/projectService/checkPointsByProject/{projectID}
<getCheckPoints>
<projectID>xs:long</projectID>
</getCheckPoints><getCheckPointsResponse>
<!-- List of ... -->
<return>
<!-- Contents of CheckPoint -->
<return>
</getCheckPointsResponse>GET http://domain:port/clearspace_context/rpc/rest/projectService/projects/{projectID}
<getProjectByID>
<projectID>xs:long</projectID>
</getProjectByID><getProjectByIDResponse>
<return>
<!-- Contents of Project -->
<return>
</getProjectByIDResponse>GET http://domain:port/clearspace_context/rpc/rest/projectService/projectCount
<getProjectCountResponse>
<return>xs:int</return>
</getProjectCountResponse>GET http://domain:port/clearspace_context/rpc/rest/projectService/projects
<getProjectsResponse>
<!-- List of ... -->
<return>
<!-- Contents of Project -->
<return>
</getProjectsResponse>GET http://domain:port/clearspace_context/rpc/rest/projectService/userCount/{projectID}
<getUserCount>
<projectID>xs:long</projectID>
</getUserCount><getUserCountResponse>
<return>xs:int</return>
</getUserCountResponse>PUT http://domain:port/clearspace_context/rpc/rest/projectService/checkPoints
<setCheckPoints>
<projectID>xs:long</projectID>
<!-- List of ... -->
<checkpoints>
<!-- Contents of CheckPoint -->
<checkpoints>
</setCheckPoints>PUT http://domain:port/clearspace_context/rpc/rest/projectService/projects
<update>
<project>
<!-- Contents of Project -->
<project>
</update>| Method | Description |
|---|---|
| addRating | Add a rating to the . |
| createRating | Create a new rating with the specified attributes. |
| getAvailableRatingCount | Returns the count of currently available ratings. |
| getAvailableRatings | Returns an iterable of Rating objects that list all the available ratings. |
| getMeanRating | A convenience method which returns a geometric mean average of all the ratings given to the . |
| getRating | Returns the rating associated with the user, or null if this user hasn't rated the . |
| getRatingCount | Returns the total number of ratings given to the . |
| getRatingFromScore | Retrieve the rating with the specified score. |
| getRatings | Returns an Iterable of all the ratings given to the . |
| hasRated | Returns whether the user has rated the or not. |
| isRatingsEnabled | Returns true if the rating feature is turned on. |
| removeRating | Remove the specified rating from the list of currently available ratings. |
| setRatingsEnabled | Enables or disables the ratings feature. |
Add a rating to the . If the user has already rated, this rating will replace the previous rating. If the user is null (anonymous) this rating will be added to the ratings for the . The author of the cannot rate their own content.
http://domain:port/clearspace_context/rpc/rest/ratingsService/objectRatings/user
<addRating>
<userID>xs:long</userID>
<objectType>xs:int</objectType>
<objectID>xs:long</objectID>
<ratingScore>xs:int</ratingScore>
</addRating>Create a new rating with the specified attributes. Only positive integers are allowed for the score, 0 or negative integers will cause an IllegalArgumentException to be thrown. If the score is already taken an IllegalArgumentException will be thrown.
POST http://domain:port/clearspace_context/rpc/rest/ratingsService/ratings
<createRating>
<score>xs:int</score>
<description>xs:string</description>
</createRating><createRatingResponse>
<return>
<!-- Contents of Rating -->
<return>
</createRatingResponse>Returns the count of currently available ratings.
GET http://domain:port/clearspace_context/rpc/rest/ratingsService/ratings/count
<getAvailableRatingCountResponse>
<return>xs:int</return>
</getAvailableRatingCountResponse>Returns an iterable of Rating objects that list all the available ratings. The returned list will be sorted from lowest rating to high rating.
GET http://domain:port/clearspace_context/rpc/rest/ratingsService/ratings
<getAvailableRatingsResponse>
<!-- List of ... -->
<return>
<!-- Contents of Rating -->
<return>
</getAvailableRatingsResponse>A convenience method which returns a geometric mean average of all the ratings given to the .
GET http://domain:port/clearspace_context/rpc/rest/ratingsService/objectRatings/mean/{objectType}/{objectID}
<getMeanRating>
<objectType>xs:int</objectType>
<objectID>xs:long</objectID>
</getMeanRating><getMeanRatingResponse>
<return>double</return>
</getMeanRatingResponse>Returns the rating associated with the user, or null if this user hasn't rated the . If the user is null (anonymous) this method will return null.
GET http://domain:port/clearspace_context/rpc/rest/ratingsService/objectRatings/user/{objectType}/{objectID}
<getRating>
<userID>xs:long</userID>
<objectType>xs:int</objectType>
<objectID>xs:long</objectID>
</getRating><getRatingResponse>
<return>
<!-- Contents of Rating -->
<return>
</getRatingResponse>Returns the total number of ratings given to the .
GET http://domain:port/clearspace_context/rpc/rest/ratingsService/objectRatings/count/{objectType}/{objectID}
<getRatingCount>
<objectType>xs:int</objectType>
<objectID>xs:long</objectID>
</getRatingCount><getRatingCountResponse>
<return>xs:int</return>
</getRatingCountResponse>Retrieve the rating with the specified score.
POST http://domain:port/clearspace_context/rpc/rest/ratingsService/ratingFromScore/{score}
<getRatingFromScore>
<score>xs:int</score>
</getRatingFromScore><getRatingFromScoreResponse>
<return>
<!-- Contents of Rating -->
<return>
</getRatingFromScoreResponse>Returns an Iterable of all the ratings given to the .
GET http://domain:port/clearspace_context/rpc/rest/ratingsService/objectRatings/{objectType}/{objectID}
<getRatings>
<objectType>xs:int</objectType>
<objectID>xs:long</objectID>
</getRatings><getRatingsResponse>
<!-- List of ... -->
<return>
<!-- Contents of Rating -->
<return>
</getRatingsResponse>Returns whether the user has rated the or not. This method will always return false if the user is anonymous.
GET http://domain:port/clearspace_context/rpc/rest/ratingsService/objectRatings/userHasRated/{objectType}/{objectID}
<hasRated>
<userID>xs:long</userID>
<objectType>xs:int</objectType>
<objectID>xs:long</objectID>
</hasRated><hasRatedResponse>
<return>xs:boolean</return>
</hasRatedResponse>Returns true if the rating feature is turned on. When ratings are disabled, other methods serve as no-ops.
GET http://domain:port/clearspace_context/rpc/rest/ratingsService/ratingsEnabled
<isRatingsEnabledResponse>
<return>xs:boolean</return>
</isRatingsEnabledResponse>Remove the specified rating from the list of currently available ratings.
DELETE http://domain:port/clearspace_context/rpc/rest/ratingsService/ratings/{score}
Enables or disables the ratings feature. When ratings are disabled, other methods serve as no-ops.
POST http://domain:port/clearspace_context/rpc/rest/ratingsService/ratingsEnabled
Manager used to create references between different kind of jive objects.
References are use to create a relationship between one kind of jive object to another. For instance a blog may reference a specific thread.| Method | Description |
|---|---|
| addReference | Creates a reference between the refering object and the references. |
| deleteAllReferences | Removes all references from the specified referer. |
| deleteAllReferers | Causes this object to not be referred by any other objects. |
| deleteReference | Delete the reference between a referer and the refered content. |
| getReferences | Get all objects that the specfied jiveObject referers too. |
| getReferers | Get a list of all the objects that refer to this specified object. |
Creates a reference between the refering object and the references.
POST http://domain:port/clearspace_context/rpc/rest/referenceService/references
<addReference>
<referer>
<!-- Contents of JiveObject -->
<referer>
<reference>
<!-- Contents of JiveObject -->
<reference>
</addReference>Removes all references from the specified referer.
DELETE http://domain:port/clearspace_context/rpc/rest/referenceService/references/{refererObjectType}/{refererObjectID}
<deleteAllReferences>
<refererObjectType>xs:int</refererObjectType>
<refererObjectID>xs:long</refererObjectID>
</deleteAllReferences>Causes this object to not be referred by any other objects.
DELETE http://domain:port/clearspace_context/rpc/rest/referenceService/referers/{referenceObjectType}/{referenceObjectID}
<deleteAllReferers>
<referenceObjectType>xs:int</referenceObjectType>
<referenceObjectID>xs:long</referenceObjectID>
</deleteAllReferers>Delete the reference between a referer and the refered content.
DELETE http://domain:port/clearspace_context/rpc/rest/referenceService/references/{refererObjectType}/{refererObjectID}/{referenceObjectType}/{referenceObjectID}
<deleteReference>
<refererObjectType>xs:int</refererObjectType>
<refererObjectID>xs:long</refererObjectID>
<referenceObjectType>xs:int</referenceObjectType>
<referenceObjectID>xs:long</referenceObjectID>
</deleteReference>Get all objects that the specfied jiveObject referers too.
GET http://domain:port/clearspace_context/rpc/rest/referenceService/references/{refererObjectType}/{refererObjectID}
<getReferences>
<refererObjectType>xs:int</refererObjectType>
<refererObjectID>xs:long</refererObjectID>
</getReferences><getReferencesResponse>
<!-- List of ... -->
<return>
<!-- Contents of JiveObject -->
<return>
</getReferencesResponse>Get a list of all the objects that refer to this specified object.
GET http://domain:port/clearspace_context/rpc/rest/referenceService/referers/{referenceObjectType}/{referenceObjectID}
<getReferers>
<referenceObjectType>xs:int</referenceObjectType>
<referenceObjectID>xs:long</referenceObjectID>
</getReferers><getReferersResponse>
<!-- List of ... -->
<return>
<!-- Contents of JiveObject -->
<return>
</getReferersResponse>Provides the ability to search for content.
| Method | Description |
|---|---|
| countQuickMessageSearchResultsByCommunityID | Returns the number of possible results for the specified query. |
| countQuickSearchResults | Returns the number of possible results for the specified query. |
| countSearchResults | Returns the number of possible results for the specified query. |
| countSearchResultsByCommunityID | Returns the number of possible results for the specified query by category. |
| quickMessageSearchByCommunityID | Provides the ability to do quick search queries based on the provided string. |
| quickSearch | Provides the ability to do quick search queries based on the provided string. |
| search | Provides the ability to create complex search queries with the ability to change sorting, filtering, etc. |
| searchByCommunities | Provides the ability to create complex search queries with the ability to change sorting, filtering, etc. all by category. |
Returns the number of possible results for the specified query.
GET http://domain:port/clearspace_context/rpc/rest/searchService/communitySearchCount/{communityID}/{query}/{contentTypes}
<countQuickMessageSearchResultsByCommunityIDResponse>
<return>xs:int</return>
</countQuickMessageSearchResultsByCommunityIDResponse>Returns the number of possible results for the specified query.
GET http://domain:port/clearspace_context/rpc/rest/searchService/searchCount
<countQuickSearchResults>
<query>xs:string</query>
<!-- List of ... -->
<contentTypes>xs:int</contentTypes>
</countQuickSearchResults><countQuickSearchResultsResponse>
<return>xs:int</return>
</countQuickSearchResultsResponse>Returns the number of possible results for the specified query.
POST http://domain:port/clearspace_context/rpc/rest/searchService/searchCount
<countSearchResults>
<query>
<!-- Contents of Query -->
<query>
<!-- List of ... -->
<contentTypes>xs:int</contentTypes>
</countSearchResults><countSearchResultsResponse>
<return>xs:int</return>
</countSearchResultsResponse>Returns the number of possible results for the specified query by category.
POST http://domain:port/clearspace_context/rpc/rest/searchService/communitySearchCount
<countSearchResultsByCommunityID>
<communityID>xs:long</communityID>
<query>
<!-- Contents of Query -->
<query>
<!-- List of ... -->
<contentTypes>xs:int</contentTypes>
</countSearchResultsByCommunityID><countSearchResultsByCommunityIDResponse>
<return>xs:int</return>
</countSearchResultsByCommunityIDResponse>Provides the ability to do quick search queries based on the provided string.
GET http://domain:port/clearspace_context/rpc/rest/searchService/communitySearch/{communityID}/{query}/{contentTypes}/{startIndex}/{numResults}
<quickMessageSearchByCommunityIDResponse>
<!-- List of ... -->
<return>
<!-- Contents of JiveObject -->
<return>
</quickMessageSearchByCommunityIDResponse>Provides the ability to do quick search queries based on the provided string.
GET http://domain:port/clearspace_context/rpc/rest/searchService/search
<quickSearch>
<query>xs:string</query>
<!-- List of ... -->
<contentTypes>xs:int</contentTypes>
<startIndex>xs:int</startIndex>
<numResults>xs:int</numResults>
</quickSearch><quickSearchResponse>
<!-- List of ... -->
<return>
<!-- Contents of JiveObject -->
<return>
</quickSearchResponse>Provides the ability to create complex search queries with the ability to change sorting, filtering, etc.
POST http://domain:port/clearspace_context/rpc/rest/searchService/search
<search>
<query>
<!-- Contents of Query -->
<query>
<!-- List of ... -->
<contentTypes>xs:int</contentTypes>
<startIndex>xs:int</startIndex>
<numResults>xs:int</numResults>
</search><searchResponse>
<!-- List of ... -->
<return>
<!-- Contents of JiveObject -->
<return>
</searchResponse>Provides the ability to create complex search queries with the ability to change sorting, filtering, etc. all by category.
POST http://domain:port/clearspace_context/rpc/rest/searchService/communitySearch
<searchByCommunities>
<communityID>xs:long</communityID>
<query>
<!-- Contents of Query -->
<query>
<!-- List of ... -->
<contentTypes>xs:int</contentTypes>
<startIndex>xs:int</startIndex>
<numResults>xs:int</numResults>
</searchByCommunities><searchByCommunitiesResponse>
<!-- List of ... -->
<return>
<!-- Contents of JiveObject -->
<return>
</searchByCommunitiesResponse>Manages status level feature. StatusLevel levels allow the system to rank users by points or associate users with a specific group.
| Method | Description |
|---|---|
| addPoints | Rewards points to a user. |
| createStatusLevel | Creates a new points based StatusLevel. |
| createStatusLevel | Creates a new group based StatusLevel Level |
| deleteStatusLevel | Deletes a statusLevel level from the system |
| getAllStatusLevelScenarios | Returns all of the objects. |
| getGroupStatusLevel | If there is a status level associated with the group passed in then the status level will be returned, Otherwise null will be returned. |
| getGroupStatusLevels | Returns an array of all group based status levels in the system. |
| getLeaders | Returns an array of system wide leaders. |
| getLeaders | Returns an array of system wide leaders. |
| getLeaders | Returns an Iterable of leaders for a specific community |
| getLeaders | Returns an Iterable of leaders for a specific community |
| getPointLevel | Returns the point level for a user system wide. |
| getPointLevel | Returns the status level points for a user in regards to a specific community |
| getPointStatusLevels | Returns an array of point based status levels in the system sorted by point range. |
| getStatusLevel | Used to acquire a specific status level object from the system |
| getStatusLevelByPoints | Used to get a status level by a point value. |
| getStatusLevelScenarioByCode | Returns a by its code. |
| getUserStatusLevel | Returns the system wide status level for specific user, will return null if there is no status level for this user. |
| isStatusLevelsEnabled | Returns true if status levels are enabled in the system |
| setStatusLevelsEnabled | Sets whether status levels should be enabled in the system. |
| updateStatusLevelScenario | Update the points and whether or not this scenario is included in status level results. |
Rewards points to a user. By providing the object and a reason we can tell which object the user is be rewarded on and a code explaining why.
Note that it is valid to submit negative point values to remove points from a user.POST http://domain:port/clearspace_context/rpc/rest/statusLevelService/addPoints
<addPoints>
<userID>xs:long</userID>
<communityID>xs:long</communityID>
<objectID>xs:long</objectID>
<objectType>xs:int</objectType>
<points>xs:long</points>
<code>xs:string</code>
</addPoints>Creates a new points based StatusLevel. The minPoints and maxPoints range must not intersect, and maxPoints cannot be zero. Specify -1 in either to denote a boundless range (ie minPoints=50, maxPoints=-1 would mean everything over 50 has this status level)
The minPoints and maxPoints values must not go into the range over another StatusLevel levels point range.POST http://domain:port/clearspace_context/rpc/rest/statusLevelService/pointStatusLevels
<createStatusLevel>
<name>xs:string</name>
<imagePath>xs:string</imagePath>
<minPoints>xs:int</minPoints>
<maxPoints>xs:int</maxPoints>
</createStatusLevel><createStatusLevelResponse>
<return>
<!-- Contents of StatusLevel -->
<return>
</createStatusLevelResponse>Creates a new group based StatusLevel Level
POST http://domain:port/clearspace_context/rpc/rest/statusLevelService/groupStatusLevels
<createStatusLevel>
<name>xs:string</name>
<imagePath>xs:string</imagePath>
<groupID>xs:long</groupID>
</createStatusLevel><createStatusLevelResponse>
<return>
<!-- Contents of StatusLevel -->
<return>
</createStatusLevelResponse>Deletes a statusLevel level from the system
DELETE http://domain:port/clearspace_context/rpc/rest/statusLevelService/statusLevels/{statusLevelID}
<deleteStatusLevel>
<statusLevelID>xs:long</statusLevelID>
</deleteStatusLevel>Returns all of the objects.
GET http://domain:port/clearspace_context/rpc/rest/statusLevelService/scenarios
<getAllStatusLevelScenariosResponse>
<!-- List of ... -->
<return>
<!-- Contents of StatusLevelScenario -->
<return>
</getAllStatusLevelScenariosResponse>If there is a status level associated with the group passed in then the status level will be returned, Otherwise null will be returned.
GET http://domain:port/clearspace_context/rpc/rest/statusLevelService/groupStatusLevels/{groupID}
<getGroupStatusLevel>
<groupID>xs:long</groupID>
</getGroupStatusLevel><getGroupStatusLevelResponse>
<return>
<!-- Contents of StatusLevel -->
<return>
</getGroupStatusLevelResponse>Returns an array of all group based status levels in the system.
GET http://domain:port/clearspace_context/rpc/rest/statusLevelService/groupStatusLevels
<getGroupStatusLevelsResponse>
<!-- List of ... -->
<return>
<!-- Contents of StatusLevel -->
<return>
</getGroupStatusLevelsResponse>Returns an array of system wide leaders.
GET http://domain:port/clearspace_context/rpc/rest/statusLevelService/leaders
<getLeadersResponse>
<!-- List of ... -->
<return>
<!-- Contents of User -->
<return>
</getLeadersResponse>Returns an array of system wide leaders.
GET http://domain:port/clearspace_context/rpc/rest/statusLevelService/leaders/{startIndex}/{numResults}
<getLeaders>
<startIndex>xs:int</startIndex>
<numResults>xs:int</numResults>
</getLeaders><getLeadersResponse>
<!-- List of ... -->
<return>
<!-- Contents of User -->
<return>
</getLeadersResponse>Returns an Iterable of leaders for a specific community
GET http://domain:port/clearspace_context/rpc/rest/statusLevelService/leadersByCommunity/{communityID}
<getLeaders>
<communityID>xs:long</communityID>
</getLeaders><getLeadersResponse>
<!-- List of ... -->
<return>
<!-- Contents of User -->
<return>
</getLeadersResponse>Returns an Iterable of leaders for a specific community
GET http://domain:port/clearspace_context/rpc/rest/statusLevelService/leadersByCommunity/{communityID}/{startIndex}/{numResults}
<getLeaders>
<communityID>xs:long</communityID>
<startIndex>xs:int</startIndex>
<numResults>xs:int</numResults>
</getLeaders><getLeadersResponse>
<!-- List of ... -->
<return>
<!-- Contents of User -->
<return>
</getLeadersResponse>Returns the point level for a user system wide.
GET http://domain:port/clearspace_context/rpc/rest/statusLevelService/pointLevel/{userID}
<getPointLevel>
<userID>xs:long</userID>
</getPointLevel><getPointLevelResponse>
<return>xs:long</return>
</getPointLevelResponse>Returns the status level points for a user in regards to a specific community
GET http://domain:port/clearspace_context/rpc/rest/statusLevelService/pointLevel/{userID}/{communityID}
<getPointLevel>
<userID>xs:long</userID>
<communityID>xs:long</communityID>
</getPointLevel><getPointLevelResponse>
<return>xs:long</return>
</getPointLevelResponse>Returns an array of point based status levels in the system sorted by point range.
GET http://domain:port/clearspace_context/rpc/rest/statusLevelService/pointStatusLevels
<getPointStatusLevelsResponse>
<!-- List of ... -->
<return>
<!-- Contents of StatusLevel -->
<return>
</getPointStatusLevelsResponse>Used to acquire a specific status level object from the system
GET http://domain:port/clearspace_context/rpc/rest/statusLevelService/statusLevels/{statusLevelID}
<getStatusLevel>
<statusLevelID>xs:long</statusLevelID>
</getStatusLevel><getStatusLevelResponse>
<return>
<!-- Contents of StatusLevel -->
<return>
</getStatusLevelResponse>Used to get a status level by a point value. If the points exceeds that of the maximum status level, the maximum status level will be returned.
GET http://domain:port/clearspace_context/rpc/rest/statusLevelService/statusLevelByPoints/{points}
<getStatusLevelByPoints>
<points>xs:long</points>
</getStatusLevelByPoints><getStatusLevelByPointsResponse>
<return>
<!-- Contents of StatusLevel -->
<return>
</getStatusLevelByPointsResponse>Returns a by its code.
GET http://domain:port/clearspace_context/rpc/rest/statusLevelService/scenarios/{code}
<getStatusLevelScenarioByCode>
<code>xs:string</code>
</getStatusLevelScenarioByCode><getStatusLevelScenarioByCodeResponse>
<return>
<!-- Contents of StatusLevelScenario -->
<return>
</getStatusLevelScenarioByCodeResponse>Returns the system wide status level for specific user, will return null if there is no status level for this user.
If the user belongs to a group status level the group status level will always be returned.GET http://domain:port/clearspace_context/rpc/rest/statusLevelService/userStatusLevels/{userID}
<getUserStatusLevel>
<userID>xs:long</userID>
</getUserStatusLevel><getUserStatusLevelResponse>
<return>
<!-- Contents of StatusLevel -->
<return>
</getUserStatusLevelResponse>Returns true if status levels are enabled in the system
GET http://domain:port/clearspace_context/rpc/rest/statusLevelService/statusLevelsEnabled
<isStatusLevelsEnabledResponse>
<return>xs:boolean</return>
</isStatusLevelsEnabledResponse>Sets whether status levels should be enabled in the system.
POST http://domain:port/clearspace_context/rpc/rest/statusLevelService/statusLevelsEnabled
<setStatusLevelsEnabled>
<statusLevelsEnabled>xs:boolean</statusLevelsEnabled>
</setStatusLevelsEnabled>Update the points and whether or not this scenario is included in status level results.
PUT http://domain:port/clearspace_context/rpc/rest/statusLevelService/scenarios
<updateStatusLevelScenario>
<scenario>
<!-- Contents of StatusLevelScenario -->
<scenario>
</updateStatusLevelScenario>Provides a web service for managing Jive System Properties.
| Method | Description |
|---|---|
| deleteProperty | Deletes a Jive System Property. |
| getProperties | Obtains all Jive System Properties. |
| saveProperty | Saves a name/value pair as a Jive System Property. |
Deletes a Jive System Property.
DELETE http://domain:port/clearspace_context/rpc/rest/systemPropertiesService/properties/{name}
<deleteProperty>
<name>xs:string</name>
</deleteProperty>Obtains all Jive System Properties.
GET http://domain:port/clearspace_context/rpc/rest/systemPropertiesService/properties
<getPropertiesResponse>
<!-- List of ... -->
<return>
<!-- Contents of Property -->
<return>
</getPropertiesResponse>Saves a name/value pair as a Jive System Property.
POST http://domain:port/clearspace_context/rpc/rest/systemPropertiesService/properties
<saveProperty>
<name>xs:string</name>
<value>xs:string</value>
</saveProperty>Provides a service to create, retrieve and delete tags.
| Method | Description |
|---|---|
| addTag | Associates a tag with this object |
| createTag | Creates a tag in the database. |
| getTagByID | Returns a tag given a tag ID. |
| getTagByName | Returns a tag by tag name. |
| getTags | Return an Iterable for all the tags associated with this manager. |
| removeAllTags | Disassociates this object with all tags. |
| removeTag | Disassociates this object with the given tag. |
Associates a tag with this object
POST http://domain:port/clearspace_context/rpc/rest/tagService/objectTags
<addTag>
<tag>xs:string</tag>
<jiveObject>
<!-- Contents of JiveObject -->
<jiveObject>
</addTag>Creates a tag in the database.
POST http://domain:port/clearspace_context/rpc/rest/tagService/tags/{tagname}
<createTag>
<tagname>xs:string</tagname>
</createTag><createTagResponse>
<return>
<!-- Contents of ContentTag -->
<return>
</createTagResponse>Returns a tag given a tag ID.
GET http://domain:port/clearspace_context/rpc/rest/tagService/tagsByID/{tagID}
<getTagByID>
<tagID>xs:long</tagID>
</getTagByID><getTagByIDResponse>
<return>
<!-- Contents of ContentTag -->
<return>
</getTagByIDResponse>Returns a tag by tag name.
GET http://domain:port/clearspace_context/rpc/rest/tagService/tags/{tagname}
<getTagByName>
<tagname>xs:string</tagname>
</getTagByName><getTagByNameResponse>
<return>
<!-- Contents of ContentTag -->
<return>
</getTagByNameResponse>Return an Iterable for all the tags associated with this manager.
GET http://domain:port/clearspace_context/rpc/rest/tagService/objectTags/{id}/{objectType}
<getTags>
<jiveObject>
<!-- Contents of JiveObject -->
<jiveObject>
</getTags><getTagsResponse>
<!-- List of ... -->
<return>
<!-- Contents of ContentTag -->
<return>
</getTagsResponse>Disassociates this object with all tags.
DELETE http://domain:port/clearspace_context/rpc/rest/tagService/removeAllTags/{id}/{objectType}
Disassociates this object with the given tag.
DELETE http://domain:port/clearspace_context/rpc/rest/tagService/objectTags/{tag}/{id}/{objectType}
<removeTag>
<tag>xs:string</tag>
<jiveObject>
<!-- Contents of JiveObject -->
<jiveObject>
</removeTag>| Method | Description |
|---|---|
| create | |
| createPersonalTask | |
| delete | |
| getTaskCount | |
| getTaskCountWithFilter | |
| getTaskbyID | |
| getTasks | |
| getTasksByProject | |
| getTasksWithFilter | |
| getUncompleteTasksByUserID | |
| update |
POST http://domain:port/clearspace_context/rpc/rest/taskService/tasks
<create>
<projectID>xs:long</projectID>
<creatorID>xs:long</creatorID>
<ownerID>xs:long</ownerID>
<subject>xs:string</subject>
<body>xs:string</body>
<dueDate>xs:dateTime</dueDate>
</create><createResponse>
<return>
<!-- Contents of Task -->
<return>
</createResponse>POST http://domain:port/clearspace_context/rpc/rest/taskService/personalTasks
<createPersonalTask>
<userID>xs:long</userID>
<subject>xs:string</subject>
<body>xs:string</body>
<dueDate>xs:dateTime</dueDate>
</createPersonalTask><createPersonalTaskResponse>
<return>
<!-- Contents of Task -->
<return>
</createPersonalTaskResponse>DELETE http://domain:port/clearspace_context/rpc/rest/taskService/tasks/{taskID}
<delete>
<taskID>xs:long</taskID>
</delete>GET http://domain:port/clearspace_context/rpc/rest/taskService/taskCount
<getTaskCountResponse>
<return>xs:int</return>
</getTaskCountResponse>POST http://domain:port/clearspace_context/rpc/rest/taskService/taskCount
<getTaskCountWithFilter>
<filter>
<!-- Contents of TaskResultFilter -->
<filter>
</getTaskCountWithFilter><getTaskCountWithFilterResponse>
<return>xs:int</return>
</getTaskCountWithFilterResponse>GET http://domain:port/clearspace_context/rpc/rest/taskService/tasks/{taskID}
<getTaskbyID>
<taskID>xs:long</taskID>
</getTaskbyID><getTaskbyIDResponse>
<return>
<!-- Contents of Task -->
<return>
</getTaskbyIDResponse>GET http://domain:port/clearspace_context/rpc/rest/taskService/tasks
<getTasksResponse>
<!-- List of ... -->
<return>
<!-- Contents of Task -->
<return>
</getTasksResponse>GET http://domain:port/clearspace_context/rpc/rest/taskService/tasksByProject/{projectID}
<getTasksByProject>
<projectID>xs:long</projectID>
</getTasksByProject><getTasksByProjectResponse>
<!-- List of ... -->
<return>
<!-- Contents of Task -->
<return>
</getTasksByProjectResponse>POST http://domain:port/clearspace_context/rpc/rest/taskService/tasksWithFilter
<getTasksWithFilter>
<filter>
<!-- Contents of TaskResultFilter -->
<filter>
</getTasksWithFilter><getTasksWithFilterResponse>
<!-- List of ... -->
<return>
<!-- Contents of Task -->
<return>
</getTasksWithFilterResponse>GET http://domain:port/clearspace_context/rpc/rest/taskService/tasksByUserID/{userID}
<getUncompleteTasksByUserID>
<userID>xs:long</userID>
</getUncompleteTasksByUserID><getUncompleteTasksByUserIDResponse>
<!-- List of ... -->
<return>
<!-- Contents of Task -->
<return>
</getUncompleteTasksByUserIDResponse>PUT http://domain:port/clearspace_context/rpc/rest/taskService/tasks
<update>
<task>
<!-- Contents of Task -->
<task>
</update>Provides a webservice for managing user's, avatar's, and status levels.
For soap services this service can be accessed at /rpc/soap/UserService For rest services this service can be accessed at /rpc/rest/users| Method | Description |
|---|---|
| createUser | Create a new user. |
| createUserWithUser | Create a new user. |
| deleteUser | Delete the user with the specified id. |
| deleteUserProperty | Delete an extended property from a user. |
| disableUser | Used to disable a user. |
| enableUser | Used to enable a user. |
| getUser | Returns a user by its id. |
| getUserByEmailAddress | Returns a user object corresponding to the email address given. |
| getUserByUsername | Returns a user by its username. |
| getUserCount | Returns the number of users in the system. |
| getUserNames | Returns the names of the all users names. |
| getUserProperties | Return all extended properties for the user with the specified id. |
| getUsers | Returns the IDs of the first 1000 users. |
| getUsersBounded | Returns the IDs of users begining at startIndex and until the number results equals numResults. |
| isReadOnly | Returns true if this UserService is read-only. |
| setPassword | Used to change a user's password. |
| setUserProperty | Set an extended property for a user. |
| updateUser | Used to update user information in the system. |
Create a new user.
POST http://domain:port/clearspace_context/rpc/rest/userService/users/create
<createUser>
<username>xs:string</username>
<password>xs:string</password>
<email>xs:string</email>
</createUser><createUserResponse>
<return>
<!-- Contents of User -->
<return>
</createUserResponse>Create a new user. The id field is ignored, after creation the user object returned will have the correct user id.
POST http://domain:port/clearspace_context/rpc/rest/userService/users
<createUserWithUser>
<user>
<!-- Contents of User -->
<user>
</createUserWithUser><createUserWithUserResponse>
<return>
<!-- Contents of User -->
<return>
</createUserWithUserResponse>Delete the user with the specified id.
DELETE http://domain:port/clearspace_context/rpc/rest/userService/users/{userID}
<deleteUser>
<userID>xs:long</userID>
</deleteUser>Delete an extended property from a user.
DELETE http://domain:port/clearspace_context/rpc/rest/userService/properties/{userID}/{name}
<deleteUserProperty>
<name>xs:string</name>
<userID>xs:long</userID>
</deleteUserProperty>Used to disable a user.
PUT http://domain:port/clearspace_context/rpc/rest/userService/enable
<disableUser>
<userID>xs:long</userID>
</disableUser>Used to enable a user.
PUT http://domain:port/clearspace_context/rpc/rest/userService/disable
<enableUser>
<userID>xs:long</userID>
</enableUser>Returns a user by its id.
GET http://domain:port/clearspace_context/rpc/rest/userService/usersByID/{userID}
<getUser>
<userID>xs:long</userID>
</getUser><getUserResponse>
<return>
<!-- Contents of User -->
<return>
</getUserResponse>Returns a user object corresponding to the email address given.
GET http://domain:port/clearspace_context/rpc/rest/userService/usersByEmail/{emailAddress}
<getUserByEmailAddress>
<emailAddress>xs:string</emailAddress>
</getUserByEmailAddress><getUserByEmailAddressResponse>
<return>
<!-- Contents of User -->
<return>
</getUserByEmailAddressResponse>Returns a user by its username.
GET http://domain:port/clearspace_context/rpc/rest/userService/users/{username}
<getUserByUsername>
<username>xs:string</username>
</getUserByUsername><getUserByUsernameResponse>
<return>
<!-- Contents of User -->
<return>
</getUserByUsernameResponse>Returns the number of users in the system.
GET http://domain:port/clearspace_context/rpc/rest/userService/users/count
<getUserCountResponse>
<return>xs:int</return>
</getUserCountResponse>Returns the names of the all users names.
GET http://domain:port/clearspace_context/rpc/rest/userService/userNames
<getUserNamesResponse>
<!-- List of ... -->
<return>xs:string</return>
</getUserNamesResponse>Return all extended properties for the user with the specified id.
GET http://domain:port/clearspace_context/rpc/rest/userService/properties/{userID}
<getUserProperties>
<userID>xs:long</userID>
</getUserProperties><getUserPropertiesResponse>
<!-- List of ... -->
<return>
<!-- Contents of Property -->
<return>
</getUserPropertiesResponse>Returns the IDs of the first 1000 users.
GET http://domain:port/clearspace_context/rpc/rest/userService/users
<getUsersResponse>
<!-- List of ... -->
<return>
<!-- Contents of User -->
<return>
</getUsersResponse>Returns the IDs of users begining at startIndex and until the number results equals numResults.
GET http://domain:port/clearspace_context/rpc/rest/userService/usersBounded/{startIndex}/{numResults}
<getUsersBounded>
<startIndex>xs:int</startIndex>
<numResults>xs:int</numResults>
</getUsersBounded><getUsersBoundedResponse>
<!-- List of ... -->
<return>
<!-- Contents of User -->
<return>
</getUsersBoundedResponse>Returns true if this UserService is read-only. When read-only, users can not be created, deleted, or modified.
GET http://domain:port/clearspace_context/rpc/rest/userService/isReadOnly
<isReadOnlyResponse>
<return>xs:boolean</return>
</isReadOnlyResponse>Used to change a user's password.
PUT http://domain:port/clearspace_context/rpc/rest/userService/password
<setPassword>
<userID>xs:long</userID>
<password>xs:string</password>
</setPassword>Set an extended property for a user.
POST http://domain:port/clearspace_context/rpc/rest/userService/properties
<setUserProperty>
<name>xs:string</name>
<value>xs:string</value>
<userID>xs:long</userID>
</setUserProperty>Used to update user information in the system.
PUT http://domain:port/clearspace_context/rpc/rest/userService/users
<updateUser>
<user>
<!-- Contents of User -->
<user>
</updateUser>A service for manipulating a user's watches on objects.
| Method | Description |
|---|---|
| createCommunityWatch | Create a watch on a community for the specified user. |
| createThreadWatch | Create a watch on a thread for the specified user. |
| createUserWatch | Create a watch on a user for the specified user. |
| deleteWatch | Delete the specified watch. |
| deleteWatches | Deletes all watches that a user has. |
| getCommunityWatch | Returns a watch on a particular community, or null if there isn't a watch. |
| getCommunityWatchCount | Return the count of all community watches in a particular communityID for the given userID. |
| getCommunityWatches | Returns an array of IDs for all the community objects a user is watching in a community. |
| getDeleteDays | Returns the number of days that a watched object can remain inactive before watches on that object are deleted. |
| getThreadWatch | Returns a watch on a particular thread, or null if there isn't a watch. |
| getTotalWatchCount | Returns a count of all watches that a userID has of a particular type. |
| getUserWatch | Returns a watch on a particular user, or null if there isn't a watch. |
| getWatchList | Returns an array of Watch objects for a particular object type that the given user is watching. |
| getWatchUsers | Returns all the users who are watching this objectType and objectID. |
| isCommunityWatched | Returns true if the user is watching the specified community. |
| isThreadWatched | Returns true if the user is watching the specified thread. |
| isUserWatched | Returns true if the user is watching the specified user. |
| setDeleteDays | Sets the number of days that a watched object can remain inactive before watches on that object are deleted. |
Create a watch on a community for the specified user.
POST http://domain:port/clearspace_context/rpc/rest/watchService/communityWatches
<createCommunityWatch>
<userID>xs:long</userID>
<communityID>xs:long</communityID>
</createCommunityWatch><createCommunityWatchResponse>
<return>
<!-- Contents of Watch -->
<return>
</createCommunityWatchResponse>Create a watch on a thread for the specified user.
POST http://domain:port/clearspace_context/rpc/rest/watchService/threadWatches
<createThreadWatch>
<userID>xs:long</userID>
<threadID>xs:long</threadID>
</createThreadWatch><createThreadWatchResponse>
<return>
<!-- Contents of Watch -->
<return>
</createThreadWatchResponse>Create a watch on a user for the specified user.
POST http://domain:port/clearspace_context/rpc/rest/watchService/userWatches
<createUserWatch>
<userID>xs:long</userID>
<watchedUserID>xs:long</watchedUserID>
</createUserWatch><createUserWatchResponse>
<return>
<!-- Contents of Watch -->
<return>
</createUserWatchResponse>Delete the specified watch.
DELETE http://domain:port/clearspace_context/rpc/rest/watchService/watches/{userID}/{objectID}/{objectType}
<deleteWatch>
<watch>
<!-- Contents of Watch -->
<watch>
</deleteWatch>Deletes all watches that a user has.
DELETE http://domain:port/clearspace_context/rpc/rest/watchService/users/{userID}
<deleteWatches>
<userID>xs:long</userID>
</deleteWatches>Returns a watch on a particular community, or null if there isn't a watch.
GET http://domain:port/clearspace_context/rpc/rest/watchService/communityWatches/{userID}/{communityID}
<getCommunityWatch>
<userID>xs:long</userID>
<communityID>xs:long</communityID>
</getCommunityWatch><getCommunityWatchResponse>
<return>
<!-- Contents of Watch -->
<return>
</getCommunityWatchResponse>Return the count of all community watches in a particular communityID for the given userID.
GET http://domain:port/clearspace_context/rpc/rest/watchService/communityWatches/count/{userID}/{communityID}
<getCommunityWatchCount>
<userID>xs:long</userID>
<communityID>xs:long</communityID>
</getCommunityWatchCount><getCommunityWatchCountResponse>
<return>xs:int</return>
</getCommunityWatchCountResponse>Returns an array of IDs for all the community objects a user is watching in a community.
GET http://domain:port/clearspace_context/rpc/rest/watchService/allCommunityWatches/{userID}/{communityID}
<getCommunityWatches>
<userID>xs:long</userID>
<communityID>xs:long</communityID>
</getCommunityWatches><getCommunityWatchesResponse>
<!-- List of ... -->
<return>xs:long</return>
</getCommunityWatchesResponse>Returns the number of days that a watched object can remain inactive before watches on that object are deleted.
GET http://domain:port/clearspace_context/rpc/rest/watchService/deleteDays
<getDeleteDaysResponse>
<return>xs:int</return>
</getDeleteDaysResponse>Returns a watch on a particular thread, or null if there isn't a watch.
GET http://domain:port/clearspace_context/rpc/rest/watchService/threadWatches/{userID}/{threadID}
<getThreadWatch>
<userID>xs:long</userID>
<threadID>xs:long</threadID>
</getThreadWatch><getThreadWatchResponse>
<return>
<!-- Contents of Watch -->
<return>
</getThreadWatchResponse>Returns a count of all watches that a userID has of a particular type. Valid object types are:
GET http://domain:port/clearspace_context/rpc/rest/watchService/watches/count/{userID}/{objectType}
<getTotalWatchCount>
<userID>xs:long</userID>
<objectType>xs:int</objectType>
</getTotalWatchCount><getTotalWatchCountResponse>
<return>xs:int</return>
</getTotalWatchCountResponse>Returns a watch on a particular user, or null if there isn't a watch.
GET http://domain:port/clearspace_context/rpc/rest/watchService/userWatches/{userID}/{watchedUserID}
<getUserWatch>
<userID>xs:long</userID>
<watchedUserID>xs:long</watchedUserID>
</getUserWatch><getUserWatchResponse>
<return>
<!-- Contents of Watch -->
<return>
</getUserWatchResponse>Returns an array of Watch objects for a particular object type that the given user is watching. Valid objectType's are:
GET http://domain:port/clearspace_context/rpc/rest/watchService/watches/{userID}/{objectType}
<getWatchList>
<userID>xs:long</userID>
<objectType>xs:int</objectType>
</getWatchList><getWatchListResponse>
<!-- List of ... -->
<return>
<!-- Contents of Watch -->
<return>
</getWatchListResponse>Returns all the users who are watching this objectType and objectID.
GET http://domain:port/clearspace_context/rpc/rest/watchService/users/{objectType}/{objectID}/{watchType}
<getWatchUsers>
<objectType>xs:int</objectType>
<objectID>xs:long</objectID>
<watchType>xs:int</watchType>
</getWatchUsers><getWatchUsersResponse>
<!-- List of ... -->
<return>
<!-- Contents of User -->
<return>
</getWatchUsersResponse>Returns true if the user is watching the specified community.
GET http://domain:port/clearspace_context/rpc/rest/watchService/isCommunityWatched/{userID}/{communityID}
<isCommunityWatched>
<userID>xs:long</userID>
<communityID>xs:long</communityID>
</isCommunityWatched><isCommunityWatchedResponse>
<return>xs:boolean</return>
</isCommunityWatchedResponse>Returns true if the user is watching the specified thread.
GET http://domain:port/clearspace_context/rpc/rest/watchService/isThreadWatched/{userID}/{threadID}
<isThreadWatched>
<userID>xs:long</userID>
<threadID>xs:long</threadID>
</isThreadWatched><isThreadWatchedResponse>
<return>xs:boolean</return>
</isThreadWatchedResponse>Returns true if the user is watching the specified user.
GET http://domain:port/clearspace_context/rpc/rest/watchService/isUserWatched/{userID}/{watchedUserID}
<isUserWatched>
<userID>xs:long</userID>
<watchedUserID>xs:long</watchedUserID>
</isUserWatched><isUserWatchedResponse>
<return>xs:boolean</return>
</isUserWatchedResponse>Sets the number of days that a watched object can remain inactive before watches on that object are deleted.
POST http://domain:port/clearspace_context/rpc/rest/watchService/deleteDays
<setDeleteDays>
<deleteDays>xs:int</deleteDays>
</setDeleteDays> <approved>xs:boolean</approved>
<approvedDate>xs:dateTime</approvedDate>
<userID>xs:long</userID>
<contentType>xs:string</contentType>
<!-- List of ... -->
<data>xs:base64Binary</data>
<name>xs:string</name>
<ID>xs:long</ID>
<objectType>xs:int</objectType>
<attachment>
<!-- Contents of Attachment -->
<attachment>
<owner>
<!-- Contents of User -->
<owner>
<properties>HashMap</properties>
<ID>xs:long</ID>
<objectType>xs:int</objectType>
<contentType>xs:string</contentType>
<!-- List of ... -->
<data>xs:base64Binary</data>
<downloadCount>xs:int</downloadCount>
<name>xs:string</name>
<size>xs:long</size>
<ID>xs:long</ID>
<objectType>xs:int</objectType>
<!-- List of ... -->
<allBlogPostIDs>Long</allBlogPostIDs>
<blogPostCount>xs:int</blogPostCount>
<commentAuthenticationStrategy>xs:int</commentAuthenticationStrategy>
<commentCount>xs:int</commentCount>
<commentModerationEnabled>xs:boolean</commentModerationEnabled>
<commentNotificationEnabled>xs:boolean</commentNotificationEnabled>
<containerBlog>xs:boolean</containerBlog>
<creationDate>xs:dateTime</creationDate>
<description>xs:string</description>
<displayName>xs:string</displayName>
<feedEnabled>xs:boolean</feedEnabled>
<feedFullContent>xs:boolean</feedFullContent>
<firstPostID>xs:long</firstPostID>
<lastPostID>xs:long</lastPostID>
<modificationDate>xs:dateTime</modificationDate>
<name>xs:string</name>
<overridePing>xs:boolean</overridePing>
<pingServices>xs:string</pingServices>
<!-- List of ... -->
<popularTags>
<!-- Contents of TagCount -->
<popularTags>
<!-- List of ... -->
<properties>
<!-- Contents of Property -->
<properties>
<!-- List of ... -->
<recentBlogPostIDs>Long</recentBlogPostIDs>
<!-- List of ... -->
<recentCommentIDs>Long</recentCommentIDs>
<!-- List of ... -->
<tags>
<!-- Contents of TagCount -->
<tags>
<trackbackCount>xs:int</trackbackCount>
<trackbackModerationEnabled>xs:boolean</trackbackModerationEnabled>
<trackbackNotificationEnabled>xs:boolean</trackbackNotificationEnabled>
<userCount>xs:int</userCount>
<!-- List of ... -->
<userIDs>Long</userIDs>
<ID>xs:long</ID>
<objectType>xs:int</objectType>
<attachmentCount>xs:int</attachmentCount>
<blogID>xs:long</blogID>
<body>xs:string</body>
<commentCount>xs:int</commentCount>
<commentStatus>xs:int</commentStatus>
<creationDate>xs:dateTime</creationDate>
<imageCount>xs:int</imageCount>
<modificationDate>xs:dateTime</modificationDate>
<nextPostID>xs:long</nextPostID>
<permalink>xs:string</permalink>
<plainBody>xs:string</plainBody>
<plainSubject>xs:string</plainSubject>
<previousPostID>xs:long</previousPostID>
<!-- List of ... -->
<properties>
<!-- Contents of Property -->
<properties>
<publishDate>xs:dateTime</publishDate>
<status>xs:int</status>
<subject>xs:string</subject>
<!-- List of ... -->
<tags>xs:string</tags>
<trackbacksEnabled>xs:boolean</trackbacksEnabled>
<unfilteredSubject>xs:string</unfilteredSubject>
<user>
<!-- Contents of User -->
<user>
<creationDateRangeMax>xs:dateTime</creationDateRangeMax>
<creationDateRangeMin>xs:dateTime</creationDateRangeMin>
<moderationRangeMax>xs:int</moderationRangeMax>
<moderationRangeMin>xs:int</moderationRangeMin>
<modificationDateRangeMax>xs:dateTime</modificationDateRangeMax>
<modificationDateRangeMin>xs:dateTime</modificationDateRangeMin>
<numResults>xs:int</numResults>
<recursive>xs:boolean</recursive>
<resolutionDateRangeMin>xs:int</resolutionDateRangeMin>
<!-- List of ... -->
<resolutionStates>xs:string</resolutionStates>
<resolutionnDateRangeMax>xs:int</resolutionnDateRangeMax>
<sortField>xs:int</sortField>
<sortOrder>xs:int</sortOrder>
<startIndex>xs:int</startIndex>
<!-- List of ... -->
<tags>xs:string</tags>
<userID>xs:long</userID>
<blogID>xs:long</blogID>
<onlyPublished>xs:boolean</onlyPublished>
<publishDateRangeMax>xs:dateTime</publishDateRangeMax>
<publishDateRangeMin>xs:dateTime</publishDateRangeMin>
<creationDateRangeMax>xs:dateTime</creationDateRangeMax>
<creationDateRangeMin>xs:dateTime</creationDateRangeMin>
<moderationRangeMax>xs:int</moderationRangeMax>
<moderationRangeMin>xs:int</moderationRangeMin>
<modificationDateRangeMax>xs:dateTime</modificationDateRangeMax>
<modificationDateRangeMin>xs:dateTime</modificationDateRangeMin>
<numResults>xs:int</numResults>
<recursive>xs:boolean</recursive>
<resolutionDateRangeMin>xs:int</resolutionDateRangeMin>
<!-- List of ... -->
<resolutionStates>xs:string</resolutionStates>
<resolutionnDateRangeMax>xs:int</resolutionnDateRangeMax>
<sortField>xs:int</sortField>
<sortOrder>xs:int</sortOrder>
<startIndex>xs:int</startIndex>
<!-- List of ... -->
<tags>xs:string</tags>
<userID>xs:long</userID>
<onlyCommunity>xs:boolean</onlyCommunity>
<onlyPersonal>xs:boolean</onlyPersonal>
<prefix>xs:string</prefix>
<minimum>xs:int</minimum>
<creationDateRangeMax>xs:dateTime</creationDateRangeMax>
<creationDateRangeMin>xs:dateTime</creationDateRangeMin>
<moderationRangeMax>xs:int</moderationRangeMax>
<moderationRangeMin>xs:int</moderationRangeMin>
<modificationDateRangeMax>xs:dateTime</modificationDateRangeMax>
<modificationDateRangeMin>xs:dateTime</modificationDateRangeMin>
<numResults>xs:int</numResults>
<recursive>xs:boolean</recursive>
<resolutionDateRangeMin>xs:int</resolutionDateRangeMin>
<!-- List of ... -->
<resolutionStates>xs:string</resolutionStates>
<resolutionnDateRangeMax>xs:int</resolutionnDateRangeMax>
<sortField>xs:int</sortField>
<sortOrder>xs:int</sortOrder>
<startIndex>xs:int</startIndex>
<!-- List of ... -->
<tags>xs:string</tags>
<userID>xs:long</userID>
<publishDateRangeMax>xs:dateTime</publishDateRangeMax>
<publishDateRangeMin>xs:dateTime</publishDateRangeMin>
<ID>xs:long</ID>
<objectType>xs:int</objectType>
<creationDate>xs:dateTime</creationDate>
<description>xs:string</description>
<dueDate>xs:dateTime</dueDate>
<modificationDate>xs:dateTime</modificationDate>
<name>xs:string</name>
<anonymous>xs:boolean</anonymous>
<body>xs:string</body>
<commentObjectID>xs:long</commentObjectID>
<commentObjectType>xs:int</commentObjectType>
<creationDate>xs:dateTime</creationDate>
<email>xs:string</email>
<ID>xs:long</ID>
<IPAddress>xs:string</IPAddress>
<moderated>xs:boolean</moderated>
<modificationDate>xs:dateTime</modificationDate>
<name>xs:string</name>
<objectType>xs:int</objectType>
<!-- List of ... -->
<properties>
<!-- Contents of Property -->
<properties>
<URL>xs:string</URL>
<user>
<!-- Contents of User -->
<user>
<creationDateRangeMax>xs:dateTime</creationDateRangeMax>
<creationDateRangeMin>xs:dateTime</creationDateRangeMin>
<moderationRangeMax>xs:int</moderationRangeMax>
<moderationRangeMin>xs:int</moderationRangeMin>
<modificationDateRangeMax>xs:dateTime</modificationDateRangeMax>
<modificationDateRangeMin>xs:dateTime</modificationDateRangeMin>
<numResults>xs:int</numResults>
<recursive>xs:boolean</recursive>
<resolutionDateRangeMin>xs:int</resolutionDateRangeMin>
<!-- List of ... -->
<resolutionStates>xs:string</resolutionStates>
<resolutionnDateRangeMax>xs:int</resolutionnDateRangeMax>
<sortField>xs:int</sortField>
<sortOrder>xs:int</sortOrder>
<startIndex>xs:int</startIndex>
<!-- List of ... -->
<tags>xs:string</tags>
<userID>xs:long</userID>
<communityID>xs:long</communityID>
<includeModerated>xs:boolean</includeModerated>
<!-- List of ... -->
<availableContentTypes>xs:string</availableContentTypes>
<!-- List of ... -->
<contentTypes>xs:string</contentTypes>
<creationDate>xs:dateTime</creationDate>
<description>xs:string</description>
<displayName>xs:string</displayName>
<modificationDate>xs:dateTime</modificationDate>
<name>xs:string</name>
<ID>xs:long</ID>
<objectType>xs:int</objectType>
<communityCount>xs:int</communityCount>
<communityDepth>xs:int</communityDepth>
<finalLocale>
<!-- Contents of Locale -->
<finalLocale>
<latestMessageID>xs:long</latestMessageID>
<locale>
<!-- Contents of Locale -->
<locale>
<messageCount>xs:int</messageCount>
<parentCommunityID>xs:long</parentCommunityID>
<recursiveCommunityCount>xs:int</recursiveCommunityCount>
<threadCount>xs:int</threadCount>
<ID>xs:long</ID>
<objectType>xs:int</objectType>
<creationDate>xs:dateTime</creationDate>
<name>xs:string</name>
<unfilteredName>xs:string</unfilteredName>
<ID>xs:long</ID>
<objectType>xs:int</objectType>
<anonymous>xs:boolean</anonymous>
<approvalEnabled>xs:boolean</approvalEnabled>
<attachmentCount>xs:int</attachmentCount>
<authorCount>xs:int</authorCount>
<body>xs:string</body>
<commentStatus>xs:int</commentStatus>
<containerID>xs:long</containerID>
<containerType>xs:int</containerType>
<creationDate>xs:dateTime</creationDate>
<documentID>xs:string</documentID>
<documentState>xs:string</documentState>
<documentTypeID>xs:long</documentTypeID>
<expirationDate>xs:dateTime</expirationDate>
<imageCount>xs:int</imageCount>
<language>xs:string</language>
<modificationDate>xs:dateTime</modificationDate>
<!-- List of ... -->
<properties>
<!-- Contents of Property -->
<properties>
<subject>xs:string</subject>
<textBody>xs:boolean</textBody>
<trackbacksEnabled>xs:boolean</trackbacksEnabled>
<unfilteredSubject>xs:string</unfilteredSubject>
<userID>xs:long</userID>
<creationDateRangeMax>xs:dateTime</creationDateRangeMax>
<creationDateRangeMin>xs:dateTime</creationDateRangeMin>
<moderationRangeMax>xs:int</moderationRangeMax>
<moderationRangeMin>xs:int</moderationRangeMin>
<modificationDateRangeMax>xs:dateTime</modificationDateRangeMax>
<modificationDateRangeMin>xs:dateTime</modificationDateRangeMin>
<numResults>xs:int</numResults>
<recursive>xs:boolean</recursive>
<resolutionDateRangeMin>xs:int</resolutionDateRangeMin>
<!-- List of ... -->
<resolutionStates>xs:string</resolutionStates>
<resolutionnDateRangeMax>xs:int</resolutionnDateRangeMax>
<sortField>xs:int</sortField>
<sortOrder>xs:int</sortOrder>
<startIndex>xs:int</startIndex>
<!-- List of ... -->
<tags>xs:string</tags>
<userID>xs:long</userID>
<includeModerated>xs:boolean</includeModerated>
<anonymous>xs:boolean</anonymous>
<attachmentCount>xs:int</attachmentCount>
<body>xs:string</body>
<creationDate>xs:dateTime</creationDate>
<forumThreadID>xs:long</forumThreadID>
<html>xs:boolean</html>
<ID>xs:long</ID>
<imageCount>xs:int</imageCount>
<jiveContainerID>xs:long</jiveContainerID>
<jiveContainerType>xs:int</jiveContainerType>
<moderationValue>xs:int</moderationValue>
<modificationDate>xs:dateTime</modificationDate>
<parentMessageID>xs:long</parentMessageID>
<subject>xs:string</subject>
<unfilteredSubject>xs:string</unfilteredSubject>
<user>
<!-- Contents of User -->
<user>
<ID>xs:long</ID>
<objectType>xs:int</objectType>
<communityID>xs:long</communityID>
<creationDate>xs:dateTime</creationDate>
<latestMessageID>xs:long</latestMessageID>
<messageCount>xs:int</messageCount>
<moderationValue>xs:int</moderationValue>
<modificationDate>xs:dateTime</modificationDate>
<name>xs:string</name>
<rootMessage>
<!-- Contents of ForumMessage -->
<rootMessage>
<ID>xs:long</ID>
<objectType>xs:int</objectType>
<creationDate>xs:dateTime</creationDate>
<description>xs:string</description>
<memberCount>xs:int</memberCount>
<modificationDate>xs:dateTime</modificationDate>
<name>xs:string</name>
<contentType>xs:string</contentType>
<!-- List of ... -->
<data>xs:base64Binary</data>
<name>xs:string</name>
<ID>xs:long</ID>
<objectType>xs:int</objectType>
<countryCode>xs:string</countryCode>
<languageCode>xs:string</languageCode>
<ID>xs:long</ID>
<objectType>xs:int</objectType>
<commentStatus>xs:int</commentStatus>
<containerObjectID>xs:long</containerObjectID>
<containerObjectType>xs:int</containerObjectType>
<creationDate>xs:dateTime</creationDate>
<description>xs:string</description>
<endDate>xs:dateTime</endDate>
<expirationDate>xs:dateTime</expirationDate>
<mode>xs:long</mode>
<modificationDate>xs:dateTime</modificationDate>
<name>xs:string</name>
<optionCount>xs:int</optionCount>
<!-- List of ... -->
<options>xs:string</options>
<startDate>xs:dateTime</startDate>
<user>
<!-- Contents of User -->
<user>
<voteCount>xs:int</voteCount>
<ID>xs:long</ID>
<objectType>xs:int</objectType>
<body>xs:string</body>
<date>xs:dateTime</date>
<folderID>xs:long</folderID>
<ownerID>xs:long</ownerID>
<recipientID>xs:long</recipientID>
<senderID>xs:long</senderID>
<subject>xs:string</subject>
<ID>xs:long</ID>
<objectType>xs:int</objectType>
<messageCount>xs:int</messageCount>
<name>xs:string</name>
<ownerID>xs:long</ownerID>
<unreadMessageCount>xs:int</unreadMessageCount>
<description>xs:string</description>
<editable>xs:boolean</editable>
<filterable>xs:boolean</filterable>
<ID>xs:long</ID>
<index>xs:int</index>
<name>xs:string</name>
<!-- List of ... -->
<options>
<!-- Contents of ProfileFieldOption -->
<options>
<required>xs:boolean</required>
<searchable>xs:boolean</searchable>
<typeID>xs:int</typeID>
<visible>xs:boolean</visible>
<defaultOption>xs:boolean</defaultOption>
<fieldID>xs:long</fieldID>
<index>xs:int</index>
<value>xs:string</value>
<fieldID>xs:long</fieldID>
<maxValue>xs:string</maxValue>
<minValue>xs:string</minValue>
<value>xs:string</value>
<community>xs:long</community>
<!-- List of ... -->
<filters>
<!-- Contents of ProfileSearchFilter -->
<filters>
<keywords>xs:string</keywords>
<searchEmail>xs:boolean</searchEmail>
<searchName>xs:boolean</searchName>
<searchProfile>xs:boolean</searchProfile>
<searchUsername>xs:boolean</searchUsername>
<sort>xs:int</sort>
<!-- List of ... -->
<availableContentTypes>xs:string</availableContentTypes>
<!-- List of ... -->
<contentTypes>xs:string</contentTypes>
<creationDate>xs:dateTime</creationDate>
<description>xs:string</description>
<displayName>xs:string</displayName>
<modificationDate>xs:dateTime</modificationDate>
<name>xs:string</name>
<ID>xs:long</ID>
<objectType>xs:int</objectType>
<dueDate>xs:dateTime</dueDate>
<parentContainerID>xs:long</parentContainerID>
<parentContainerType>xs:int</parentContainerType>
<userID>xs:long</userID>
<name>xs:string</name>
<value>xs:string</value>
<afterDate>xs:dateTime</afterDate>
<beforeDate>xs:dateTime</beforeDate>
<queryString>xs:string</queryString>
<sortField>xs:int</sortField>
<sortOrder>xs:int</sortOrder>
<description>xs:string</description>
<score>xs:int</score>
<creationDateRangeMax>xs:dateTime</creationDateRangeMax>
<creationDateRangeMin>xs:dateTime</creationDateRangeMin>
<moderationRangeMax>xs:int</moderationRangeMax>
<moderationRangeMin>xs:int</moderationRangeMin>
<modificationDateRangeMax>xs:dateTime</modificationDateRangeMax>
<modificationDateRangeMin>xs:dateTime</modificationDateRangeMin>
<numResults>xs:int</numResults>
<recursive>xs:boolean</recursive>
<resolutionDateRangeMin>xs:int</resolutionDateRangeMin>
<!-- List of ... -->
<resolutionStates>xs:string</resolutionStates>
<resolutionnDateRangeMax>xs:int</resolutionnDateRangeMax>
<sortField>xs:int</sortField>
<sortOrder>xs:int</sortOrder>
<startIndex>xs:int</startIndex>
<!-- List of ... -->
<tags>xs:string</tags>
<userID>xs:long</userID>
<ID>xs:long</ID>
<objectType>xs:int</objectType>
<description>xs:string</description>
<group>
<!-- Contents of Group -->
<group>
<imagePath>xs:string</imagePath>
<largeImagePath>xs:string</largeImagePath>
<maxPoints>xs:int</maxPoints>
<minPoints>xs:int</minPoints>
<name>xs:string</name>
<ID>xs:long</ID>
<objectType>xs:int</objectType>
<code>xs:string</code>
<enabled>xs:boolean</enabled>
<i18nKey>xs:string</i18nKey>
<points>xs:long</points>
<name>xs:string</name>
<uses>xs:int</uses>
<creationDateRangeMax>xs:dateTime</creationDateRangeMax>
<creationDateRangeMin>xs:dateTime</creationDateRangeMin>
<moderationRangeMax>xs:int</moderationRangeMax>
<moderationRangeMin>xs:int</moderationRangeMin>
<modificationDateRangeMax>xs:dateTime</modificationDateRangeMax>
<modificationDateRangeMin>xs:dateTime</modificationDateRangeMin>
<numResults>xs:int</numResults>
<recursive>xs:boolean</recursive>
<resolutionDateRangeMin>xs:int</resolutionDateRangeMin>
<!-- List of ... -->
<resolutionStates>xs:string</resolutionStates>
<resolutionnDateRangeMax>xs:int</resolutionnDateRangeMax>
<sortField>xs:int</sortField>
<sortOrder>xs:int</sortOrder>
<startIndex>xs:int</startIndex>
<!-- List of ... -->
<tags>xs:string</tags>
<userID>xs:long</userID>
<minimum>xs:int</minimum>
<assignor>
<!-- Contents of User -->
<assignor>
<body>xs:string</body>
<completed>xs:boolean</completed>
<creationDate>xs:dateTime</creationDate>
<dueDate>xs:dateTime</dueDate>
<ID>xs:long</ID>
<modificationDate>xs:dateTime</modificationDate>
<owner>
<!-- Contents of User -->
<owner>
<parentObjectID>xs:long</parentObjectID>
<parentObjectType>xs:int</parentObjectType>
<subject>xs:string</subject>
<user>
<!-- Contents of User -->
<user>
<creationDateRangeMax>xs:dateTime</creationDateRangeMax>
<creationDateRangeMin>xs:dateTime</creationDateRangeMin>
<moderationRangeMax>xs:int</moderationRangeMax>
<moderationRangeMin>xs:int</moderationRangeMin>
<modificationDateRangeMax>xs:dateTime</modificationDateRangeMax>
<modificationDateRangeMin>xs:dateTime</modificationDateRangeMin>
<numResults>xs:int</numResults>
<recursive>xs:boolean</recursive>
<resolutionDateRangeMin>xs:int</resolutionDateRangeMin>
<!-- List of ... -->
<resolutionStates>xs:string</resolutionStates>
<resolutionnDateRangeMax>xs:int</resolutionnDateRangeMax>
<sortField>xs:int</sortField>
<sortOrder>xs:int</sortOrder>
<startIndex>xs:int</startIndex>
<!-- List of ... -->
<tags>xs:string</tags>
<userID>xs:long</userID>
<dueDateRangeMax>xs:dateTime</dueDateRangeMax>
<dueDateRangeMin>xs:dateTime</dueDateRangeMin>
<onlyComplete>xs:boolean</onlyComplete>
<onlyIncomplete>xs:boolean</onlyIncomplete>
<onlyPersonal>xs:boolean</onlyPersonal>
<onlyProject>xs:boolean</onlyProject>
<ownerID>xs:long</ownerID>
<projectID>xs:long</projectID>
<creationDate>xs:dateTime</creationDate>
<email>xs:string</email>
<emailVisible>xs:boolean</emailVisible>
<enabled>xs:boolean</enabled>
<ID>xs:long</ID>
<modificationDate>xs:dateTime</modificationDate>
<name>xs:string</name>
<nameVisible>xs:boolean</nameVisible>
<password>xs:string</password>
<username>xs:string</username>
<communityID>xs:long</communityID>
<includeModerated>xs:boolean</includeModerated>
<creationDateRangeMax>xs:dateTime</creationDateRangeMax>
<creationDateRangeMin>xs:dateTime</creationDateRangeMin>
<moderationRangeMax>xs:int</moderationRangeMax>
<moderationRangeMin>xs:int</moderationRangeMin>
<modificationDateRangeMax>xs:dateTime</modificationDateRangeMax>
<modificationDateRangeMin>xs:dateTime</modificationDateRangeMin>
<numResults>xs:int</numResults>
<recursive>xs:boolean</recursive>
<resolutionDateRangeMin>xs:int</resolutionDateRangeMin>
<!-- List of ... -->
<resolutionStates>xs:string</resolutionStates>
<resolutionnDateRangeMax>xs:int</resolutionnDateRangeMax>
<sortField>xs:int</sortField>
<sortOrder>xs:int</sortOrder>
<startIndex>xs:int</startIndex>
<!-- List of ... -->
<tags>xs:string</tags>
<userID>xs:long</userID>
<includeAuthorsInUserFilter>xs:boolean</includeAuthorsInUserFilter>
<includeDocumentBackChannelComments>xs:boolean</includeDocumentBackChannelComments>
<includeOwnComments>xs:boolean</includeOwnComments>
<fieldID>xs:long</fieldID>
<value>xs:string</value>
<!-- List of ... -->
<values>xs:string</values>
<expirable>xs:boolean</expirable>
<objectID>xs:long</objectID>
<objectType>xs:int</objectType>
<userID>xs:long</userID>
<watchType>xs:int</watchType>