com.atlassian.confluence.plugins.restapi.experimental.resources
Class ExperimentalContentResource
java.lang.Object
com.atlassian.confluence.plugins.restapi.experimental.resources.ExperimentalContentResource
@ExperimentalApi
public class ExperimentalContentResource
- extends Object
Method Summary |
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}
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExperimentalContentResource
public ExperimentalContentResource(CQLSearchService searchService)
search
public PageResponse<Content> search(String cql,
String cqlcontext,
String expand,
int start,
int limit,
@Context
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}
- Parameters:
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 URI
Copyright © 2003–2015 Atlassian. All rights reserved.