aswani_kintali
10 years agoGuide
Floating Thread
I made a thread floating as mentioned in community
<@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>