getSchemaCreationStatus method

Future<GetSchemaCreationStatusResponse> getSchemaCreationStatus({
  1. required String apiId,
})

Retrieves the current status of a schema creation operation.

May throw BadRequestException. May throw NotFoundException. May throw UnauthorizedException. May throw InternalFailureException.

Parameter apiId : The API ID.

Implementation

Future<GetSchemaCreationStatusResponse> getSchemaCreationStatus({
  required String apiId,
}) async {
  ArgumentError.checkNotNull(apiId, 'apiId');
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/v1/apis/${Uri.encodeComponent(apiId)}/schemacreation',
    exceptionFnMap: _exceptionFns,
  );
  return GetSchemaCreationStatusResponse.fromJson(response);
}