Forum Discussion

vbandi's avatar
vbandi
Contributor
9 years ago

RESTAPI v2 Url

Hi,

 

We are currently using API V1 and we do a call to get category'Community-EN' as follows http:/mytestforum/restapi/vc/categories/id/Community-EN.

 

How can I make the same call in API v2

Does this work  http:/mytestforum/restapi/vc/search?q=select+*+from+categories+where+id+%3d+Community-EN ?

I have been through the documentation and the above call does not return anything.

 

I am looking for somehelp in dealing with REST API v2 without freemarker.

 

Thanks,

 

  • Hi There,

     

    To use API v2 for same you need to be doing something like this 

    http://mytestform.com/api/2.0/search?q=select%20*%20from%20categories%20where%20id=%27test%27

    Hope this helps,

     

    Regards,
    Chhama

  • ChhamaJ's avatar
    ChhamaJ
    Khoros Staff

    Hi There,

     

    To use API v2 for same you need to be doing something like this 

    http://mytestform.com/api/2.0/search?q=select%20*%20from%20categories%20where%20id=%27test%27

    Hope this helps,

     

    Regards,
    Chhama