niten
12 years agoGuide
rest API search call
Hi everyone,
My client has 2 different domain, and for some reason, the rest API search call doesn't work the same on thedevelopment domain and on the qualification domain
For example, in a component when using :
<#assign messages= rest("/search/messages?q=is_root:true&sort_by=-replies&page_size=5") />
It return the messages on the qualification domain :
http://forums-lithiumstage.sosh.fr/restapi/vc/search/messages?q=is_root:true&sort_by=-replies&page_size=5
But not on the dev one :
http://aipia58579.stage.lithium.com/restapi/vc/search/messages?q=is_root:true&sort_by=-replies&page_size=5
althoug there is messages on the second domain. Am I missing something ?
niten