Class GraphResource
- java.lang.Object
-
- com.atlassian.confluence.plugins.graphql.resource.GraphResource
-
public class GraphResource extends Object
REST API for GraphQL.- Since:
- 6.12.0
-
-
Constructor Summary
Constructors Constructor Description GraphResource(ConfluenceGraphQLRestEndpoint endpoint, com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager, SettingsService settingsService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
getGraphiqlApp()
javax.ws.rs.core.Response
getSchema()
javax.ws.rs.core.Response
getSchema(String field)
javax.ws.rs.core.Response
getSchema(String field1, String field2)
javax.ws.rs.core.Response
query(String requestString, String query, javax.ws.rs.core.UriInfo uriInfo, javax.servlet.http.HttpServletRequest request)
-
-
-
Constructor Detail
-
GraphResource
public GraphResource(ConfluenceGraphQLRestEndpoint endpoint, @Qualifier("darkFeatureManager") com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager, SettingsService settingsService)
-
-
Method Detail
-
query
public javax.ws.rs.core.Response query(String requestString, String query, @Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.servlet.http.HttpServletRequest request) throws Exception
- Throws:
Exception
-
getSchema
public javax.ws.rs.core.Response getSchema()
-
getSchema
public javax.ws.rs.core.Response getSchema(String field)
-
-