post
Create build
Endpoint
posthttps://<REGION>.cloud.appwrite.io...nts/{deploymentId}/builds/{buildId}
Description
Create a new build for an Appwrite Function deployment. This endpoint can be used to retry a failed build.
Required scopes
functions.write
Authentication
Initialize the Appwrite client with
setProject() and a server API key (setKey()). For direct REST calls, send X-Appwrite-Project and X-Appwrite-Key.Path
string
Required
Function ID.
string
Required
Deployment ID.
string
Required
Build unique ID.
Status
Content type
204
-
Dart
import 'package:dart_appwrite/dart_appwrite.dart';
Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
Functions functions = Functions(client);
result = await functions.createBuild( functionId: '<FUNCTION_ID>', deploymentId: '<DEPLOYMENT_ID>', buildId: '<BUILD_ID>', // (optional));Functions
post
Create build
Endpoint
posthttps://<REGION>.cloud.appwrite.io...nts/{deploymentId}/builds/{buildId}
Description
Create a new build for an Appwrite Function deployment. This endpoint can be used to retry a failed build.
Required scopes
functions.write
Authentication
Initialize the Appwrite client with
setProject() and a server API key (setKey()). For direct REST calls, send X-Appwrite-Project and X-Appwrite-Key.Path
string
Required
Function ID.
string
Required
Deployment ID.
string
Required
Build unique ID.
Status
Content type
204
-
Dart
import 'package:dart_appwrite/dart_appwrite.dart';
Client client = Client() .setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint .setProject('<YOUR_PROJECT_ID>') // Your project ID .setKey('<YOUR_API_KEY>'); // Your secret API key
Functions functions = Functions(client);
result = await functions.createBuild( functionId: '<FUNCTION_ID>', deploymentId: '<DEPLOYMENT_ID>', buildId: '<BUILD_ID>', // (optional));