postProvisioningSearchWithHttpInfo method
Creates a search index inside the already-running shared search backend and answers with the endpoint that reaches it.
Creates a search index inside the already-running shared search backend and answers with the endpoint that reaches it.
Note: This method returns the HTTP Response.
Parameters:
- ProvisionRequest provisionRequest (required):
Implementation
Future<Response> postProvisioningSearchWithHttpInfo(ProvisionRequest provisionRequest,) async {
// ignore: prefer_const_declarations
final path = r'/v1/provisioning/search';
// ignore: prefer_final_locals
Object? postBody = provisionRequest;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}