com.atlassian.confluence.plugins.restapi.experimental.resources
Class ExperimentalContentResource

java.lang.Object
  extended by com.atlassian.confluence.plugins.restapi.experimental.resources.ExperimentalContentResource

@ExperimentalApi
public class ExperimentalContentResource
extends Object


Constructor Summary
ExperimentalContentResource(CQLSearchService searchService)
           
 
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
 

Constructor Detail

ExperimentalContentResource

public ExperimentalContentResource(CQLSearchService searchService)
Method Detail

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 content
cqlcontext - the context to execute a cql search in, this is the json serialized form of SearchContext
expand - a comma separated list of properties to expand on the content.
start - the start point of the collection to return
limit - the limit of the number of items to return, this may be restricted by fixed system limits
uriInfo - (injected) information about the request URI


Copyright © 2003–2015 Atlassian. All rights reserved.