GET {portalName}/social/spaces/lastVisitedSpace/list.{format}

Provides a way to get the latest spaces ordered by last access and to be able to filter spaces, based on the application Id in the spaces.



Level API: Platform

Requires Authentication: true


  • Required (path parameters):

Parameter Description
portalName The portal container name.
format The format of the returned result, for example, JSON, or XML.
  • Optional (query parameters):

Parameter Description
appId The application Id which is contained in spaces to filter, such as, Wiki, Discussion, Documents, Agenda and more.
offset Specifies the staring point of the returned results. It must be greater than or equal to 0.
limit Specifies the ending point of the returned results. It must be less than or equal to 10.

Request example:

GET: {@code http://localhost:8080/rest/private/social/spaces/lastVisitedSpace/list.json?appId=Wiki&offset=0&limit=10}


        {"groupId":"/spaces/space_2","spaceUrl":null,"name":"space_2","displayName":"space 2","url":"space_2"},
        {"groupId":"/spaces/space_1","spaceUrl":null,"name":"space_1","displayName":"space 1","url":"space_1"}
Copyright ©2018. All rights reserved. eXo Platform SAS
blog comments powered byDisqus