<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to ClusterAPI</title><link>https://sourceforge.net/p/easyrec/wiki/ClusterAPI/</link><description>Recent changes to ClusterAPI</description><atom:link href="https://sourceforge.net/p/easyrec/wiki/ClusterAPI/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 22 Feb 2016 16:45:01 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/easyrec/wiki/ClusterAPI/feed" rel="self" type="application/rss+xml"/><item><title>ClusterAPI modified by Florian Kleedorfer</title><link>https://sourceforge.net/p/easyrec/wiki/ClusterAPI/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -33,6 +33,7 @@
 tenantid | required | tenant id to identify your website. (e.g. "EASYREC_DEMO")
 clusterid | required | The response will contain the items of the cluster with the required id used here. Note: the clusterid is the name of the cluster.
 numberOfResults | optional | parameter to determine the number of results returned. (e.g. 10)
+offset | optional | An optional 0-based index to specify with which item to start the result - useful for paging.
 strategy | optional; default: NEWEST | An optional parameter that allows you to specify a strategy based on which the items are selected from the given cluster. Valid values are RANDOM, NEWEST and BEST.RANDOM: returns random items that belong to the given cluster NEWEST: returns the items of a cluster sorted that the items added more recently are at the top of the list BEST: returns the items with the highest association to the given cluster at the top of the list (Note: currently only useful with plugin generated clusters; items added via the Admin GUI or CSV upload all have the same association to a cluster) The default strategy is NEWEST.
 usefallback | optional; default: false | Clusters can be organized in a hierarchical way in the Admin GUI to take the form of a tree. If this usefallback is set to *true*, easyrec tries to traverse the cluster hierarchy and adds items from sibling and parent clusters to the returned recommendation in case the given cluster only has less that *numberOfResults* matching items. 
 requesteditemtype | optional; default: ITEM | An optional item type that denotes the type of the item (e.g. IMAGE, VIDEO, BOOK, etc.). If not supplied the default value ITEM will be used.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Florian Kleedorfer</dc:creator><pubDate>Mon, 22 Feb 2016 16:45:01 -0000</pubDate><guid>https://sourceforge.neted98122faec89e602f15e04865f47c05cdd79d71</guid></item><item><title>ClusterAPI modified by Stephan Zavrel</title><link>https://sourceforge.net/p/easyrec/wiki/ClusterAPI/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -9,7 +9,7 @@
 &amp;gt; &lt;code&gt;{*yourServerURL*}/api/1.1/clusters?apikey=8ab9dc3ffcdac576d0f298043a60517a&amp;amp;tenantid=EASYREC_DEMO&lt;/code&gt;

 ### Parameters
-parameter | occurence | description
+parameter | occurrence | description
 ----------|-----------|------------
 apikey | required | The required API Key to access this service. (e.g. "8ab9dc3ffcdac576d0f298043a60517a") 
 tenantid | required | tenant id to identify your website. (e.g. "EASYREC_DEMO")
@@ -27,7 +27,7 @@
 &amp;gt; &lt;code&gt;{*yourServerURL*}/api/1.1/itemsofcluster?apikey=8ab9dc3ffcdac576d0f298043a60517a&amp;amp;tenantid=EASYREC_DEMO&amp;amp;clusterid=IST&lt;/code&gt;

 ### Parameters
-parameter | occurence | description
+parameter | occurrence | description
 ----------|-----------|------------
 apikey | required | The required API Key to access this service. (e.g. "8ab9dc3ffcdac576d0f298043a60517a") 
 tenantid | required | tenant id to identify your website. (e.g. "EASYREC_DEMO")
@@ -51,7 +51,7 @@
 &amp;gt; &lt;code&gt;{*yourServerURL*}&amp;gt;/api/1.1/createcluster?token=82d0267a068404cce422d459e0e2281c&amp;amp;tenantid=EASYREC_DEMO&amp;amp;clusterid=comedy&amp;amp;clusterdescription=comedy+movies&amp;amp;clusterparent=movies&lt;/code&gt;

 ### Parameters
