ContributionsMost RecentMost LikesSolutionsRe: RESTAPI Authentication for posting a reply vbandi could you confirm you're using HTTP POST ? Also, can you check the user's permissions to see whether he/she has rights to perform REST call to modfiy entities? Re: RESTAPI Authentication for posting a reply Hi vbandi, once you get the session token you should pass it to your reply call: http://testcompany.lithium.com/test/restapi/vc/messages/id/54/reply?message.body='for testing'&message.subject='testing'&restapi.session_key=[SESSION KEY TOKEN] Nico Re: Sort the posts by the number of views to that topic Hi vishwajeet_hol altough VarunGrazitti solution technically works I woul heartly refrain from using it. What you are doing with that approach is to query for a (potentially big) set of data and ordering them in memory using the application server resources. Imagine that code executed by 1000 people simultaneously.. and you're community is likely to start suffering. I would personally use REST API v2 if you could: SELECT * FROM messages WHERE depth=0 AND board.id="<ID>" order by metrics.views DESC Thanks, Nico Re: Lithium SDK - Windows bowenli I believe any version of Linux running NodeJS+ Bower + Gulp would work. Re: [SDK] Lithium-Klout SDK : error while uploading plugin mahesh_revanwar judging by the error it seems to be a connectivity issue What happens if you try with li submit-plugin --dryrun ? Nico Re: [SDK] Lithium-Klout SDK : error while uploading plugin Hi mahesh_revanwar, I'm glad you started working with Lithium-Klout SDK Regarding your issue: - Did you generate an SDK token and pasted the token in the server.conf.json file? - Can you doulbe check the serverUrl setting in server.conf.json matches your community URL? Thanks, Nico Re: What is restadmin? Hi perk Try with this: http://community.lithium.com/restapi/vc/users/self/settings Nico Re: This widget could not be displayed - Variable Hi, can you try and replace this <#assign boards = env.context.component.getParameter( 'boards' ) /> with this <#assign boards = env.context.component.getParameter( 'boards' )!("") /> <#if !(boards?? && boards?has_content)> <#assign boards = restadmin( '/categories/id/' + category.id + '/boards/style/forum/nested' ).boards /> </#if> and see whether it fixes the issue? Thanks, Nico Re: Endpoint and POST Request nathan to answer your question, you can user http.client only on whitelisted domains. However Lithium is one domain which is not supported therefore you cannot use http.client to invoke anything in Lithium. Nico Re: url decode function Hi, just so you know the decoding function is in our product backlog and it should hopefully be added to the list of context object functions soon! Thanks, Nico