Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-8800

Inline rest documentation of search queries is not correct

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.5
    • 4.5-rc-1
    • REST
    • None
    • Unknown
    • N/A
    • N/A

    Description

      When going on the rest wiki resource you get the following documentation:

      <searchResults xmlns="http://www.xwiki.org"
       template="http://localhost:7080/xwiki/rest/wikis/xwiki/query?q={query}
       (&type={xwql,hql,lucene})(&number={number})(&start={start})
       (&orderfield={fieldname}(&order={asc|desc}))(&distinct=1)
       (&prettynames={false|true})(&wikis={wikis})(&classname={classname})">
      

      But the "orderField", "prettyNames" and "className" fields are case sensitive, so the documentation is incorrect.

      Attachments

        Issue Links

          Activity

            People

              sdumitriu Sergiu Dumitriu
              ludovic Ludovic Dubost
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: