java.lang.Object
com.atlassian.confluence.plugins.graphql.resource.GraphResource

public class GraphResource extends Object
REST API for GraphQL.
Since:
6.12.0
  • Constructor Details

    • GraphResource

      @Inject public GraphResource(ConfluenceGraphQLRestEndpoint endpoint, @Qualifier("darkFeatureManager") com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager, SettingsService settingsService)
  • Method Details

    • 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
    • getGraphiqlApp

      public javax.ws.rs.core.Response getGraphiqlApp() throws Exception
      Throws:
      Exception
    • getSchema

      public javax.ws.rs.core.Response getSchema()
    • getSchema

      public javax.ws.rs.core.Response getSchema(String field)
    • getSchema

      public javax.ws.rs.core.Response getSchema(String field1, String field2)