-parameter | occurence | description
+parameter | occurrence | description
 ----------|-----------|------------
 token | required | The required security token to access this service. This token is only valid for the current session. **Note:** The token invalidates, if you sign out 
 tenantid | required | tenant id to identify your website. (e.g. "EASYREC_DEMO")
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stephan Zavrel</dc:creator><pubDate>Wed, 05 Aug 2015 13:58:00 -0000</pubDate><guid>https://sourceforge.neta759b6ca62c65b3759ab1e88ef3a017232253921</guid></item><item><title>ClusterAPI modified by Stephan Zavrel</title><link>https://sourceforge.net/p/easyrec/wiki/ClusterAPI/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -33,8 +33,7 @@
 tenantid | required | tenant id to identify your website. (e.g. "EASYREC_DEMO")
 clusterid | required | The response will contain the items of the cluster with the required id used here. Note: the clusterid is the name of the cluster.
 numberOfResults | optional | parameter to determine the number of results returned. (e.g. 10)
-strategy | optional; default: NEWEST | An optional parameter that allows you to specify a strategy based on which the items are selected from the given cluster. Valid values are RANDOM, NEWEST and BEST.
-RANDOM: returns random items that belong to the given cluster NEWEST: returns the items of a cluster sorted that the items added more recently are at the top of the list BEST: returns the items with the highest association to the given cluster at the top of the list (Note: currently only useful with plugin generated clusters; items added via the Admin GUI or CSV upload all have the same association to a cluster) The default strategy is NEWEST.
+strategy | optional; default: NEWEST | An optional parameter that allows you to specify a strategy based on which the items are selected from the given cluster. Valid values are RANDOM, NEWEST and BEST.RANDOM: returns random items that belong to the given cluster NEWEST: returns the items of a cluster sorted that the items added more recently are at the top of the list BEST: returns the items with the highest association to the given cluster at the top of the list (Note: currently only useful with plugin generated clusters; items added via the Admin GUI or CSV upload all have the same association to a cluster) The default strategy is NEWEST.
 usefallback | optional; default: false | Clusters can be organized in a hierarchical way in the Admin GUI to take the form of a tree. If this usefallback is set to *true*, easyrec tries to traverse the cluster hierarchy and adds items from sibling and parent clusters to the returned recommendation in case the given cluster only has less that *numberOfResults* matching items. 
 requesteditemtype | optional; default: ITEM | An optional item type that denotes the type of the item (e.g. IMAGE, VIDEO, BOOK, etc.). If not supplied the default value ITEM will be used.
 withProfile | optional; default: false | If this parameter is set to true the result contains an additional element 'profileData' with the item profile.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stephan Zavrel</dc:creator><pubDate>Wed, 05 Aug 2015 13:30:02 -0000</pubDate><guid>https://sourceforge.net01bc0f9ec447b2e3de77d781874b19d07a79d75c</guid></item><item><title>ClusterAPI modified by Stephan Zavrel</title><link>https://sourceforge.net/p/easyrec/wiki/ClusterAPI/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -21,7 +21,46 @@

 ## items of cluster
 This API will return all items of a given cluster. 
+### Sample call
+**HTTP GET**

+&amp;gt; &lt;code&gt;{*yourServerURL*}/api/1.1/itemsofcluster?apikey=8ab9dc3ffcdac576d0f298043a60517a&amp;amp;tenantid=EASYREC_DEMO&amp;amp;clusterid=IST&lt;/code&gt;
+
+### Parameters
+parameter | occurence | description
+----------|-----------|------------
+apikey | required | The required API Key to access this service. (e.g. "8ab9dc3ffcdac576d0f298043a60517a") 
+tenantid | required | tenant id to identify your website. (e.g. "EASYREC_DEMO")
+clusterid | required | The response will contain the items of the cluster with the required id used here. Note: the clusterid is the name of the cluster.
+numberOfResults | optional | parameter to determine the number of results returned. (e.g. 10)
+strategy | optional; default: NEWEST | An optional parameter that allows you to specify a strategy based on which the items are selected from the given cluster. Valid values are RANDOM, NEWEST and BEST.
+RANDOM: returns random items that belong to the given cluster NEWEST: returns the items of a cluster sorted that the items added more recently are at the top of the list BEST: returns the items with the highest association to the given cluster at the top of the list (Note: currently only useful with plugin generated clusters; items added via the Admin GUI or CSV upload all have the same association to a cluster) The default strategy is NEWEST.
+usefallback | optional; default: false | Clusters can be organized in a hierarchical way in the Admin GUI to take the form of a tree. If this usefallback is set to *true*, easyrec tries to traverse the cluster hierarchy and adds items from sibling and parent clusters to the returned recommendation in case the given cluster only has less that *numberOfResults* matching items. 
+requesteditemtype | optional; default: ITEM | An optional item type that denotes the type of the item (e.g. IMAGE, VIDEO, BOOK, etc.). If not supplied the default value ITEM will be used.
+withProfile | optional; default: false | If this parameter is set to true the result contains an additional element 'profileData' with the item profile.
+
+### Response
+
+### Error Codes

 ## create cluster
 With this API call you can create a new cluster.
