From d9d2ec7443b668ce099513d1024ecd5c7965fc3f Mon Sep 17 00:00:00 2001 From: Eric Poirier <eric.poirier@eclipse-foundation.org> Date: Thu, 22 Feb 2018 14:20:29 -0500 Subject: [PATCH] Add retrieve for forums users and update forums results Signed-off-by: Eric Poirier <eric.poirier@eclipse-foundation.org> --- docs/auth.html | 2 +- docs/index.html | 2 +- docs/proposals.html | 208 +++++++++++++++++++++++++--------------- src/modules/forums.apib | 50 ++++++++-- 4 files changed, 173 insertions(+), 89 deletions(-) diff --git a/docs/auth.html b/docs/auth.html index 21f5868..125fec4 100644 --- a/docs/auth.html +++ b/docs/auth.html @@ -176,7 +176,7 @@ are used.</p> </span>}</code></pre><div style="height: 1px;"></div></div></div></div></div></section></div></div></div><p style="text-align: center;" class="text-muted"> Copyright © 2018 -The Eclipse Foundation. All Rights Reserved.</p><p style="text-align: center;" class="text-muted hide">Generated by <a href="https://github.com/danielgtaylor/aglio" class="aglio">aglio</a> on 21 Feb 2018</p><script>/* eslint-env browser */ +The Eclipse Foundation. All Rights Reserved.</p><p style="text-align: center;" class="text-muted hide">Generated by <a href="https://github.com/danielgtaylor/aglio" class="aglio">aglio</a> on 26 Feb 2018</p><script>/* eslint-env browser */ /* eslint quotes: [2, "single"] */ 'use strict'; diff --git a/docs/index.html b/docs/index.html index dc951fa..a58df43 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2194,7 +2194,7 @@ Think of it like an app store for Eclipse solutions.</p> </span>}</code></pre><div style="height: 1px;"></div></div></div><div class="title"><strong>Response <code>204</code></strong></div></div></div></section></div></div></div><p style="text-align: center;" class="text-muted"> Copyright © 2018 -The Eclipse Foundation. All Rights Reserved.</p><p style="text-align: center;" class="text-muted hide">Generated by <a href="https://github.com/danielgtaylor/aglio" class="aglio">aglio</a> on 21 Feb 2018</p><script>/* eslint-env browser */ +The Eclipse Foundation. All Rights Reserved.</p><p style="text-align: center;" class="text-muted hide">Generated by <a href="https://github.com/danielgtaylor/aglio" class="aglio">aglio</a> on 26 Feb 2018</p><script>/* eslint-env browser */ /* eslint quotes: [2, "single"] */ 'use strict'; diff --git a/docs/proposals.html b/docs/proposals.html index 460e40e..ff5c7c8 100644 --- a/docs/proposals.html +++ b/docs/proposals.html @@ -86,7 +86,7 @@ </div> </div> </div> -</header><a href="#top" class="text-muted back-to-top"><i class="fa fa-toggle-up"></i> Back to top</a><div class="container-fluid container-content"><div class="row"><nav><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#forums">Forums</a></div><div class="collapse-content"><ul><li><a href="#forums-fetch-categories-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Fetch Categories</a></li><li><a href="#forums-retrieve-category-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve Category</a></li><li><a href="#forums-fetch-forums-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Fetch Forums</a></li><li><a href="#forums-retrieve-forum-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve Forum</a></li><li><a href="#forums-fetch-topics-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Fetch Topics</a></li><li><a href="#forums-retrieve-topic-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve Topic</a></li><li><a href="#forums-fetch-posts-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Fetch Posts</a></li><li><a href="#forums-retrieve-post-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve Post</a></li></ul></div></div><p style="text-align: center; word-wrap: break-word;"><a href="https://api.eclipse.org">https://api.eclipse.org</a></p></nav><div class="content"><header><h1 id="top">Eclipse RESTful API Proposals</h1></header><p>This page lists endpoint proposals for Eclipse API.</p> +</header><a href="#top" class="text-muted back-to-top"><i class="fa fa-toggle-up"></i> Back to top</a><div class="container-fluid container-content"><div class="row"><nav><div class="resource-group"><div class="heading"><div class="chevron"><i class="open fa fa-angle-down"></i></div><a href="#forums">Forums</a></div><div class="collapse-content"><ul><li><a href="#forums-fetch-categories-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Fetch Categories</a></li><li><a href="#forums-retrieve-category-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve Category</a></li><li><a href="#forums-fetch-forums-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Fetch Forums</a></li><li><a href="#forums-retrieve-forum-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve Forum</a></li><li><a href="#forums-fetch-topics-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Fetch Topics</a></li><li><a href="#forums-retrieve-topic-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve Topic</a></li><li><a href="#forums-fetch-posts-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Fetch Posts</a></li><li><a href="#forums-retrieve-post-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve Post</a></li><li><a href="#forums-retrieve-user-get"><span class="badge get"><i class="fa fa-arrow-down"></i></span>Retrieve User</a></li></ul></div></div><p style="text-align: center; word-wrap: break-word;"><a href="https://api.eclipse.org">https://api.eclipse.org</a></p></nav><div class="content"><header><h1 id="top">Eclipse RESTful API Proposals</h1></header><p>This page lists endpoint proposals for Eclipse API.</p> <p>Please note that these are not on production and ready to use.</p> <section id="forums" class="resource-group"><h2 class="group-heading">Forums <a href="#forums" class="permalink">¶</a></h2><p>Eclipse Forums are available through this resource.</p> <div id="forums-fetch-categories" class="resource"><h3 class="resource-heading">Fetch Categories <a href="#forums-fetch-categories" class="permalink"> ¶</a></h3><div id="forums-fetch-categories-get" class="action get"><h4 class="action-heading"><div class="name">Fetch Categories</div><a href="#forums-fetch-categories-get" class="method get">GET</a><code class="uri">/forums/category{?page,pagesize,order_by}</code></h4><h3 id="header-overview">Overview <a class="permalink" href="#header-overview" aria-hidden="true">¶</a></h3> @@ -126,18 +126,18 @@ </span>}</span>, "<span class="hljs-attribute">result</span>": <span class="hljs-value">[ { - "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"10"</span></span>, - "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"ice"</span></span>, - "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>, - "<span class="hljs-attribute">url</span>": <span class="hljs-value"><span class="hljs-string">"https://www.eclipse.org/forums/index.php/i/10/"</span></span>, - "<span class="hljs-attribute">forums_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/forum?category_id=10"</span> + "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"1"</span></span>, + "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"Eclipse Projects"</span></span>, + "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">" - Eclipse Project Forums - click +/- to expand/collapse"</span></span>, + "<span class="hljs-attribute">html_url</span>": <span class="hljs-value"><span class="hljs-string">"https://www.eclipse.org/forums/index.php/i/1/"</span></span>, + "<span class="hljs-attribute">forums_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/forum?category_id=1"</span> </span>}, { - "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"8"</span></span>, - "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"Archived"</span></span>, - "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">" - Forums for projects that have been officially archived."</span></span>, - "<span class="hljs-attribute">url</span>": <span class="hljs-value"><span class="hljs-string">"https://www.eclipse.org/forums/index.php/i/8/"</span></span>, - "<span class="hljs-attribute">forums_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/forum?category_id=8"</span> + "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"2"</span></span>, + "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"Newcomers"</span></span>, + "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">" - General Newcomer discussions"</span></span>, + "<span class="hljs-attribute">html_url</span>": <span class="hljs-value"><span class="hljs-string">"https://www.eclipse.org/forums/index.php/i/2/"</span></span>, + "<span class="hljs-attribute">forums_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/forum?category_id=2"</span> </span>} ] </span>}</code></pre><div style="height: 1px;"></div></div></div></div></div><div id="forums-retrieve-category" class="resource"><h3 class="resource-heading">Retrieve Category <a href="#forums-retrieve-category" class="permalink"> ¶</a></h3><div id="forums-retrieve-category-get" class="action get"><h4 class="action-heading"><div class="name">Retrieve Category</div><a href="#forums-retrieve-category-get" class="method get">GET</a><code class="uri">/forums/category/{category_id}</code></h4><h3 id="header-overview-1">Overview <a class="permalink" href="#header-overview-1" aria-hidden="true">¶</a></h3> @@ -165,11 +165,11 @@ </ul> <h4>Example URI</h4><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://api.eclipse.org</span>/forums/category/<span class="hljs-attribute" title="category_id">category_id</span></span></div><div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>category_id</dt><dd><code>integer</code> <span class="required">(required)</span> <p>Unique identifier for category</p> </dd></dl></div><div class="title"><strong>Response <code>200</code></strong><div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span><br><span class="hljs-attribute">X-Rate-Limit-Limit</span>: <span class="hljs-string">1000</span><br><span class="hljs-attribute">X-Rate-Limit-Remaining</span>: <span class="hljs-string">964</span><br><span class="hljs-attribute">X-Rate-Limit-Reset</span>: <span class="hljs-string">3553</span><br><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre><div style="height: 1px;"></div><h5>Body</h5><pre><code>{ - "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"10"</span></span>, - "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"ice"</span></span>, - "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">""</span></span>, - "<span class="hljs-attribute">url</span>": <span class="hljs-value"><span class="hljs-string">"https://www.eclipse.org/forums/index.php/i/10/"</span></span>, - "<span class="hljs-attribute">forums_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/forum?category_id=10"</span> + "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"1"</span></span>, + "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"Eclipse Projects"</span></span>, + "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">" - Eclipse Project Forums - click +/- to expand/collapse"</span></span>, + "<span class="hljs-attribute">html_url</span>": <span class="hljs-value"><span class="hljs-string">"https://www.eclipse.org/forums/index.php/i/1/"</span></span>, + "<span class="hljs-attribute">forums_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/forum?category_id=1"</span> </span>}</code></pre><div style="height: 1px;"></div></div></div></div></div><div id="forums-fetch-forums" class="resource"><h3 class="resource-heading">Fetch Forums <a href="#forums-fetch-forums" class="permalink"> ¶</a></h3><div id="forums-fetch-forums-get" class="action get"><h4 class="action-heading"><div class="name">Fetch Forums</div><a href="#forums-fetch-forums-get" class="method get">GET</a><code class="uri">/forums/forum{?category_id,page,pagesize,order_by,since,until}</code></h4><h3 id="header-overview-2">Overview <a class="permalink" href="#header-overview-2" aria-hidden="true">¶</a></h3> <p>Retrieve information for <strong>all the forums</strong> from the Eclipse Forums website.</p> <p>Optionally, you can retrieve information for all the forums associated to a specific category by using the category_id parameter. @@ -230,17 +230,17 @@ You can also retrieve forums that have been created between dates using the sinc </span>}</span>, "<span class="hljs-attribute">result</span>": <span class="hljs-value">[ { - "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"2"</span></span>, - "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"BIRT"</span></span>, - "<span class="hljs-attribute">category_id</span>": <span class="hljs-value"><span class="hljs-string">"1"</span></span>, - "<span class="hljs-attribute">url</span>": <span class="hljs-value"><span class="hljs-string">"https://www.eclipse.org/forums/index.php/f/2/"</span></span>, - "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Questions, technical discussions and resources on the Business Intelligence and Reporting Tools (BIRT) Project &#160; &lt;a class='smallLink' href='http://www.eclipse.org/birt/'&gt;[project home]&lt;/a&gt;"</span></span>, - "<span class="hljs-attribute">created_date</span>": <span class="hljs-value"><span class="hljs-string">"1248706783"</span></span>, - "<span class="hljs-attribute">topic_count</span>": <span class="hljs-value"><span class="hljs-string">"28740"</span></span>, - "<span class="hljs-attribute">post_count</span>": <span class="hljs-value"><span class="hljs-string">"93781"</span></span>, - "<span class="hljs-attribute">last_post_id</span>": <span class="hljs-value"><span class="hljs-string">"1780940"</span></span>, - "<span class="hljs-attribute">category_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/category/1"</span></span>, - "<span class="hljs-attribute">topics_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/topic?forum_id=2"</span> + "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"89"</span></span>, + "<span class="hljs-attribute">category_id</span>": <span class="hljs-value"><span class="hljs-string">"2"</span></span>, + "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Eclipse forum for newcomers"</span></span>, + "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"Newcomers"</span></span>, + "<span class="hljs-attribute">created_date</span>": <span class="hljs-value"><span class="hljs-string">"1248707078"</span></span>, + "<span class="hljs-attribute">topic_count</span>": <span class="hljs-value"><span class="hljs-string">"22344"</span></span>, + "<span class="hljs-attribute">post_count</span>": <span class="hljs-value"><span class="hljs-string">"62843"</span></span>, + "<span class="hljs-attribute">last_post_id</span>": <span class="hljs-value"><span class="hljs-string">"1780973"</span></span>, + "<span class="hljs-attribute">html_url</span>": <span class="hljs-value"><span class="hljs-string">"https://www.eclipse.org/forums/index.php/f/89/"</span></span>, + "<span class="hljs-attribute">topics_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/topic?forum_id=89"</span></span>, + "<span class="hljs-attribute">category_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/category/2"</span> </span>} ] </span>}</code></pre><div style="height: 1px;"></div></div></div></div></div><div id="forums-retrieve-forum" class="resource"><h3 class="resource-heading">Retrieve Forum <a href="#forums-retrieve-forum" class="permalink"> ¶</a></h3><div id="forums-retrieve-forum-get" class="action get"><h4 class="action-heading"><div class="name">Retrieve Forum</div><a href="#forums-retrieve-forum-get" class="method get">GET</a><code class="uri">/forums/forum/{forum_id}</code></h4><h3 id="header-overview-3">Overview <a class="permalink" href="#header-overview-3" aria-hidden="true">¶</a></h3> @@ -286,17 +286,17 @@ You can also retrieve forums that have been created between dates using the sinc </ul> <h4>Example URI</h4><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://api.eclipse.org</span>/forums/forum/<span class="hljs-attribute" title="forum_id">forum_id</span></span></div><div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>forum_id</dt><dd><code>integer</code> <span class="required">(required)</span> <p>Unique identifier for a forum</p> </dd></dl></div><div class="title"><strong>Response <code>200</code></strong><div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span><br><span class="hljs-attribute">X-Rate-Limit-Limit</span>: <span class="hljs-string">1000</span><br><span class="hljs-attribute">X-Rate-Limit-Remaining</span>: <span class="hljs-string">964</span><br><span class="hljs-attribute">X-Rate-Limit-Reset</span>: <span class="hljs-string">3553</span><br><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre><div style="height: 1px;"></div><h5>Body</h5><pre><code>{ - "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"2"</span></span>, - "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"BIRT"</span></span>, - "<span class="hljs-attribute">category_id</span>": <span class="hljs-value"><span class="hljs-string">"1"</span></span>, - "<span class="hljs-attribute">url</span>": <span class="hljs-value"><span class="hljs-string">"https://www.eclipse.org/forums/index.php/f/2/"</span></span>, - "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Questions, technical discussions and resources on the Business Intelligence and Reporting Tools (BIRT) Project &#160; &lt;a class='smallLink' href='http://www.eclipse.org/birt/'&gt;[project home]&lt;/a&gt;"</span></span>, - "<span class="hljs-attribute">created_date</span>": <span class="hljs-value"><span class="hljs-string">"1248706783"</span></span>, - "<span class="hljs-attribute">topic_count</span>": <span class="hljs-value"><span class="hljs-string">"28740"</span></span>, - "<span class="hljs-attribute">post_count</span>": <span class="hljs-value"><span class="hljs-string">"93781"</span></span>, - "<span class="hljs-attribute">last_post_id</span>": <span class="hljs-value"><span class="hljs-string">"1780940"</span></span>, - "<span class="hljs-attribute">category_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/category/1"</span></span>, - "<span class="hljs-attribute">topics_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/topic?forum_id=2"</span> + "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"89"</span></span>, + "<span class="hljs-attribute">category_id</span>": <span class="hljs-value"><span class="hljs-string">"2"</span></span>, + "<span class="hljs-attribute">description</span>": <span class="hljs-value"><span class="hljs-string">"Eclipse forum for newcomers"</span></span>, + "<span class="hljs-attribute">name</span>": <span class="hljs-value"><span class="hljs-string">"Newcomers"</span></span>, + "<span class="hljs-attribute">created_date</span>": <span class="hljs-value"><span class="hljs-string">"1248707078"</span></span>, + "<span class="hljs-attribute">topic_count</span>": <span class="hljs-value"><span class="hljs-string">"22344"</span></span>, + "<span class="hljs-attribute">post_count</span>": <span class="hljs-value"><span class="hljs-string">"62843"</span></span>, + "<span class="hljs-attribute">last_post_id</span>": <span class="hljs-value"><span class="hljs-string">"1780973"</span></span>, + "<span class="hljs-attribute">html_url</span>": <span class="hljs-value"><span class="hljs-string">"https://www.eclipse.org/forums/index.php/f/89/"</span></span>, + "<span class="hljs-attribute">topics_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/topic?forum_id=89"</span></span>, + "<span class="hljs-attribute">category_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/category/2"</span> </span>}</code></pre><div style="height: 1px;"></div></div></div></div></div><div id="forums-fetch-topics" class="resource"><h3 class="resource-heading">Fetch Topics <a href="#forums-fetch-topics" class="permalink"> ¶</a></h3><div id="forums-fetch-topics-get" class="action get"><h4 class="action-heading"><div class="name">Fetch Topics</div><a href="#forums-fetch-topics-get" class="method get">GET</a><code class="uri">/forums/topic{?forum_id,page,pagesize,order_by,since,until}</code></h4><h3 id="header-overview-4">Overview <a class="permalink" href="#header-overview-4" aria-hidden="true">¶</a></h3> <p>Retrieve information for <strong>all the topics</strong> from the Eclipse Forums website.</p> <p>Optionally, you can retrieve information for all the topics associated to a specific forum by using the forum_id parameter. @@ -354,16 +354,17 @@ You can also retrieve topics that have been created between dates using the sinc </span>}</span>, "<span class="hljs-attribute">result</span>": <span class="hljs-value">[ { - "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"2"</span></span>, - "<span class="hljs-attribute">forum_id</span>": <span class="hljs-value"><span class="hljs-string">"2"</span></span>, - "<span class="hljs-attribute">last_post_date</span>": <span class="hljs-value"><span class="hljs-string">"1489947260"</span></span>, - "<span class="hljs-attribute">root_post_id</span>": <span class="hljs-value"><span class="hljs-string">"2"</span></span>, - "<span class="hljs-attribute">replies</span>": <span class="hljs-value"><span class="hljs-string">"1"</span></span>, - "<span class="hljs-attribute">views</span>": <span class="hljs-value"><span class="hljs-string">"113121"</span></span>, - "<span class="hljs-attribute">url</span>": <span class="hljs-value"><span class="hljs-string">"https://www.eclipse.org/forums/index.php/t/2/"</span></span>, - "<span class="hljs-attribute">last_post_id</span>": <span class="hljs-value"><span class="hljs-string">"1757399"</span></span>, - "<span class="hljs-attribute">forum_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/forum/2"</span></span>, - "<span class="hljs-attribute">posts_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/post?topic_id=2"</span> + "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"1091418"</span></span>, + "<span class="hljs-attribute">forum_id</span>": <span class="hljs-value"><span class="hljs-string">"89"</span></span>, + "<span class="hljs-attribute">last_post_id</span>": <span class="hljs-value"><span class="hljs-string">"1780973"</span></span>, + "<span class="hljs-attribute">last_post_date</span>": <span class="hljs-value"><span class="hljs-string">"1517333817"</span></span>, + "<span class="hljs-attribute">root_post_id</span>": <span class="hljs-value"><span class="hljs-string">"1780971"</span></span>, + "<span class="hljs-attribute">replies</span>": <span class="hljs-value"><span class="hljs-string">"2"</span></span>, + "<span class="hljs-attribute">views</span>": <span class="hljs-value"><span class="hljs-string">"52"</span></span>, + "<span class="hljs-attribute">subject</span>": <span class="hljs-value"><span class="hljs-string">"keep the parameter value selected"</span></span>, + "<span class="hljs-attribute">html_url</span>": <span class="hljs-value"><span class="hljs-string">"https://www.eclipse.org/forums/index.php/t/1091418/"</span></span>, + "<span class="hljs-attribute">posts_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/post?topic_id=1091418"</span></span>, + "<span class="hljs-attribute">forum_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/forum/89"</span> </span>} ] </span>}</code></pre><div style="height: 1px;"></div></div></div></div></div><div id="forums-retrieve-topic" class="resource"><h3 class="resource-heading">Retrieve Topic <a href="#forums-retrieve-topic" class="permalink"> ¶</a></h3><div id="forums-retrieve-topic-get" class="action get"><h4 class="action-heading"><div class="name">Retrieve Topic</div><a href="#forums-retrieve-topic-get" class="method get">GET</a><code class="uri">/forums/topic/{topic_id}</code></h4><h3 id="header-overview-5">Overview <a class="permalink" href="#header-overview-5" aria-hidden="true">¶</a></h3> @@ -406,16 +407,17 @@ You can also retrieve topics that have been created between dates using the sinc </ul> <h4>Example URI</h4><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://api.eclipse.org</span>/forums/topic/<span class="hljs-attribute" title="topic_id">topic_id</span></span></div><div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>topic_id</dt><dd><code>integer</code> <span class="required">(required)</span> <p>Unique identifier for a topic</p> </dd></dl></div><div class="title"><strong>Response <code>200</code></strong><div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span><br><span class="hljs-attribute">X-Rate-Limit-Limit</span>: <span class="hljs-string">1000</span><br><span class="hljs-attribute">X-Rate-Limit-Remaining</span>: <span class="hljs-string">964</span><br><span class="hljs-attribute">X-Rate-Limit-Reset</span>: <span class="hljs-string">3553</span><br><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre><div style="height: 1px;"></div><h5>Body</h5><pre><code>{ - "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"2"</span></span>, - "<span class="hljs-attribute">forum_id</span>": <span class="hljs-value"><span class="hljs-string">"2"</span></span>, - "<span class="hljs-attribute">last_post_date</span>": <span class="hljs-value"><span class="hljs-string">"1489947260"</span></span>, - "<span class="hljs-attribute">root_msg_id</span>": <span class="hljs-value"><span class="hljs-string">"2"</span></span>, - "<span class="hljs-attribute">replies</span>": <span class="hljs-value"><span class="hljs-string">"1"</span></span>, - "<span class="hljs-attribute">views</span>": <span class="hljs-value"><span class="hljs-string">"113121"</span></span>, - "<span class="hljs-attribute">url</span>": <span class="hljs-value"><span class="hljs-string">"https://www.eclipse.org/forums/index.php/t/2/"</span></span>, - "<span class="hljs-attribute">last_post_id</span>": <span class="hljs-value"><span class="hljs-string">"1757399"</span></span>, - "<span class="hljs-attribute">forum_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/forum/2"</span></span>, - "<span class="hljs-attribute">posts_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/post?topic_id=2"</span> + "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"1091418"</span></span>, + "<span class="hljs-attribute">forum_id</span>": <span class="hljs-value"><span class="hljs-string">"89"</span></span>, + "<span class="hljs-attribute">last_post_id</span>": <span class="hljs-value"><span class="hljs-string">"1780973"</span></span>, + "<span class="hljs-attribute">last_post_date</span>": <span class="hljs-value"><span class="hljs-string">"1517333817"</span></span>, + "<span class="hljs-attribute">root_post_id</span>": <span class="hljs-value"><span class="hljs-string">"1780971"</span></span>, + "<span class="hljs-attribute">replies</span>": <span class="hljs-value"><span class="hljs-string">"2"</span></span>, + "<span class="hljs-attribute">views</span>": <span class="hljs-value"><span class="hljs-string">"52"</span></span>, + "<span class="hljs-attribute">subject</span>": <span class="hljs-value"><span class="hljs-string">"keep the parameter value selected"</span></span>, + "<span class="hljs-attribute">html_url</span>": <span class="hljs-value"><span class="hljs-string">"https://www.eclipse.org/forums/index.php/t/1091418/"</span></span>, + "<span class="hljs-attribute">posts_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/post?topic_id=1091418"</span></span>, + "<span class="hljs-attribute">forum_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/forum/89"</span> </span>}</code></pre><div style="height: 1px;"></div></div></div></div></div><div id="forums-fetch-posts" class="resource"><h3 class="resource-heading">Fetch Posts <a href="#forums-fetch-posts" class="permalink"> ¶</a></h3><div id="forums-fetch-posts-get" class="action get"><h4 class="action-heading"><div class="name">Fetch Posts</div><a href="#forums-fetch-posts-get" class="method get">GET</a><code class="uri">/forums/post{?topic_id,page,pagesize,order_by,since,until}</code></h4><h3 id="header-overview-6">Overview <a class="permalink" href="#header-overview-6" aria-hidden="true">¶</a></h3> <p>Retrieve information for <strong>all the posts</strong> from the Eclipse Forums website.</p> <p>Optionally, you can retrieve information for all the posts associated to a specific topic by using the topic_id parameter. @@ -473,16 +475,17 @@ You can also retrieve posts that have been created between dates using the since </span>}</span>, "<span class="hljs-attribute">result</span>": <span class="hljs-value">[ { - "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"1779792"</span></span>, - "<span class="hljs-attribute">subject</span>": <span class="hljs-value"><span class="hljs-string">"Subclipse problem"</span></span>, - "<span class="hljs-attribute">forum_id</span>": <span class="hljs-value"><span class="hljs-string">"123"</span></span>, - "<span class="hljs-attribute">topic_id</span>": <span class="hljs-value"><span class="hljs-string">"1091069"</span></span>, - "<span class="hljs-attribute">poster_id</span>": <span class="hljs-value"><span class="hljs-string">"106173"</span></span>, - "<span class="hljs-attribute">created_date</span>": <span class="hljs-value"><span class="hljs-string">"1515775710"</span></span>, - "<span class="hljs-attribute">url</span>": <span class="hljs-value"><span class="hljs-string">"https://www.eclipse.org/forums/index.php?t=msg&th=1091069&goto=1779792&#msg_1779792"</span></span>, - "<span class="hljs-attribute">body</span>": <span class="hljs-value"><span class="hljs-string">"Hi,&lt;br /&gt;&lt;br /&gt;I was wondering if there is a way to force to redraw the whole Eclipse window. If not, I think it would be beneficial to have one if it's possible to implement, because lately - especially since the GTK2 -&gt; GTK3 transition started - Eclipse became more and more buggy in this area (at least the Linux version).&lt;br /&gt;&lt;br /&gt;I know that it would be only a workaround, and if there's a specific bug then it should be hunted down and corrected instead, but the bug hunting approach of solving the screen update issues works only on the long run. On one hand, many times the bug is in an underlying external component (such as GTK, some font rendering library, Linux video driver), and it's hard to make them correct the bug - that is, if they admit it's a bug and the discussion does not end up in a pointless flamewar instead. On the other hand, even if a bug is corrected, sometimes the correction is only available in the next release of Eclipse/Linux/GTK/whatever, so you end up waiting years to get it in a stable, packaged way, or you have to use experimental stuff which might even need compilation from scratch, etc.&lt;br /&gt;&lt;br /&gt;So, I'd like to ask if anyone knows whether it is technically possible to implement a &quot;forced screen redraw&quot; feature in Eclipse in a general way, so that the notorious screen garbage problems could be mitigated?"</span></span>, - "<span class="hljs-attribute">topic_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/topic/1091069"</span></span>, - "<span class="hljs-attribute">topic_posts_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/post?topic_id=1091069"</span> + "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"1780973"</span></span>, + "<span class="hljs-attribute">subject</span>": <span class="hljs-value"><span class="hljs-string">"Re: keep the parameter value selected"</span></span>, + "<span class="hljs-attribute">topic_id</span>": <span class="hljs-value"><span class="hljs-string">"1091418"</span></span>, + "<span class="hljs-attribute">poster_id</span>": <span class="hljs-value"><span class="hljs-string">"219149"</span></span>, + "<span class="hljs-attribute">created_date</span>": <span class="hljs-value"><span class="hljs-string">"1517333817"</span></span>, + "<span class="hljs-attribute">forum_id</span>": <span class="hljs-value"><span class="hljs-string">"89"</span></span>, + "<span class="hljs-attribute">body</span>": <span class="hljs-value"><span class="hljs-string">"This is the body"</span></span>, + "<span class="hljs-attribute">html_url</span>": <span class="hljs-value"><span class="hljs-string">"https://www.eclipse.org/forums/index.php?t=msg&th=1091418&goto=1780973&#msg_1780973"</span></span>, + "<span class="hljs-attribute">topic_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/topic/1091418"</span></span>, + "<span class="hljs-attribute">forum_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/forum/89"</span></span>, + "<span class="hljs-attribute">user_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/user/219149"</span> </span>} ] </span>}</code></pre><div style="height: 1px;"></div></div></div></div></div><div id="forums-retrieve-post" class="resource"><h3 class="resource-heading">Retrieve Post <a href="#forums-retrieve-post" class="permalink"> ¶</a></h3><div id="forums-retrieve-post-get" class="action get"><h4 class="action-heading"><div class="name">Retrieve Post</div><a href="#forums-retrieve-post-get" class="method get">GET</a><code class="uri">/forums/post/{post_id}</code></h4><h3 id="header-overview-7">Overview <a class="permalink" href="#header-overview-7" aria-hidden="true">¶</a></h3> @@ -525,20 +528,67 @@ You can also retrieve posts that have been created between dates using the since </ul> <h4>Example URI</h4><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://api.eclipse.org</span>/forums/post/<span class="hljs-attribute" title="post_id">post_id</span></span></div><div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>post_id</dt><dd><code>integer</code> <span>(optional)</span> <p>Unique identifier for a post</p> </dd></dl></div><div class="title"><strong>Response <code>200</code></strong><div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span><br><span class="hljs-attribute">X-Rate-Limit-Limit</span>: <span class="hljs-string">1000</span><br><span class="hljs-attribute">X-Rate-Limit-Remaining</span>: <span class="hljs-string">964</span><br><span class="hljs-attribute">X-Rate-Limit-Reset</span>: <span class="hljs-string">3553</span><br><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre><div style="height: 1px;"></div><h5>Body</h5><pre><code>{ - "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"1779792"</span></span>, - "<span class="hljs-attribute">subject</span>": <span class="hljs-value"><span class="hljs-string">"Subclipse problem"</span></span>, - "<span class="hljs-attribute">forum_id</span>": <span class="hljs-value"><span class="hljs-string">"123"</span></span>, - "<span class="hljs-attribute">topic_id</span>": <span class="hljs-value"><span class="hljs-string">"1091069"</span></span>, - "<span class="hljs-attribute">poster_id</span>": <span class="hljs-value"><span class="hljs-string">"106173"</span></span>, - "<span class="hljs-attribute">created_date</span>": <span class="hljs-value"><span class="hljs-string">"1515775710"</span></span>, - "<span class="hljs-attribute">url</span>": <span class="hljs-value"><span class="hljs-string">"https://www.eclipse.org/forums/index.php?t=msg&th=1091069&goto=1779792&#msg_1779792"</span></span>, - "<span class="hljs-attribute">body</span>": <span class="hljs-value"><span class="hljs-string">"Hi,&lt;br /&gt;&lt;br /&gt;I was wondering if there is a way to force to redraw the whole Eclipse window. If not, I think it would be beneficial to have one if it's possible to implement, because lately - especially since the GTK2 -&gt; GTK3 transition started - Eclipse became more and more buggy in this area (at least the Linux version).&lt;br /&gt;&lt;br /&gt;I know that it would be only a workaround, and if there's a specific bug then it should be hunted down and corrected instead, but the bug hunting approach of solving the screen update issues works only on the long run. On one hand, many times the bug is in an underlying external component (such as GTK, some font rendering library, Linux video driver), and it's hard to make them correct the bug - that is, if they admit it's a bug and the discussion does not end up in a pointless flamewar instead. On the other hand, even if a bug is corrected, sometimes the correction is only available in the next release of Eclipse/Linux/GTK/whatever, so you end up waiting years to get it in a stable, packaged way, or you have to use experimental stuff which might even need compilation from scratch, etc.&lt;br /&gt;&lt;br /&gt;So, I'd like to ask if anyone knows whether it is technically possible to implement a &quot;forced screen redraw&quot; feature in Eclipse in a general way, so that the notorious screen garbage problems could be mitigated?"</span></span>, - "<span class="hljs-attribute">topic_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/topic/1091069"</span></span>, - "<span class="hljs-attribute">topic_posts_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/post?topic_id=1091069"</span> + "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"1780973"</span></span>, + "<span class="hljs-attribute">subject</span>": <span class="hljs-value"><span class="hljs-string">"Re: keep the parameter value selected"</span></span>, + "<span class="hljs-attribute">topic_id</span>": <span class="hljs-value"><span class="hljs-string">"1091418"</span></span>, + "<span class="hljs-attribute">poster_id</span>": <span class="hljs-value"><span class="hljs-string">"219149"</span></span>, + "<span class="hljs-attribute">created_date</span>": <span class="hljs-value"><span class="hljs-string">"1517333817"</span></span>, + "<span class="hljs-attribute">forum_id</span>": <span class="hljs-value"><span class="hljs-string">"89"</span></span>, + "<span class="hljs-attribute">body</span>": <span class="hljs-value"><span class="hljs-string">"This is the body"</span></span>, + "<span class="hljs-attribute">html_url</span>": <span class="hljs-value"><span class="hljs-string">"https://www.eclipse.org/forums/index.php?t=msg&th=1091418&goto=1780973&#msg_1780973"</span></span>, + "<span class="hljs-attribute">topic_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/topic/1091418"</span></span>, + "<span class="hljs-attribute">forum_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/forum/89"</span></span>, + "<span class="hljs-attribute">user_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/user/219149"</span> +</span>}</code></pre><div style="height: 1px;"></div></div></div></div></div><div id="forums-retrieve-user" class="resource"><h3 class="resource-heading">Retrieve User <a href="#forums-retrieve-user" class="permalink"> ¶</a></h3><div id="forums-retrieve-user-get" class="action get"><h4 class="action-heading"><div class="name">Retrieve User</div><a href="#forums-retrieve-user-get" class="method get">GET</a><code class="uri">/forums/user/{user_id}</code></h4><h3 id="header-overview-8">Overview <a class="permalink" href="#header-overview-8" aria-hidden="true">¶</a></h3> +<p>Retrieve information for <strong>a specific user</strong> from the Eclipse Forums website.</p> +<h3 id="header-what-is-a-user?">What is a user? <a class="permalink" href="#header-what-is-a-user?" aria-hidden="true">¶</a></h3> +<p>A user is the author of a post</p> +<h3 id="header-result-definition-8">Result definition <a class="permalink" href="#header-result-definition-8" aria-hidden="true">¶</a></h3> +<ul> +<li> +<p><strong>id:</strong> id of the user</p> +</li> +<li> +<p><strong>alias:</strong> alias of the user</p> +</li> +<li> +<p><strong>email:</strong> email of the user</p> +</li> +<li> +<p><strong>posted_msg_count:</strong> number of posts the user created</p> +</li> +<li> +<p><strong>join_date:</strong> timestamp of the date the user joined the Eclipse Forums</p> +</li> +<li> +<p><strong>last_visit:</strong> timestamp of the date the user last visited the Eclipse Forums website</p> +</li> +<li> +<p><strong>level_name:</strong> level of the user</p> +</li> +<li> +<p><strong>url:</strong> url of the user on the Eclipse Forums website</p> +</li> +<li> +<p><strong>account_url:</strong> url of the user’s account on <a href="http://accounts.eclipse.org">accounts.eclipse.org</a></p> +</li> +</ul> +<h4>Example URI</h4><div class="definition"><span class="method get">GET</span> <span class="uri"><span class="hostname">https://api.eclipse.org</span>/forums/user/<span class="hljs-attribute" title="user_id">user_id</span></span></div><div class="title"><strong>URI Parameters</strong><div class="collapse-button show"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><dl class="inner"><dt>user_id</dt><dd><code>integer</code> <span>(optional)</span> <p>Unique identifier for a user</p> +</dd></dl></div><div class="title"><strong>Response <code>200</code></strong><div class="collapse-button"><span class="close">Hide</span><span class="open">Show</span></div></div><div class="collapse-content"><div class="inner"><h5>Headers</h5><pre><code><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span><br><span class="hljs-attribute">X-Rate-Limit-Limit</span>: <span class="hljs-string">1000</span><br><span class="hljs-attribute">X-Rate-Limit-Remaining</span>: <span class="hljs-string">964</span><br><span class="hljs-attribute">X-Rate-Limit-Reset</span>: <span class="hljs-string">3553</span><br><span class="hljs-attribute">Content-Type</span>: <span class="hljs-string">application/json</span></code></pre><div style="height: 1px;"></div><h5>Body</h5><pre><code>{ + "<span class="hljs-attribute">id</span>": <span class="hljs-value"><span class="hljs-string">"1"</span></span>, + "<span class="hljs-attribute">alias</span>": <span class="hljs-value"><span class="hljs-string">"Test user"</span></span>, + "<span class="hljs-attribute">email</span>": <span class="hljs-value"><span class="hljs-string">"test@user.org"</span></span>, + "<span class="hljs-attribute">post_count</span>": <span class="hljs-value"><span class="hljs-string">"4"</span></span>, + "<span class="hljs-attribute">join_date</span>": <span class="hljs-value"><span class="hljs-string">"1510351551"</span></span>, + "<span class="hljs-attribute">last_visit</span>": <span class="hljs-value"><span class="hljs-string">"1517333991"</span></span>, + "<span class="hljs-attribute">level_name</span>": <span class="hljs-value"><span class="hljs-string">"Junior Member"</span></span>, + "<span class="hljs-attribute">html_url</span>": <span class="hljs-value"><span class="hljs-string">"https://www.eclipse.org/forums/index.php?t=usrinfo&id=1"</span></span>, + "<span class="hljs-attribute">account_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/account/profile?mail=test@user.org"</span></span>, + "<span class="hljs-attribute">posts_url</span>": <span class="hljs-value"><span class="hljs-string">"https://api.eclipse.org/forums/post?user_id=1"</span> </span>}</code></pre><div style="height: 1px;"></div></div></div></div></div></section></div></div></div><p style="text-align: center;" class="text-muted"> Copyright © 2018 -The Eclipse Foundation. All Rights Reserved.</p><p style="text-align: center;" class="text-muted hide">Generated by <a href="https://github.com/danielgtaylor/aglio" class="aglio">aglio</a> on 21 Feb 2018</p><script>/* eslint-env browser */ +The Eclipse Foundation. All Rights Reserved.</p><p style="text-align: center;" class="text-muted hide">Generated by <a href="https://github.com/danielgtaylor/aglio" class="aglio">aglio</a> on 26 Feb 2018</p><script>/* eslint-env browser */ /* eslint quotes: [2, "single"] */ 'use strict'; diff --git a/src/modules/forums.apib b/src/modules/forums.apib index 1e79c1a..01ea0c3 100644 --- a/src/modules/forums.apib +++ b/src/modules/forums.apib @@ -37,7 +37,7 @@ Forums are associated to a category by category id. Content-Type: application/json + Body - {"pagination":{"page":1,"pagesize":2,"result_start":1,"result_end":2,"result_size":2,"total_result_size":9},"result":[{"id":"10","name":"ice","description":"","url":"https://www.eclipse.org/forums/index.php/i/10/","forums_url":"https://api.eclipse.org/forums/forum?category_id=10"},{"id":"8","name":"Archived","description":" - Forums for projects that have been officially archived.","url":"https://www.eclipse.org/forums/index.php/i/8/","forums_url":"https://api.eclipse.org/forums/forum?category_id=8"}]} + {"pagination":{"page":1,"pagesize":2,"result_start":1,"result_end":2,"result_size":2,"total_result_size":9},"result":[{"id": "1","name": "Eclipse Projects","description": " - Eclipse Project Forums - click +/- to expand/collapse","html_url": "https://www.eclipse.org/forums/index.php/i/1/","forums_url": "https://api.eclipse.org/forums/forum?category_id=1"},{"id": "2","name": "Newcomers","description": " - General Newcomer discussions","html_url": "https://www.eclipse.org/forums/index.php/i/2/","forums_url": "https://api.eclipse.org/forums/forum?category_id=2"}]} @@ -72,7 +72,7 @@ Forums are associated to a category by category id. Content-Type: application/json + Body - {"id":"10","name":"ice","description":"","url":"https://www.eclipse.org/forums/index.php/i/10/","forums_url":"https://api.eclipse.org/forums/forum?category_id=10"} + {"id": "1","name": "Eclipse Projects","description": " - Eclipse Project Forums - click +/- to expand/collapse","html_url": "https://www.eclipse.org/forums/index.php/i/1/","forums_url": "https://api.eclipse.org/forums/forum?category_id=1"} @@ -122,7 +122,7 @@ Topics are associated to a forum by forum id. Content-Type: application/json + Body - {"pagination":{"page":1,"pagesize":1,"result_start":1,"result_end":1,"result_size":1,"total_result_size":391},"result":[{"id":"2","name":"BIRT","category_id":"1","url":"https://www.eclipse.org/forums/index.php/f/2/","description":"Questions, technical discussions and resources on the Business Intelligence and Reporting Tools (BIRT) Project   <a class='smallLink' href='http://www.eclipse.org/birt/'>[project home]</a>","created_date":"1248706783","topic_count":"28740","post_count":"93781","last_post_id":"1780940","category_url":"https://api.eclipse.org/forums/category/1","topics_url":"https://api.eclipse.org/forums/topic?forum_id=2"}]} + {"pagination":{"page":1,"pagesize":1,"result_start":1,"result_end":1,"result_size":1,"total_result_size":391},"result":[{"id": "89","category_id": "2","description": "Eclipse forum for newcomers","name": "Newcomers","created_date": "1248707078","topic_count": "22344","post_count": "62843","last_post_id": "1780973","html_url": "https://www.eclipse.org/forums/index.php/f/89/","topics_url": "https://api.eclipse.org/forums/topic?forum_id=89","category_url": "https://api.eclipse.org/forums/category/2"}]} @@ -163,7 +163,7 @@ Topics are associated to a forum by forum id. Content-Type: application/json + Body - {"id":"2","name":"BIRT","category_id":"1","url":"https://www.eclipse.org/forums/index.php/f/2/","description":"Questions, technical discussions and resources on the Business Intelligence and Reporting Tools (BIRT) Project   <a class='smallLink' href='http://www.eclipse.org/birt/'>[project home]</a>","created_date":"1248706783","topic_count":"28740","post_count":"93781","last_post_id":"1780940","category_url":"https://api.eclipse.org/forums/category/1","topics_url":"https://api.eclipse.org/forums/topic?forum_id=2"} + {"id": "89","category_id": "2","description": "Eclipse forum for newcomers","name": "Newcomers","created_date": "1248707078","topic_count": "22344","post_count": "62843","last_post_id": "1780973","html_url": "https://www.eclipse.org/forums/index.php/f/89/","topics_url": "https://api.eclipse.org/forums/topic?forum_id=89","category_url": "https://api.eclipse.org/forums/category/2"} @@ -212,7 +212,7 @@ Posts are associated to a topic by topic id. Content-Type: application/json + Body - {"pagination":{"page":1,"pagesize":1,"result_start":1,"result_end":1,"result_size":1,"total_result_size":892958},"result":[{"id":"2","forum_id":"2","last_post_date":"1489947260","root_post_id":"2","replies":"1","views":"113121","url":"https://www.eclipse.org/forums/index.php/t/2/","last_post_id":"1757399","forum_url":"https://api.eclipse.org/forums/forum/2","posts_url":"https://api.eclipse.org/forums/post?topic_id=2"}]} + {"pagination":{"page":1,"pagesize":1,"result_start":1,"result_end":1,"result_size":1,"total_result_size":892958},"result":[{"id": "1091418","forum_id": "89","last_post_id": "1780973","last_post_date": "1517333817","root_post_id": "1780971","replies": "2","views": "52","subject": "keep the parameter value selected","html_url": "https://www.eclipse.org/forums/index.php/t/1091418/","posts_url": "https://api.eclipse.org/forums/post?topic_id=1091418","forum_url": "https://api.eclipse.org/forums/forum/89"}]} @@ -252,7 +252,7 @@ Posts are associated to a topic by topic id. Content-Type: application/json + Body - {"id":"2","forum_id":"2","last_post_date":"1489947260","root_msg_id":"2","replies":"1","views":"113121","url":"https://www.eclipse.org/forums/index.php/t/2/","last_post_id":"1757399","forum_url":"https://api.eclipse.org/forums/forum/2","posts_url":"https://api.eclipse.org/forums/post?topic_id=2"} + {"id": "1091418","forum_id": "89","last_post_id": "1780973","last_post_date": "1517333817","root_post_id": "1780971","replies": "2","views": "52","subject": "keep the parameter value selected","html_url": "https://www.eclipse.org/forums/index.php/t/1091418/","posts_url": "https://api.eclipse.org/forums/post?topic_id=1091418","forum_url": "https://api.eclipse.org/forums/forum/89"} @@ -301,7 +301,7 @@ Posts are associated to a topic by topic id. Content-Type: application/json + Body - {"pagination":{"page":1,"pagesize":1,"result_start":1,"result_end":1,"result_size":1,"total_result_size":1645105},"result":[{"id":"1779792","subject":"Subclipse problem","forum_id":"123","topic_id":"1091069","poster_id":"106173","created_date":"1515775710","url":"https://www.eclipse.org/forums/index.php?t=msg&th=1091069&goto=1779792&#msg_1779792","body":"Hi,<br /><br />I was wondering if there is a way to force to redraw the whole Eclipse window. If not, I think it would be beneficial to have one if it's possible to implement, because lately - especially since the GTK2 -> GTK3 transition started - Eclipse became more and more buggy in this area (at least the Linux version).<br /><br />I know that it would be only a workaround, and if there's a specific bug then it should be hunted down and corrected instead, but the bug hunting approach of solving the screen update issues works only on the long run. On one hand, many times the bug is in an underlying external component (such as GTK, some font rendering library, Linux video driver), and it's hard to make them correct the bug - that is, if they admit it's a bug and the discussion does not end up in a pointless flamewar instead. On the other hand, even if a bug is corrected, sometimes the correction is only available in the next release of Eclipse/Linux/GTK/whatever, so you end up waiting years to get it in a stable, packaged way, or you have to use experimental stuff which might even need compilation from scratch, etc.<br /><br />So, I'd like to ask if anyone knows whether it is technically possible to implement a "forced screen redraw" feature in Eclipse in a general way, so that the notorious screen garbage problems could be mitigated?","topic_url":"https://api.eclipse.org/forums/topic/1091069","topic_posts_url":"https://api.eclipse.org/forums/post?topic_id=1091069"}]} + {"pagination":{"page":1,"pagesize":1,"result_start":1,"result_end":1,"result_size":1,"total_result_size":1645105},"result":[{"id": "1780973","subject": "Re: keep the parameter value selected","topic_id": "1091418","poster_id": "219149","created_date": "1517333817","forum_id": "89","body": "This is the body","html_url": "https://www.eclipse.org/forums/index.php?t=msg&th=1091418&goto=1780973&#msg_1780973","topic_url": "https://api.eclipse.org/forums/topic/1091418","forum_url": "https://api.eclipse.org/forums/forum/89","user_url": "https://api.eclipse.org/forums/user/219149"}]} @@ -341,7 +341,41 @@ Posts are associated to a topic by topic id. Content-Type: application/json + Body - {"id":"1779792","subject":"Subclipse problem","forum_id":"123","topic_id":"1091069","poster_id":"106173","created_date":"1515775710","url":"https://www.eclipse.org/forums/index.php?t=msg&th=1091069&goto=1779792&#msg_1779792","body":"Hi,<br /><br />I was wondering if there is a way to force to redraw the whole Eclipse window. If not, I think it would be beneficial to have one if it's possible to implement, because lately - especially since the GTK2 -> GTK3 transition started - Eclipse became more and more buggy in this area (at least the Linux version).<br /><br />I know that it would be only a workaround, and if there's a specific bug then it should be hunted down and corrected instead, but the bug hunting approach of solving the screen update issues works only on the long run. On one hand, many times the bug is in an underlying external component (such as GTK, some font rendering library, Linux video driver), and it's hard to make them correct the bug - that is, if they admit it's a bug and the discussion does not end up in a pointless flamewar instead. On the other hand, even if a bug is corrected, sometimes the correction is only available in the next release of Eclipse/Linux/GTK/whatever, so you end up waiting years to get it in a stable, packaged way, or you have to use experimental stuff which might even need compilation from scratch, etc.<br /><br />So, I'd like to ask if anyone knows whether it is technically possible to implement a "forced screen redraw" feature in Eclipse in a general way, so that the notorious screen garbage problems could be mitigated?","topic_url":"https://api.eclipse.org/forums/topic/1091069","topic_posts_url":"https://api.eclipse.org/forums/post?topic_id=1091069"} + {"id": "1780973","subject": "Re: keep the parameter value selected","topic_id": "1091418","poster_id": "219149","created_date": "1517333817","forum_id": "89","body": "This is the body","html_url": "https://www.eclipse.org/forums/index.php?t=msg&th=1091418&goto=1780973&#msg_1780973","topic_url": "https://api.eclipse.org/forums/topic/1091418","forum_url": "https://api.eclipse.org/forums/forum/89","user_url": "https://api.eclipse.org/forums/user/219149"} +## Retrieve User [GET /forums/user/{user_id}] + +### Overview + +Retrieve information for **a specific user** from the Eclipse Forums website. + +### What is a user? + +A user is the author of a post + +### Result definition + ++ **id:** id of the user ++ **alias:** alias of the user ++ **email:** email of the user ++ **posted_msg_count:** number of posts the user created ++ **join_date:** timestamp of the date the user joined the Eclipse Forums ++ **last_visit:** timestamp of the date the user last visited the Eclipse Forums website ++ **level_name:** level of the user ++ **url:** url of the user on the Eclipse Forums website ++ **account_url:** url of the user's account on accounts.eclipse.org + ++ Parameters + + user_id (integer, optional) - Unique identifier for a user + ++ Response 200 (application/json) + + Headers + X-Rate-Limit-Limit: 1000 + X-Rate-Limit-Remaining: 964 + X-Rate-Limit-Reset: 3553 + Content-Type: application/json + + + Body + {"id": "1","alias": "Test user","email": "test@user.org","post_count": "4","join_date": "1510351551","last_visit": "1517333991","level_name": "Junior Member","html_url": "https://www.eclipse.org/forums/index.php?t=usrinfo&id=1","account_url": "https://api.eclipse.org/account/profile?mail=test@user.org","posts_url": "https://api.eclipse.org/forums/post?user_id=1"} -- GitLab