Changes for page REST API

Last modified by Thomas Mortagne on 2024/03/12

<
From version < 54.1 >
edited by Thomas Mortagne
on 2015/11/02
To version < 53.1 >
edited by Thomas Mortagne
on 2015/10/27
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -250,14 +250,14 @@
250 250  ** **Status codes:**
251 251  *** 200: If the request was successful.
252 252  
253 -=== /wikis/query?q~={query}&wikis~=wikiList[&distinct~={true,false}][&order~={asc,desc}][&start~=n][&number~=n][&prettyNames~={true,false}] ===
253 +=== /wikis/query?q~={query}&wikis~=wikiList[&distinct~={true,false}][&order~={asc,desc}][&start~=n][&number~=n][&prettyNames~={true,false}][&className~=className] ===
254 254  
255 255  * **HTTP Method:** GET
256 256  ** **Media types:**
257 257  *** application/xml (SearchResults element)
258 258  ** **Description:** Search resources (pages and attachments):
259 -*** [since 6.4] using a SOLR query (handled by the [[SOLR Query module>>extensions:Extension.Solr Search Query API]]) on the wikis that are specified as a comma separated list in the //wikis// parameter.
260 -*** [before 6.4] using a Lucene query (handled by the [[Lucene Plugin>>extensions:Extension.Lucene Plugin]]) on the wikis that are specified as a comma separated list in the //wikis// parameter.
259 +*** [since 6.4] using a SOLR query (handled by the [[SOLR Query module>>extensions:Extension.Solr Search Query API]]) on the wikis that are specified as a comma separated list in the //wikis// parameter. If //className// is specified, the result will also contain the data for the first object of the corresponding class.
260 +*** [before 6.4] using a Lucene query (handled by the [[Lucene Plugin>>extensions:Extension.Lucene Plugin]]) on the wikis that are specified as a comma separated list in the //wikis// parameter. If //className// is specified, the result will also contain the data for the first object of the corresponding class.
261 261  ** **Status codes:**
262 262  *** 200: If the request was successful.
263 263  
... ... @@ -1072,3 +1072,4 @@
1072 1072  {{code}}
1073 1073  http://<server>/xwiki/rest/wikis/query?q=object:XWiki.XWikiUsers
1074 1074  {{/code}}
1075 +

Get Connected