+
+### Sample call
+**HTTP GET**
+
+&amp;gt; &lt;code&gt;{*yourServerURL*}&amp;gt;/api/1.1/createcluster?token=82d0267a068404cce422d459e0e2281c&amp;amp;tenantid=EASYREC_DEMO&amp;amp;clusterid=comedy&amp;amp;clusterdescription=comedy+movies&amp;amp;clusterparent=movies&lt;/code&gt;
+
+### Parameters
+parameter | occurence | description
+----------|-----------|------------
+token | required | The required security token to access this service. This token is only valid for the current session. **Note:** The token invalidates, if you sign out 
+tenantid | required | tenant id to identify your website. (e.g. "EASYREC_DEMO")
+clusterid | required | The cluster id to identify the cluster. **Note:** the clusterid is the name of the cluster.
+clusterdescription | optional | A short text which describes the cluster.
+clusterparent | optional | The cluster ID of the parent cluster. If this parameter is not provided the cluster will be added as child to the root cluster "CLUSTERS". 
+
+
+### Response
+
+### Error Codes
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stephan Zavrel</dc:creator><pubDate>Wed, 05 Aug 2015 13:29:11 -0000</pubDate><guid>https://sourceforge.net7357d29c083e05a3be8a04843cf013a5757a46b4</guid></item><item><title>ClusterAPI modified by Stephan Zavrel</title><link>https://sourceforge.net/p/easyrec/wiki/ClusterAPI/</link><description>&lt;div class="markdown_content"&gt;&lt;div class="toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#clusters"&gt;clusters&lt;/a&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#sample-call"&gt;Sample call&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#parameters"&gt;Parameters&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#response"&gt;Response&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#error-codes"&gt;Error Codes&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href="#items-of-cluster"&gt;items of cluster&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#create-cluster"&gt;create cluster&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;h2 id="clusters"&gt;clusters&lt;/h2&gt;
&lt;p&gt;This API call will return all cluster names of a given tenant. &lt;/p&gt;
&lt;h3 id="sample-call"&gt;Sample call&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;HTTP GET&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;code&gt;{&lt;em&gt;yourServerURL&lt;/em&gt;}/api/1.1/clusters?apikey=8ab9dc3ffcdac576d0f298043a60517a&amp;amp;tenantid=EASYREC_DEMO&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h3 id="parameters"&gt;Parameters&lt;/h3&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;parameter&lt;/th&gt;
&lt;th&gt;occurence&lt;/th&gt;
&lt;th&gt;description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;apikey&lt;/td&gt;
&lt;td&gt;required&lt;/td&gt;
&lt;td&gt;The required API Key to access this service. (e.g. "8ab9dc3ffcdac576d0f298043a60517a")&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;tenantid&lt;/td&gt;
&lt;td&gt;required&lt;/td&gt;
&lt;td&gt;tenant id to identify your website. (e.g. "EASYREC_DEMO")&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id="response"&gt;Response&lt;/h3&gt;
&lt;h3 id="error-codes"&gt;Error Codes&lt;/h3&gt;
&lt;h2 id="items-of-cluster"&gt;items of cluster&lt;/h2&gt;
&lt;p&gt;This API will return all items of a given cluster. &lt;/p&gt;
&lt;h2 id="create-cluster"&gt;create cluster&lt;/h2&gt;
&lt;p&gt;With this API call you can create a new cluster.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stephan Zavrel</dc:creator><pubDate>Wed, 05 Aug 2015 13:18:00 -0000</pubDate><guid>https://sourceforge.net2349035d6efd17a35bcd0d202268be2c4856d94a</guid></item></channel></rss>