Class GraphQlSchemaApi
java.lang.Object
org.wso2.am.integration.clients.publisher.api.v1.GraphQlSchemaApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetApiClient(ApiClient apiClient) voidupdateAPIGraphQLSchema(String apiId, String schemaDefinition, String ifMatch) Add a Schema to a GraphQL API This operation can be used to add a GraphQL Schema definition to an existing GraphQL API.okhttp3.CallupdateAPIGraphQLSchemaAsync(String apiId, String schemaDefinition, String ifMatch, ApiCallback<Void> _callback) Add a Schema to a GraphQL API (asynchronously) This operation can be used to add a GraphQL Schema definition to an existing GraphQL API.okhttp3.CallupdateAPIGraphQLSchemaCall(String apiId, String schemaDefinition, String ifMatch, ApiCallback _callback) Build call for updateAPIGraphQLSchemaupdateAPIGraphQLSchemaWithHttpInfo(String apiId, String schemaDefinition, String ifMatch) Add a Schema to a GraphQL API This operation can be used to add a GraphQL Schema definition to an existing GraphQL API.
-
Constructor Details
-
GraphQlSchemaApi
public GraphQlSchemaApi() -
GraphQlSchemaApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
updateAPIGraphQLSchemaCall
public okhttp3.Call updateAPIGraphQLSchemaCall(String apiId, String schemaDefinition, String ifMatch, ApiCallback _callback) throws ApiException Build call for updateAPIGraphQLSchema- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)schemaDefinition- schema definition of the GraphQL API (required)ifMatch- Validator for conditional requests; based on ETag. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
updateAPIGraphQLSchema
public void updateAPIGraphQLSchema(String apiId, String schemaDefinition, String ifMatch) throws ApiException Add a Schema to a GraphQL API This operation can be used to add a GraphQL Schema definition to an existing GraphQL API.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)schemaDefinition- schema definition of the GraphQL API (required)ifMatch- Validator for conditional requests; based on ETag. (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateAPIGraphQLSchemaWithHttpInfo
public ApiResponse<Void> updateAPIGraphQLSchemaWithHttpInfo(String apiId, String schemaDefinition, String ifMatch) throws ApiException Add a Schema to a GraphQL API This operation can be used to add a GraphQL Schema definition to an existing GraphQL API.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)schemaDefinition- schema definition of the GraphQL API (required)ifMatch- Validator for conditional requests; based on ETag. (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateAPIGraphQLSchemaAsync
public okhttp3.Call updateAPIGraphQLSchemaAsync(String apiId, String schemaDefinition, String ifMatch, ApiCallback<Void> _callback) throws ApiException Add a Schema to a GraphQL API (asynchronously) This operation can be used to add a GraphQL Schema definition to an existing GraphQL API.- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)schemaDefinition- schema definition of the GraphQL API (required)ifMatch- Validator for conditional requests; based on ETag. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-