Sign up to Algolia DevBit - winter edition: cool code, warm ideas
API clients
Creates a new task.
addObject
deleteIndex
editSettings
// 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.CreateTaskAsync( new TaskCreate { SourceID = "search", DestinationID = "destinationID", Action = Enum.Parse<ActionType>("Replace"), } ); // print the response Console.WriteLine(response);
Was this page helpful?