@ExperimentalApi public class ExperimentalContentResource extends Object
| Constructor and Description |
|---|
ExperimentalContentResource(CQLSearchService searchService) |
| Modifier and Type | Method and Description |
|---|---|
PageResponse<Content> |
search(String cql,
String cqlcontext,
String expand,
int start,
int limit,
javax.ws.rs.core.UriInfo uriInfo)
Fetch a list of content using CQL
For example :
http://localhost:8080/confluence/rest/experimental/content/?cql=creator=currentUser()&cqlcontext={%22spaceKey%22:%22TST%22, %22contentId%22:%2255%22}
|
public ExperimentalContentResource(CQLSearchService searchService)
public PageResponse<Content> search(String cql, String cqlcontext, String expand, int start, int limit, @Context javax.ws.rs.core.UriInfo uriInfo)
http://localhost:8080/confluence/rest/experimental/content/?cql=creator=currentUser()&cqlcontext={%22spaceKey%22:%22TST%22, %22contentId%22:%2255%22}
cql - a cql query string to use to locate contentcqlcontext - the context to execute a cql search in, this is the json serialized form of SearchContextexpand - a comma separated list of properties to expand on the content.start - the start point of the collection to returnlimit - the limit of the number of items to return, this may be restricted by fixed system limitsuriInfo - (injected) information about the request URICopyright © 2003–2015 Atlassian. All rights reserved.