Sep 20, 2024
Create a transformation
Creates a new transformation.
Usage
Copy
1
2
3
4
5
6
7
8
9
10
import Ingestion
let client = try IngestionClient(appID: "ALGOLIA_APPLICATION_ID", apiKey: "ALGOLIA_API_KEY", region: .us)
let response = try await client.createTransformation(transformationCreate: TransformationCreate(
name: "bar",
type: TransformationType.code,
input: TransformationInput.transformationCode(TransformationCode(code: "foo")),
description: "baz"
))
Did you find this page helpful?