This method is deprecated.
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.CreateTaskV1Async(
new TaskCreateV1
{
SourceID = "search",
DestinationID = "destinationName",
Trigger = new TaskCreateTrigger(
new OnDemandTriggerInput { Type = Enum.Parse<OnDemandTriggerType>("OnDemand") }
),
Action = Enum.Parse<ActionType>("Replace"),
}
);
// >LOG
See the full API reference
For more details about input parameters
and response fields.