[xwiki-devs] Searching page by title in space through RESTfulAPI
Hi All, Is it possible to search(or get) a page in xwiki by its title through RESTfulAPI? I read in the forum that through RESTfulAPI we can only retrieve every page in a space and check whether page with given title exists. Or is it not the case? Any help would be really appreciated. Thanks, Manish -- View this message in context: http://xwiki.475771.n2.nabble.com/Searching-page-by-title-in-space-through-R... Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi Mansih, Form looking at AJAX requests in Firebug while entering a page name in the jump to page widget : http://localhost:8080/xwiki/rest/wikis/xwiki/search?scope=name&number=10&q=S... Jerome. On Fri, Jun 24, 2011 at 1:03 AM, xManish <[email protected]> wrote:
Hi All, Is it possible to search(or get) a page in xwiki by its title through RESTfulAPI? I read in the forum that through RESTfulAPI we can only retrieve every page in a space and check whether page with given title exists. Or is it not the case?
Any help would be really appreciated.
Thanks, Manish
-- View this message in context: http://xwiki.475771.n2.nabble.com/Searching-page-by-title-in-space-through-R... Sent from the XWiki- Dev mailing list archive at Nabble.com. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Hi Mansih, Yes. Check out the REST API documentation: http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI#HRootresou... /wikis/{wikiName}/search?q={keywords}[[&scope={name,content,title,objects}...]&number=n] Thanks, Eduard On Fri, Jun 24, 2011 at 2:00 PM, Jerome Velociter <[email protected]> wrote:
Hi Mansih,
Form looking at AJAX requests in Firebug while entering a page name in the jump to page widget :
http://localhost:8080/xwiki/rest/wikis/xwiki/search?scope=name&number=10&q=S...
Jerome.
On Fri, Jun 24, 2011 at 1:03 AM, xManish <[email protected]> wrote:
Hi All, Is it possible to search(or get) a page in xwiki by its title through RESTfulAPI? I read in the forum that through RESTfulAPI we can only retrieve every page in a space and check whether page with given title exists. Or is it not the case?
Any help would be really appreciated.
Thanks, Manish
-- View this message in context: http://xwiki.475771.n2.nabble.com/Searching-page-by-title-in-space-through-R... Sent from the XWiki- Dev mailing list archive at Nabble.com. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Thank you Eduard, It seems like search is possible only with the wild card entry of keyword. Is it not possible to search to exact match of keyword? Thanks, Manish -- View this message in context: http://xwiki.475771.n2.nabble.com/Searching-page-by-title-in-space-through-R... Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi Manish, The current API does not yet support exact matches. Please add an issue on the REST component's issue tracker at http://jira.xwiki.org/jira/browse/XWIKI/component/10821#atl_token=MMq7w7Iaev... Thanks, Eduard On Fri, Jun 24, 2011 at 11:32 PM, xManish <[email protected]> wrote:
Thank you Eduard, It seems like search is possible only with the wild card entry of keyword. Is it not possible to search to exact match of keyword?
Thanks, Manish
-- View this message in context: http://xwiki.475771.n2.nabble.com/Searching-page-by-title-in-space-through-R... Sent from the XWiki- Dev mailing list archive at Nabble.com. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
The issue has been created in jira. XWIKI-6748 Thanks Manish -- View this message in context: http://xwiki.475771.n2.nabble.com/Searching-page-by-title-in-space-through-R... Sent from the XWiki- Dev mailing list archive at Nabble.com.
participants (3)
-
Eduard Moraru -
Jerome Velociter -
xManish