Skip to main content
Required ACL: addObject, deleteIndex, editSettings

Usage

// Initialize the client
var client = new IngestionClient(
  new IngestionConfig("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY", "ALGOLIA_APPLICATION_REGION")
);

// Call the API
var response = await client.TryTransformationBeforeUpdateAsync(
  "6c02aeb1-775e-418e-870b-1faccd4b2c0f",
  new TransformationTry
  {
    Type = Enum.Parse<TransformationType>("Code"),
    Input = new TransformationInput(new TransformationCode { Code = "foo" }),
    SampleRecord = new Dictionary<string, string> { { "bar", "baz" } },
  }
);
// >LOG

See the full API reference

For more details about input parameters and response fields.
I