JBoss.orgCommunity Documentation
Name | Service URL | Location | Description |
---|---|---|---|
SpacesRestService | {restContextName}/{portalName}/social/spaces |
Maven groupId: org.exoplatform.social ArtifactId: exo.social.component.service | Provide REST services for space gadget to display users' spaces and pending spaces. |
API:
Name | Service URL Endpoint | Parameters | Expected Values | Description |
---|---|---|---|---|
showMySpaceList | {restContextName}/social/spaces/mySpaces/show.{format} |
portalName format |
String String: json or xml | Show mySpaceList by the JSON/XML format. |
showPendingSpaceList | {restContextName}/social/spaces/pendingSpaces/show.{format} |
portalName format |
String String: json or xml | Show pendingSpaceList by the JSON/XML format. |
suggestSpacenames | {restContextName}/social/spaces/spaceNames/suggest.{format} |
portalName conditionToSearch typeOfRelation currentUser format |
String String String String String: json or xml | Get and return space's names that match the input string for suggest. |
Example:
http://localhost:8080/rest-socialdemo/social/spaces/mySpaces/show.xml