Files
appwrite/docs/examples/1.7.x/server-php/examples/functions/create-execution.md
2025-05-18 02:28:12 +12:00

603 B

<?php use Appwrite\Client; use Appwrite\Services\Functions; $client = (new Client()) ->setEndpoint('https://.cloud.appwrite.io/v1') // Your API Endpoint ->setProject('') // Your project ID ->setSession(''); // The user session to authenticate with $functions = new Functions($client); $result = $functions->createExecution( functionId: '', body: '', // optional async: false, // optional path: '', // optional method: ExecutionMethod::GET(), // optional headers: [], // optional scheduledAt: '' // optional );