mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
506 B
506 B
import Appwrite import AppwriteEnums
let client = Client() .setEndpoint("https://.cloud.appwrite.io/v1") // Your API Endpoint .setProject("<YOUR_PROJECT_ID>") // Your project ID
let functions = Functions(client)
let execution = try await functions.createExecution( functionId: "<FUNCTION_ID>", body: "", // optional async: false, // optional path: "", // optional method: .gET, // optional headers: [:], // optional scheduledAt: "" // optional )