public class GraphQlSchemaApi extends Object
| Constructor and Description |
|---|
GraphQlSchemaApi() |
GraphQlSchemaApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
void |
updateAPIGraphQLSchema(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.Call |
updateAPIGraphQLSchemaAsync(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.Call |
updateAPIGraphQLSchemaCall(String apiId,
String schemaDefinition,
String ifMatch,
ApiCallback _callback)
Build call for updateAPIGraphQLSchema
|
ApiResponse<Void> |
updateAPIGraphQLSchemaWithHttpInfo(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.
|
public GraphQlSchemaApi()
public GraphQlSchemaApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call updateAPIGraphQLSchemaCall(String apiId, String schemaDefinition, String ifMatch, ApiCallback _callback) throws ApiException
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 progressApiException - If fail to serialize the request body objectpublic void updateAPIGraphQLSchema(String apiId, String schemaDefinition, String ifMatch) throws ApiException
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)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> updateAPIGraphQLSchemaWithHttpInfo(String apiId, String schemaDefinition, String ifMatch) throws ApiException
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)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call updateAPIGraphQLSchemaAsync(String apiId, String schemaDefinition, String ifMatch, ApiCallback<Void> _callback) throws ApiException
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 finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2021 WSO2 Inc. All rights reserved.