Forum Discussion

skylinegtr's avatar
10 years ago

API not displaying to registered users

I have encountered an issue with my custom components. The API is not displaying for registered users. I've checked the permission and it's ok. Please help.

 

 

Components.png

<#assign messages = rest("/boards/id/configuration/topics/recent?page_size=5").messages />
<div class="recent-articles-container">
<#list messages.message as message>

<div class="recent-article-wrapper">
<div class="article-header">

<div class="article-subject"><a href="${message.@view_href}">${message.subject}</a></div>
<div class="article-posted-by">
<span class="author">Posted By <#if message.author.login != "" && message.author.login != "Anonymous"><@component id="common.widget.user-name" user="conv:${message.author.login}" /></#if></span>
</div>
</div>
<div class="article-teaser">
<#if message.teaser?length gt 0>
${message.teaser}
<span class="read-more"><a href="${message.@view_href}">Read More</a></span>
</#if>
</div>
</div>
</#list>
</div>
</div>
<#assign messages = rest("/boards/id/kb/topics/recent?page_size=5").messages />
<div class="recent-articles-container">
<#list messages.message as message>
<div class="recent-article-wrapper">
<div class="article-header">
<div class="article-subject"><a href="${message.@view_href}">${message.subject}</a></div>
<div class="article-posted-by">
<span class="author">Posted By <#if message.author.login != "" && message.author.login != "Anonymous"><@component id="common.widget.user-name" user="conv:${message.author.login}" /></#if></span>
</div>
</div>
<div class="article-teaser">
<#if message.teaser?length gt 0>
${message.teaser}
<span class="read-more"><a href="${message.@view_href}">Read More</a></span>
</#if>
</div>
</div>
</#list>
</div>
</div>