/// <summary> /// Returns the list of following resources for the active user. /// <para>API Reference: http://www-10.lotus.com/ldd/lcwiki.nsf/xpAPIViewer.xsp?lookupName=IBM+Connections+5.0+API+Documentation#action=openDocument&res_title=Getting_the_My_Activities_feed_ic50&content=apicontent</para> /// </summary> ///// <param name="limit"></param> /// <returns></returns> public Activities GetMyActivities(IBM.Connections.Net.Api.Models.Request.Activities request) { string url = string.Format("/activities/service/atom2/activities"); //var requestData = new Dictionary<string, string>() //{ // {"limit", limit.ToString()} //}; return _apiService.Get<Activities>(url, request.ToDictionary()); }
/// <summary> /// Returns the list of following resources for the active user. /// <para>API Reference: http://www-10.lotus.com/ldd/lcwiki.nsf/xpAPIViewer.xsp?lookupName=IBM+Connections+5.0+API+Documentation#action=openDocument&res_title=Getting_the_My_Activities_feed_ic50&content=apicontent</para> /// </summary> ///// <param name="requestParameters"></param> /// <returns></returns> public FilesResult GetCommunityFiles(IBM.Connections.Net.Api.Models.Request.CommunityFiles requestParameters) { if(string.IsNullOrEmpty(requestParameters.CommunityId)) return null; string url = string.Format("/files/basic/api/communitycollection/{0}/feed",requestParameters.CommunityId); return _apiService.Get<FilesResult>(url, requestParameters.ToDictionary()); }
public ProfilesResult GetPeopleStatus(IBM.Connections.Net.Api.Models.Request.Status request) { string url = string.Format("/profiles/atom/mv/theboard/entries/related.do"); return _apiService.Get<ProfilesResult>(url, request.ToDictionary()); }
public ProfilesResult GetPeopleFollowing(IBM.Connections.Net.Api.Models.Request.ProfilesFollow request) { string url = string.Format("/profiles/follow/atom/resources"); return _apiService.Get<ProfilesResult>(url, request.ToDictionary()); }
public ProfilesResult GetCollegues(IBM.Connections.Net.Api.Models.Request.Profiles request) { string url = string.Format("/profiles/atom2/forms/viewallfriends.xml"); return _apiService.Get<ProfilesResult>(url, request.ToDictionary()); }
/// <summary> /// Returns the list of available communities for the active user. /// <para>API Reference: http://www-10.lotus.com/ldd/lcwiki.nsf/xpAPIViewer.xsp?lookupName=IBM+Connections+5.0+API+Documentation#action=openDocument&res_title=Getting_the_My_Communities_feed_ic50&content=apicontent /// </summary> ///// <param name="limit"></param> /// <returns></returns> public CommunitiesResult GetMyCommunities(IBM.Connections.Net.Api.Models.Request.Communities request) { string url = string.Format("/communities/service/atom/communities/my"); return _apiService.Get<CommunitiesResult>(url, request.ToDictionary()); }
/// <summary> /// Returns the list of following resources for the active user. /// <para>API Reference: http://www-10.lotus.com/ldd/lcwiki.nsf/xpAPIViewer.xsp?lookupName=IBM+Connections+5.0+API+Documentation#action=openDocument&res_title=Getting_the_My_Activities_feed_ic50&content=apicontent</para> /// </summary> ///// <param name="limit"></param> /// <returns></returns> public FilesResult GetPinnedFiles(IBM.Connections.Net.Api.Models.Request.Files requestParameters) { string url = string.Format("/files/basic/api/myfavorites/documents/feed"); return _apiService.Get<FilesResult>(url, requestParameters.ToDictionary()); }
/// <summary> /// Returns the list of following resources for the active user. /// <para>API Reference: http://www-10.lotus.com/ldd/lcwiki.nsf/xpAPIViewer.xsp?lookupName=IBM+Connections+5.0+API+Documentation#action=openDocument&res_title=Getting_the_My_Activities_feed_ic50&content=apicontent</para> /// </summary> ///// <param name="requestParameters"></param> /// <returns></returns> public FilesResult GetMyFiles(IBM.Connections.Net.Api.Models.Request.Files requestParameters) { string url = string.Format("/files/basic/api/myuserlibrary/feed"); return _apiService.Get<FilesResult>(url, requestParameters.ToDictionary()); }
/// <summary> /// Returns the list of shared resources from or to the active user. /// <para>API Reference:http://www-10.lotus.com/ldd/lcwiki.nsf/xpAPIViewer.xsp?lookupName=IBM+Connections+5.0+API+Documentation#action=openDocument&res_title=Getting_a_feed_of_file_shares_ic50&content=apicontent /// </summary> ///// <param name="requestParameters"></param> /// <returns></returns> public FilesResult GetFileShared(IBM.Connections.Net.Api.Models.Request.FilesShared requestParameters) { string url = string.Format("/files/basic/api/documents/shared/feed"); return _apiService.Get<FilesResult>(url, requestParameters.ToDictionary()); }
public PostResult CreateFolder(IBM.Connections.Net.Api.Models.Request.CreateFolder requestParameters) { string url = string.Format("/files/basic/api/collections/feed"); return _apiService.Post<PostResult>(url, requestParameters.ToDictionary()); }
public ActivityStream SetMyStatus(IBM.Connections.Net.Api.Models.Request.UpdateStatus request) { string url = string.Format("/connections/opensocial/basic/rest/ublog/{0}/@all?format=atom", _apiService.config.GetUserID()); return _apiService.Post<ActivityStream>(url, request.ToDictionary()); }