Forum Discussion

aswani_kintali's avatar
10 years ago

Floating Thread

I made a thread floating  as mentioned in community

 

http://community.lithium.com/t5/Developers-Discussion/Bookmark-float-a-thread-using-REST-API/m-p/163607/highlight/true#M6475 

 

<@liaAddScript>
(function( $ ) {
$(document).ready(function(){
$.post("https://communityname.com/restapi/vc/threads/id/[num]/subscriptions/users/self/add",
{
'subscription.type':"float"
},
function(data){
console.log("Into Success for 13777");
});

});
})(LITHIUM.jQuery);
</@liaAddScript>

 

I am getting the success message in console, but when i am trying to retrieve the floated threads, using the below rest call

http://communityname.com/restapi/vc/boards/id/[board -name]/subscriptions/global/float/thread

I m not getting the above messagewhose subscription type is made as float in RESPONSE. Please find the response below which i am getting

 

<response status="success">
<subscriptions/>
</response>
No RepliesBe the first to reply